[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

GB2449538A - Calibrated electronic compass - Google Patents

Calibrated electronic compass Download PDF

Info

Publication number
GB2449538A
GB2449538A GB0808568A GB0808568A GB2449538A GB 2449538 A GB2449538 A GB 2449538A GB 0808568 A GB0808568 A GB 0808568A GB 0808568 A GB0808568 A GB 0808568A GB 2449538 A GB2449538 A GB 2449538A
Authority
GB
United Kingdom
Prior art keywords
data points
compass
measurement
centre point
circle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB0808568A
Other versions
GB0808568D0 (en
GB2449538B (en
Inventor
Mikko Martikka
Erik Lindman
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suunto Oy
Original Assignee
Suunto Oy
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suunto Oy filed Critical Suunto Oy
Publication of GB0808568D0 publication Critical patent/GB0808568D0/en
Publication of GB2449538A publication Critical patent/GB2449538A/en
Application granted granted Critical
Publication of GB2449538B publication Critical patent/GB2449538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/38Testing, calibrating, or compensating of compasses

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

A method for defining a compass direction by means of an electronic compass device. In the method at least two field components of an external magnetic field are measured, from which a set of data points is formed, which correspond to the different orientations of the device relative to the external magnetic field, so that the location of the data points in a set of co-ordinates depends on the Earth's magnetic field and the magnetic disturbances of the environment. From the data points it is determined whether the set of data points correspond to a measurement, in which the device has remained on the horizontal plane with a predefined accuracy, or the tilting of the device is detected relative to the horizontal plane during measurement and the set of data points is corrected to correspond to a measurement in which the device has remained on the horizontal plane with a predefined accuracy. If the set of data points corresponds to a measurement in which the device has remained on the horizontal plane with a predefined accuracy, or the said correction of the set of data points has been performed, a new compass direction is defined by using the disturbance correction made on the basis of the said set of data points.

Description

* 2449538 Compass Device and Method for a Compass Device The present
invention relates to devices comprising an electronic compass, which comprise electromagnetic sensor means for measuring at least two field components of an external magnetic field, and a processing unit, which is arranged to determine the compass direction on the basis of the measured field components, as well as a suitable method for such devices for determining a compass direction. In particular, the invention relates to wristop devices, but it is also well suited for use in fixed applications, such as in vehicles.
Electronic compasses are used to show the direction in, for example, cars and in wristop computers. In such compasses there are typically two magnetic-field sensors detecting magnetic-field components at right angles to each other. One such arrangement is disclosed in US publication 6817106.
The sensors are naturally sensitive not only to the Earth's magnetic field, but also to other external magnetic fields and fields induced by the device itself. Magnetizing substances in the vicinity of the device will also shape external magnetic fields, which can also cause deviation in the reading of the compass. Due to such interfering factors, the compass must be calibrated before the actual definition of direction, so that its reading will be accurate. The calibration is thus mainly intended to eliminate the effect of static disturbance factors, arising from the operating environment, on the definition of direction. In the actual direction definition, a problem is, on the other hand, measurement noise, which is mainly caused by the magnetic sensors being tilted away from the horizontal plane. The signal transmitted by them will then not correspond to the real compass direction, but instead a method will be required to take this noise into account. US publications 6356851 and 2002/0035791 describe the problem field relating to the calibration of compasses and some methods for performing the actual calibration in vehicle compasses.
The method disclosed in US publication 6356851 is based on searching for the minima and maxima of the sensor readings, the algorithm requiring the device to be moved in such a way that measurement data can be obtained from all the quarters of a circle corresponding to the different directions of the compass. In practice, such calibration is relatively slow and laborious to implement, so that it is not very suitable for use when trekking, for example, and for wristop devices. In order to work reliably, the method also requires a very pure signal.
The method disclosed in US publication 2002/0035791 is based on measuring three pairs of x, y points corresponding to the various orientations of the device and then solving the constants A, B, and C of the equation x2+y2+Ax+By+C = 0 on the basis of the measurements. One drawback of the method is that the said three pairs of points should be relatively far from each other (i.e. so that the triangle formed by them has essentially no obtuse angles), so that the device must be rotated to a relatively great extent in order to make a successful calibration. In addition, the method is mathematically quite ponderous, i.e. it consumes a great deal of power. For the aforementioned reasons, the response times also become unnecessary long.
The offset values of the magnetic sensors change through time, so that at some stage the original calibration will give erroneous directional readings. This is corrected by means of calibration made by the user. Even some wristop computers are known, in which the calibration is performed by the device first being set to the calibration state, then rotated 360 degrees in the hand. From the data collected during this rotation, the centre point of a magnetic circle is defined, which is used to calculate the compass direction on the basis of the new measurements, once the device is in the compass state. A problem with this method is that the calibration is slow and labourious while, if calibration is not performed sufficiently frequently, the directional readings given by the device may not be reliable.
An aim of the invention is to achieve a direction display method that is unnoticed by the user and is equipped with reliable automatic calibration, particularly for wristop computers, as well as a corresponding portable device.
The invention is also intended to create a device with low power consumption and a method for reliably defining a compass direclion in different operating conditions. ifl particular, the intention is to create a new wristop computer, boating computer, or vehicle computer, comprising a compass, which due to its intended use may be exposed to widely varying operating conditions.
The invention is also intended to create a compass device, the calibration of which will be reliable, if the available signal is strongly non-ideal, i.e. contains a great deal of noise, as well as a corresponding method. There is a need for this kind of application especially in wristop computers, in which primarily the spatially free' operating environment and also the minimization of the size and power consumption of the device set limits to the quantity and quality of the signal obtained from the magnetic sensors. The term spatially free' operating environment refers mainly to the fact that, when the wristop computer is used, deviations from the horizontal plane appear as measurement noise. Thus tilting the device during use will reduce the quality of the signal and thus hinder the calibration of the device and thus the successful definition of the compass direction. The noise produced by tilting is the main source of noise in wristop devices.
On the other hand, the invention is also intended to create a new simpler and rapid compass device whenthe signal to be processed is of good quality, i.e. has a low noise level.
The invention is based on the idea that, when the compass is used, it is calibrated continuously, depending on whether the measured data is of sufficiently good quality to perform calibration. Thus, in the method according to the invention, in order to define a compass directly using the electronic compass device -at least two field components of the external magnetic field are measured, from which a set of data points is formed, which correspond to the various orientations of the device relative to the external magnetic field (the location of the data points in the set of co-ordinates depends on the magnetic field of the Earth and on the magnetic disturbances of the environment).
-it is determined whether the data-point set corresponds to a measurement, in which the device has remained on the horizontal plane with a predefined accuracy, or detecting Lile tilting of the device relative to the horizontal plane during the measurement and correcting the data-point set to 3.
correspond to such measurement, in which the device has remained on the horizontal plane with the predefined accuracy, -if the data-point set corresponds to the measurement, in which the device has remained on the horizontal plane with the predefined accuracy, or the said correction of the data-point set has been made, a new compass direction is defined by using the calibration performed on the basis of the said data-point set.
Thus, in the device utilizing the method according to the invention, there is no need at all for a separate calibration state, instead calibration can take place on the fly' in the direction-display state when the compass is used, provided the predefined quality criteria of the compass signal are met.
If the device is kept essentially on the horizontal plane during the collection of the data points, the data points will be located roughly on the circumference of a circle. The real compass direction is defined from the point on the circumference of the circle at which the measured data point is located. The location of the circle in the set of co-ordinates, on the other hand, depends on, among other things, the external disturbance fields.
indeed the calibration of the compass primarily refers to an disturbance correction performed relative to such fields. In this case, it is assumed that the orthogonalization of the magnetic sensors, i.e. the sensitivity matrix of the device, is known, i.e. it has, for example, been defined at the factory, generally device-specifically.
According to a preferred embodiment, the method comprises a stage, in which the location of the centre point of the circle in the set of co-ordinates is calculated.
Disturbance correction of the compass direction then takes place most preferably by defining the compass direction as the direction of the vector formed by the calculated centre point and one of the said data points. According to an alternative embodiment, the precise location of the centre point is not calculated at all; instead the disturbance correction takes place by deciding on the direction from the data points, on the basis of the local curvature direction of the circumference of the circle. This alternative embodiment can be used if the measurement data is relatively noisc-free, i.e. if the device is, for example, permanently installed in a vehicle.
N I
Preferably the device is arranged to detect if the device is tilted excessively during measurement, i.e., if the measurement noise is so great that a reliable disturbance-corrected direction definition cannot be made. In such a case, the device is arranged to notify the user of this, who can repeat the measurement holding the device more on the horizontal plane. On the other hand, according to a second embodiment, on the basis of such a reliability evaluation one of several direction-definition methods is selected, the disturbance immunities of which differ from each other.
According to a particularly preferred embodiment, the processing unit is arranged to accept the defined centre point as the new centre point only if its distance from the previously defined centre point is less than a predeflned maximum distance. According to one embodiment, the distance of at least some of the said data points from the centre point of the circle is calculated and compared with the distance of the other said data points from the centre point of the circle.
The device according to the invention for displaying a compass direction comprises electronic sensor means for measuring at least two field components of an external magnetic field, as well as a processing unit, which is arranged to take care of continuous automatic calibration, as described above. The detection of tilt can be detected from the data transmitted by the electromagnetic sensor means, or there can be separate means in the device for detecting tilting.
According to a preferred embodiment, when the signal if of good quality, a direction-definition method made on the basis of three measured data points is used and, when the signal is of lower quality, a direction-definition method made on the basis of four measured data points is used. Both of these direction-definition methods are described by way of example hereinafter. The advantage of the three data-point definition is lower power consumption and a very short response time. The advantage of the four data-point method is its applicability even in a situation,. in which the noise level becomes so great that a definition made using the three data-point method will no longer be reliable.
- .11,-1..1 01 lI1I1LII..iLLQI1U11 VY 111 U'. U%.1 1Utk LII I.UL%.I 4I44II LII III. a
Considerable advantages are gained with the aid of the invention. This is because the calibration of the compass can, with the aid of the invention, be hidden to be urmoticeable by the user as a background operation, which is performed at the same time as the user operates the compass in the normal direction-display state. Only if necessary, i.e. if excessive tilting has been detected during measurement, or previous reliable calibration data is not available (e.g., the compass state has been switched on for the first time after a long interval) the measurement will have to be repeated, for example, at the same time requesting the user to hold the device more on the horizontal plane.
Generally speaking, the new methods described in greater detail in the present application and the devices implementing these methods provide sufficient calibration and/or direction information already with a small movement of the device, in both noisy and less noisy environments. With the aid of these, it is possible to rapidly decide where in the set of magnetic co-ordinates one is and to make the necessary disturbance correction to show the accurate direction.
The embodiments of the invention provide considerable additional advantages. For example, by selecting for use a compass method according to the quality of the measured signal, it is possible to implement a wristop device, which is suitable both for trekking use and for attachment, for example, to a boat or other vehicle. In a boat, for example, the device sometimes stays well in the horizontal plane, but sometimes the tilting is greater, whereby the device will automatically select the compass method on the basis of the measurement data, always minimizing the processor load. Thus the total power consumption is reduced and the response time too is reduced as much as possible, always depending on conditions. Particularly in wristop devices, processors are small and the response times can easily become long, if a processor has many simultaneous tasks. The other tasks of the device can be, for example, taking care of radio traffic with remote sensors and various calculations, such as performing diving decompression algorithms and calculating the exercise effect of sports performances, or calory consumption.
In the following, embodiments of the invention are described in greater detail with reference to the accompanying drawings, in which Figure 1 a shows a flow diagram of the method stages according to one embodiment of the invention, Figure 1 b shows the progress of the method according to a second embodiment, Figure 2 shows the compass calibration circle and the geometric means used in the calibration, in a noisy environment, according to one embodiment, and Figure 3 shows the compass calibration circle and the geometric means used in the calibration, in an environment with no noise, according to one embodiment.
Figure 1 a shows the procedure of the present method according to one embodiment. In stage 100, the magnetic field is measured. The compass device will measure the horizontal components of the magnetic field correctly, only if the magnetic sensors of the device (i.e. generally also the device) are on the horizontal plane. In stage 120 suitable means are used to evaluate the quality of the measurement data. In practice, a sufficiently certain definition of the compass direction will only be obtained, if two consecutive definitions of the zero points of the sensors (calibration measurements of the device) are sufficiently similar. The tilt of the device during measurement, which thus causes measurement noise, is typically estimated with the aid of the difference in the lengths of the horizontal vector during the definition of the zero point and of the previously measured vector. The difference tells the reliability of the latest measurement results. If the difference is less than the limit value, it can be assumed that the device remains on the horizontal plane with sufficient accuracy.
Still referring to Figure Ia, the following example describes the definition of direction in a practical situation, with the aid of the invention (for example, a wristop device): 1. The user activates the compass display.
2. The device searches for the essential parameters of the previous operating session from its permanentmemory: the sensitivity matrix, the centre-point data, and the horizontal-plane intensity of the magnetic field at the time of the previous calibration.
3. The device measures the readings of the magnetic sensors (Stage 100) and calculated their distance froii the recorded centre point (sensor readings, if there
is no magnetic field).
4. If the distance between the measured point and the centre point differs excessively from the measurement of the previous calibration (Stage 120), the device requests the user to hold the device on the horizontal plane and rotate it on the horizontal plane, e.g., Keep level, rotate' (Stage 190).
5. Once the device has been rotated sufficiently on the horizontal plane, the calibration is verified (new centre point, Stage 130) and the direction reading is once again displayed (Stage 140).
The merit of the reading can also be criticized through the difference between the recorded horizontal intensity and the measured intensity, for example, by calculating: FOM (figure of merit) abs (measured-recorded) *100%/recorded This gives a relative merit factor for the measurement.
In Figure 1 b, which depicts a further embodiment of the invention, Stages 10 and 12 correspond to Stages 100 and 120, respectively, of Figure 1 a. After measurement-data quality evaluation 12, if the quality meets a predefined criterion,, in Stage 16 it is possible to select for use, for example, the method of compass-direction calculation, described below in greater detail, suitable for a noise-free environment, or some other method of calculation utilizing at most three measurement points (Stage I 8a). If, on the other hand, it is ascertained in Stage 12 that the tilt of the device is great, it is possible in Stage 16 to select, for example, the method of compass-direction calculation, described below in greater detail, suitable for a noisy environment, or some other method of calculation utilizing at least four measurement points (Stage I 8b). Alternatively, if it is ascertained that the tilt of'the device is great, the user can be requested, with the aid of a visual or aural signal, to hold the device better on the horizontal plane and continue the collection of measurement data. In Stage 20, the calculated compass direction is displayed to the user.
In the following, calibration and direction definition are described in detail, in both a noisy and a low-noise operating environment.
Noisy operating environment In a noisy environment, it has been observed that the duration of the rotation movement required for calibration can be minimized best by means of a device, which comprises -electromagnetic sensor means for measuring at least two field components
of an external magnetic field,
-a processing unit, which is arranged to create from the measurement field components two-.dimensional data points bound to an origin, which are located roughly on the circumference of a circle, always depending on the relative positions of the sensor means and the external magnetic field, and which processing unit is further arranged to determine the centre point of the said circle with the aid of the data points, in order to calibrate the compass, so that the processing unit is arranged to determine the centre point of the circle with the aid of the four data points, by calculating the normals of two segments fitted between these four data points, and defining the centre point of the circle as the point of intersection of the normals.
This is because it has been observed that, by using four data points in place of three data points, the device becomes considerably less sensitive to the errors caused by noise in the definition of the centre point. If, in a three-data-point system, the data point, which is common to both segments, for example in the US publication 2002/0035791, moves due to noise, it will affect the direction of both segments and further accumulatively affect the location of the defined centre point, in the publication referred to above, the new centre point is averaged iteratively with the previous centre point, so that the method is made more reliable, which is not necessary, or generally even desirable in the present method.
The processing circuit is preferably arranged to accept two data points as the end points of a segment only if their distance from each other is greater than a predefined minimum distance, with in a typically application is in the range circle radius/5... circle radius.
This achieves the advantage that the effect of noise on the direction of the segment (and thus also on its normal) is reduced. For example, end points, the distance from each other is about the circle radius/2, will provide the present method with sufficient accuracy of definition in nearly all practical applications. The preseifl method also permits the distance between the end points to be kept very small without the directional accuracy of the method suffering unreasonably, which saves calculating power (the up time' of the sensors) and increases user-friendliness (small rotation and rapid measurement).
Further, the processing circuit is preferably arranged to accept the segments for the definition of the centre point only if the angle between the directions defined by them is greater than a predefined minimum angle, preferably at least about 35 degrees, for example 37 -143 degrees (angle cosine <0.8). This achieves the advantage that the error produced by noise in the direction of the segments will not appear too easily in the definition of the centre point.
The processing circuit is preferably arranged to fit the said segments always between consecutive data points, i.e. in such a way that the segments do not intersect.
According to a particularly preferred embodiment, the processing unit is arranged to accept the defined centre point as the new centre point only if its distance from the previously defined centre point is less than a predefined maximum distance, preferably less than about the circle radius/i 0.
The device is typically arranged to use the defined centre point and the measurement result of the new field components obtained from the electromagnetic sensor means in turn to display the compass direction to the user of the device. This is a usual application, at least in wristop devices, which can thus be used for finding direction in trekking use (cf. e.g. black-box type solutions, which collect only directional information).
With reference to Figure 4, in the wristop device 40 there is a central module 44, which contains magnetic sensors 42a and 42b and a processing unit 43, and to which a wrist strap 45 is attached. The central module 44 additionally comprises a display face 41, in which there are means for notifying the compass direction visually, typically an LCD/TFT display, or similar.
The device is preferably arranged to display the compass direction to the user of the device only if the new measurement result of the field components corresponds to data points, the distance of which from the centre point of the circle is in the range the previously defined distance of the data point from the centre point of the circle minus a predefined minimum distance... the previously defined distance of the data point from the centre point of the circle plus the predefined minimum distance. On the other hand, in addition to the compass direction, the device can be arranged to display to the user also the reliability of the defined compass direction, which can be supplemented, or even replaced with the use of the aforementioned distance criterion. Reliability can be estimated on the basis of the measurement results of the field components user in the definition of the centre point and/or the variations in the distances measured from the centre point of the corresponding data points from the measurement result of the new field components, or, for example, according to the signal/noise level of the
measurement of the field components.
According to one embodiment, the invention is implemented in a noisy operating environment, such as in a wristop computer, in practice according to the following
description.
The sensitivity matrix S of the device, i.e. the amplification and cross-sensitivity factors of the magnetic sensors, when the device is rotated on the horizontal plane, is generally defined already at the factory (so-called factory calibration), so that here it is assumed to be known. Thus, the distortions in the measurement caused by the device itself and its magnetic sensors (as well as possibly the correction, i.e. declination, of the geographical north direction) are entered in the memory of the device. Thus, each measurement result (mx,my) always corresponds to one point (x,y)=S(mx,my), from which the distortions in question have been eliminated. Thus a circle R2 = (x-xO)2 + (y-yO)2, in which R is the radius of the circle and (xO,yO) is the centre point of the circle. In the same way, it is preferably assumed that at least the cross-sensitivity factors do not change substantially during use.
In order to perform calibration, the user of the device must move the device around a _1. ,+ 1.-,. 1.,.... ., .-.1. ....,., ......, uIrC..iitjii rigliL aiigic ui uI, ,ii.jflZuiiiai j)&cun.., i... iii.UsL a vv ay ulaL ui. LILagflCLI...
sensors of the device detect a change in the strength of the magnetic field of the Earth.
Preferably an active check is made that the distance of the readings of the magnetic sensors from the centre point of the magnetic circular image remains constant with a sufficient accuracy, so that the device can be concluded to be on the horizontal plane (the strength of the horizontal component of the Earth's magnetic field does not change).
Further, only those readings are accepted that have been verified with sufficient certainty to have taken place when the device was in a horizontal orientation.
Referring now to Figure 2, which illustrates calibration in the case of a noisy signal, the centre point of the magnetic circular image is sought with the aid of the intersection of the bisectors of two segments. Described more specifically, two separate points located on the circumference of the circle form a segment of the circle. A straight line at right angles to the segment and running through the centre point of the segment runs in the direction of the radius of the circle, i.e. a straight line selected in this manner will also run through the centre point of the circle. If two other points are selected from the circumference of the circle, a second straight line running through the centre point of the circle is obtained. The intersection of those two straight lines is the centre point of the circle.
The present method is then implemented according to a preferred embodiment, in such a way that -the strength of the magnetic field is measured at four points, which form two pairs of points, i.e. a first pair of points (xl,yl)=S(mxl,myl) and (x2,y2)=S(mx2,my2) and a second pair of points (x3,y3)=S(mx3,my3) and (x4,y4)=S(mx4,my4), -a check is made that. the distance between the first and correspondingly second pairs of points from each other is greater than a predefined minimum distance, -the angular coefficients (the first and second* angular coefficients, corresponding to two radii of the circle (x.y) of the normals of the segment lines (the first and second segment) connecting the first and correspondingly the second pairs of points are calculated, and -if the first angular coefficient and the second angular cocfficient differ from each other by more than a predefined minimum value, a new centre point (xO,yO) of the circle (x,y) is calculated with the aid of their intersection.
The comparison of the normals of the segment lines can naturally also be replaced by the comparison of the angular coefficients of the segment lines, which will lead to the same end result.
Further, the new calculated centre point (xO,yO) of the circle can be accepted as the new centre point only if its is sufficiently close to the previous value of the centre point.
If the calibration is used in turn to show the direction on the display or similar of the device, the reliability of the method can be further improved by only showing the measured direction to the user of the device,if -the point (xs,ys) corresponding to the measured direction is at nearly the same distance from the centre point as the other measured points or points (xn,yn) used in the calibration, and/or -the reliability of the defined direction is stated with the direction.
The reliability of the direction can be evaluated, for example, by measuring the noise level of the signal or by evaluating the truthfulness of the measurement by using the previous measurements.
At the same time as the device is calibrated, it is also preferable to calculate the compass direction for display to the user (combined calibration-compass function in a single operating mode). According to a preferred embodiment, at the same time a check is made as to whether the length of the new direction vector differs from the length of the direction vector during the previous selection of the centre point. If the difference is too great, the user is informed of this, for example, by means of an indicator appearing on the display of the device and the direction will then not necessarily be displayed.
in tests, it has been observed that at a 20-% noise level (measured from the distances of the data points from the centre point) the present method can offer a directional accuracy as great as 1-3 degrees.
Noise-free or low-noise operating environment In a noise-free environment, on the other hand, it has been observed that the compass direction can be reliably defined with the aid of even a differentially small rotation movement, even without the definition of the centre point of the calibration circle. This is achieved in such a way that the device comprises -electromagnetic sensor means for measuring at least two field components
of an external magnetic field, and
-a processing unit, which is arranged to create two-dimensional data points bound to an origin, from the measured field components, which are located roughly on the circumference of a circle, always depending on the relative positions of the sensor means and the magnetic field, in which case the processing circuit is arranged to calculate the compass direction with the aid of three data points by deciding on the direction of curvature of the circumference of the circle from the local data points and in turn through this the real compass direction. This can be done by defining the direction of the normal of a segment fitted between two data points and in turn by defining the order of the three data points on the basis of the mutual position of the vectors aligned between them, for example, by using the point or cross product between the vectors, in order to define the orientation of the device relative to the compass direction of the external magnetic field.
A method of this kind offers a possibility to define the compass direction even without the definition of the centre point usually used in the calibration of electronic compasses.
In addition, the definition can be performed even from differentially small changes in the orientation of the device. It has been observed, that by using integer calculation (circle-image radius 1000 units) a measurement with an accuracy of less that 2 degrees can be performed from a total rotation of even less than 2 degrees, if the noise level is less than 1 %. In floating-point calculation with ideal data, it is true that the smaller the rotation, the greater the accuracy, and with the aid of this the accuracy of the method can be further improved. Stated generally, the definition can be made with the aid of data points, the triangle formed by which has a very obtuse angle (e.g., an angle of 135 degrees or greater), but as described above, typically even a considerably smaller rotation of the device will suffice.
With reference now to Figure 3, if the measured signal is relatively noise-free (the device is held with good accuracy on the horizontal plane), then differentially small changes in the orientation of the dcvice will be sufficient to define the direction. In such an ideal case, there is no need to define even the centre point of the circle, instead it will be sufficient to examine three consecutive measurement results (xl,yl), (x2y2), (x3,y3).
It is assumed that these measurement results arise when rotating the device in the same direction during measurement. In that case, the normal of the segment defined by the edge-most measurement points (xl,yl) and (x3,y3) defines a straight line running in the direction of the diameter of the circle. After this, a method is used, which tells the curvature of the pattern form by the vectors a=(xl,yl)->(x2,y2) and b=(x2,y2)->(x3,y3), in order to determine the compass direction andlor the location of the centre point. Such as method can be, for example, the calculation of the dot product of the vectors a and b, so that the sign of this will tell, in which direction defined by the diameter the device has faced during measurement, and thus the location of the centre point. As one skilled in the art will understand, other mathematical tools and methods too can be used. An example of an alternative method is the definition of the direction of rotation with the aid of a cross product. The final direction can then be determine, for example, in such a way that, always depending on the sign of the vertical component of the cross product (a x b), 90 degrees from the 1ast direction of the measurement vector (vector b) are added/subtracted.
As can be seen from Figure 3, the processing unit is preferably arranged to fit the said segment between the two outermost data points, i.e. the first and last in order of the said three data points. This minimizes the effect of noise on the direction of the segment.
Further, it can be seen from Figure 3 that the processing unit is preferably arranged to calculate the cross product between'the vectors, in order to define the orientation of the device relative to the external magnetic field, in such a way that the vectors are aligned between the first and second, and correspondingly the second and third data points, in order of collection.
The device is also preferably arranged to display the compass direction to the user. As in the noisy case, in this embodiment too the device can be arranged to also show the user the reliability of the defined compass direction, for example, according to the signal/noise level of the measurement of the field components.
In this embodiment too, factory calibration made on the device is typically utilized.
In devices, which in use can be locked to essentially the horizontal plane, for example, in vehicle compasses, the three-point measurement described above can even be used without detector or definition of tilt; Example (three-point measurement) In the three-point case, the direction can be defined thus: -Assume that three consecutive points have been measured from movement rotating in the same direction: points p1 (xl,yI), p2 = (x2,y2), and p3 = (x3,y3).
-Form the vectors a = (x3-x2)i + (y3-y2)j + Ok and b = (x2-xI)i + (y2-yl)j + Ok.
(i, j, and k are unit vectors of an orthogonal (x,y,z) set of co-ordinates.
-Calculate the direction k of the vector a: k = atan2(y3-y2,x3-x2).
-The z-component of the cross product c = a x b is z = (x3-x2)(y2-y l)-(y3 -y2)(x2-x 1).
-If z>0, add 90 degrees to the calculated direction. If z<0, subtract 90 degrees from the direction. (+ clockwise, -counterclockwise).
The direction k is defined from the latter segment, because it is closer to the correct direction at the time.
Noisy operating environment + tilt compensation According to one preferred embodiment, in an opefating environmcnt that is, as a point of departure, noisy (e.g. wristop devices), the method designed for a noise-free environment, described above, is also applied. This is achieved in such a way that, in the device, in which the method is implemented, there are means for measuring tilt (e.g., a sensor for measuring the direction of gravity). With the aid of the measured tilt, it is possible to compensate the tilt noise out of the measured magnetic data, after which the three-point direction definition method can be applied. The measurement of tilt can, of course, also be taken into account in other stages of the calculation.
Example (tilt compensation) I. Magnetic measurements Fetch raw data ml and m2 from the magnetic sensors.
2. Orthogonalization If the device is rotated on the horizontal plane, the resulting data set represents a tilted ellipse. To convert this to a circle, a sensitivity matrix is required. In a 2-D case, the sensitivity matrix is S = [m_xx m_yx m_xy m_yy] The values used in the following calculations are vecMeas [x y] = [ml m2]*S (or [x y]' = S'*[ml m2]').
3. Tilt compensation If the tilt values of the sensor plane have been measured, the untilted projection of the vector vecMeas can be calculated. For this purpose, the tilt angles tilt y (in the 12 o'clock direction) and tilt x (in the 3 o'clock direction) are required.
Without z measurement the vertical component Mz of the magnetic field must be known. The tilt-compensated values are y = G * (ml *cosd(a) + m2*sind(a)*sind(b) -Mz*sind(b)) and x = G * (m2*cosd(b) + Mx*sind(a)*cosd(b)), in which G = -l/cosd(a)/cosd(b), a = tilt y, and b = asind(sind(tilt x) / cosd(a).
4. Offset of values xO and yO (centre point of circle, autocalibration) The offset values are calculated again in the normal compass state. In this case, the calibration is performed with the aid of points, which define two segments.
These define two radii, which intersect each other at the offset point.
5. Mz value It is sensible to assume that the magnetic field does not change locally during the measurements. Thus is can be required that (xl-xO2 + (yl-yOy'2 = (x2-xO)"2 + (y2-yO)"2 From this connection, two candidates for Mz are obtained: Mz+ and Mz-(the roots of the second-order polynomial equation Ax'2+Bx+C are (-B +1-sqrt(B"2- 4*A*C))/2A. The correct value is the one that appears in all the results.
6. Compass direction The compass direction (d) is calculated as follows d = atan2(y-yO, xO-x).
If the matter is of a conventional 2-D compass (without tilt measurement), stages 1, 2, 4, and 6 apply. Thus those parts of the teachings of this example can also be applied to the embodiments described above.
The invention is not restricted to the embodiments described above, but must be interpreted to the full extent of the accompanying Claims.

Claims (36)

  1. Claims: 1. Method for defining a compass direction by means of an
    electronic compass device, which method comprises -measuring at least two field components of an external magnetic field, from which a set of data points is formed, which correspond to the different orientations of the device relative to the external magnetic field, -determining whether the set of data points corresponds to a measurement, in which the device has remained on the horizontal plane with a predefined accuracy, or detecting the tilting of the device relative to the horizontal plane during measurement and correcting the set of data points to correspond to a measurement in which the device has remained on the horizontal plane with a predefined accuracy, -if the set of data points corresponds to a measurement in which the device has remained on the horizontal plane with a predefined accuracy, or the said correction of the set of data points has been performed, defining a new compass direction by using calibration made on the basis of the said set of data points.
  2. 2. Method according to Claim 1, characterized in that, if the set of data points does not correspond to a measurement in which the device has remained on the horizontal plane with a predefined accuracy, or if it has not been possible to make said correction successfully, a new compass direction is defined by using a calibration made on the basis of a previously collected set of data points.
  3. 3. Method according Claim 1 or 2, characterized in that, if the set of data points does not correspond to a measurement in which the device has remained on the horizontal plane with a predefined accuracy, or if it has not been possible to make the said correction successfully, a new set of data points is waited, notifying at the same time notifying the user of the compass device of the need for a new measurement.
  4. 4. Method according to any of Claims I -3, characterized in that the calibration is made by calculating, with the aid of the data points, the centre point of the circle defined by the data points and a new compass direction is defined with the aid of the said centre point.
  5. 5. Method according to Claim 4, characterized in that the centre point of the circle is defined with the aid of four data points, by calculating the normals of segments fitted between two of the four data points and defining the centre point of the circle as the intersection point of the normals.
  6. 6. Method according to Claim 5, characterized in that two data points are accepted as the end point of a segment only if their distance from each other is greater than a predefined minimum distance.
  7. 7. Method according to Claim 5 or 6, characterized in that the segments are accepted for the definition of the centre point only if the angle between the directions defined by them is greater than a predefined minimum angle.
  8. 8. Method according to any of Claims 5 -7, characterized in that the segments are fitted between data points that are consecutive at the time.
  9. 9. Method according to any of Claims 4 -8, characterized in that the defined centre point is accepted as the new centre point only if its distance from the previously defined centre point is less than a predefined maximum distance.
  10. 10. Method according to any of Claims 4 -9, characterized in that the defined centre point is used in turn for displaying the compass direction visually.
  11. 11. Method according to Claim 10, characterized in that the compass direction is displayed only if the new measurement result of the field components corresponds to a data point, the distance of which from the centre point of the circle is in the range the distance of the previously defined data point from the centre point of the circle minus the predefined maximum distance... the distance of the previously defined data point from the centre point of the circle plus the predeflned maximum distancc.
  12. 12. Method according to Claim 10 or 11, characterized in that, in addition to the compass direction, the reliability of the defined compass direction is also displayed.
  13. 13. Method according to Claim 12, characterized in that the said reliability is calculated on the basis of variations of the data points used in the definition of the centre point and/or of the measured distances of the centre point of the data points corresponding to the measurement results of the new field components.
  14. 14. Method according to any of Claims 1 -4, characterized in that the calibrated compass direction is defined with the aid of three data points by defining locally the direction of curvature of the circular arch formed by the data points.
  15. 15. Method according to Claim 14, characterized in that the direction of curvature of the circular arch is defined by defining the direction of the normal of a segment fitted between two data points and further defining, on the basis of the order of the three data points and of the mutual positions of the vectors aligned between them, the orientation of the device relative to the external magnetic field.
  16. 16. Method according to Claim 15, characterized in that the said segment is fitted between the two outermost data points, i.e. the first and last in order of the said three data points.
  17. 17. Method according to any of Claims 14 -16, characterized in that the direction of curvature of the curve of the circle is defined with the aid of vectors aligned between the first and second, and correspondingly the second and third in order of the data points.
  18. 18. Method according to any of Claims 14 -17, characterized in that the compass direction is defined with the aid of a set of data points, without the calculation of the centre point of the said circle.
  19. 19. Method according to any of Claims 14 -18, characterized in that the said three data points form an obtuse-angled triangle, ui Which one angle is at least 135 degrees.
  20. 20. Method according to any of the above Claims, characterized in that the said data points are formed by scaling the measurement results of the field components on a sensitivity matrix specific to the compass device.
  21. 21. Method according to any of the above Claims, characterized in that it is performed in a wnstop device, such as a wristop computer, for example, for use in sports or trekking.
  22. 22. Method according to any of the above Claims, characterized in that it comprises a stage, in which one of at least two compass-direction definition methods is selected, on the basis of selection information available from the user of the device, or of automatic evaluation of the reliability of the measurement of the said field components, and further that the compass direction is defined using the selected method.
  23. 23. Method according to Claim 22, characterized in that, if the reliability of the measurement of the field components is poorer than a predefined threshold value, a first compass-direction definition method is used, in which data points formed by the said two field components corresponding to at least four different orientations of the device are utilized.
  24. 24. Method according to Claim 23, characterized in that a compass-direction definition method according to any of Claims 4 -13 is used.
  25. 25. Method according to Claim 22, characterized in that, if the reliability of the measurement of the field components is better than a predefined threshold value, a second compass-direction definition method is used, in which data points formed by the said two field components corresponding to at least three different orientations of the device are utilized.
  26. 26. Method according to Claim 25, characterized in that a compass-direction definition method according to any of Claims 14 -19 is used.
  27. 27. Method according to any of the above Claims, characterized in that data points are collected continuously, in order to define a new compass direction while the device is in the direction-display state, in which case the said calibration too is performed on the basis of the data points collected in the direction-display state.
  28. 28. Electronic compass device, which comprises -electromagnetic sensor means for measuring at least two field components
    of an external magnetic field, and
    -a processing unit, which is arranged -to form two-dimensional data points from the signal obtained from the sensor means, the data points corresponding to different orientations of the device relative to the external magnetic field, -to determine whether the set of data points corresponds to a measurement, in which the device has remained on the horizontal plane with a predefined accuracy, or to correct the set of data points to correspond to such a measurement, on the basis of data obtained from a separate tilt sensor, -to define a new compass direction by using calibration made on the basis of the said set of data points, if the set of data points corresponds to a measurement, in which the device has remained on the horizontal plane with a predefined accuracy, or if the said tilt correction of the set of data points has been performed.
  29. 29. Device according to Claim 28, characterized in that the processing unit is further arranged to wait for a new set of data points, preferably at the same time notifying the user of the compass device of the need for a new measurement, if the set of data points does not correspond to a measurement, in which the device has remained on the horizontal plane with a predefined accuracy, or it has not been possible to make the said correction successfully
  30. 30. Device according to Claim 28 or 29, characterized in that it is arranged to measure the external magnetic field continuously, in a single operating state for both calibration
  31. 31. Device according to Claim 29 or 30, characterized in that the processing unit is arranged to calculate, with the aid of the data points, the centre point of a circle defined by the data points, and in turn to define a new compass direction with the aid of the said centre point.
  32. 32. Device according to Claim 3 1, characterized in that the processing unit is arranged to define the centre point of the circle with the aid of four data points by calculating the normals of segments fitted between these four data points, and to define the centre point of the circle at the intersection point of the normals.
  33. 33. Device according to Claim 32, characterized in that the processing unit is arranged to perform operations according to any of Claims 6 -13.
  34. 34. Device according to any of Claims 28 -31, characterized in that the processing unit is arranged to defined the compass direction with the aid of three data points by defining locally the curvature of the circular arch formed by the data points, preferably by defining the direction of the normal of a segment fitted between two data points, and in turn; on the basis of the order of three data points the mutual positions of vectors aligned between them, defining the orientation of the device relative to the magnetic field of the Earth.
  35. 35. Device according to Claim 34, characterized in that the processing unit is arranged to perform operations according to any of Claims 16 -19.
  36. 36. Device according to any of Claims 29 -35, characterized in that it is a wristop device, such as a wristop computer, for example, for use in sports or trekking.
GB0808568A 2007-05-21 2008-05-12 Compass device and method for a compass device Active GB2449538B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FI20075363A FI120276B (en) 2007-05-21 2007-05-21 Compass device and method for compass devices

Publications (3)

Publication Number Publication Date
GB0808568D0 GB0808568D0 (en) 2008-06-18
GB2449538A true GB2449538A (en) 2008-11-26
GB2449538B GB2449538B (en) 2010-11-10

Family

ID=38069530

Family Applications (1)

Application Number Title Priority Date Filing Date
GB0808568A Active GB2449538B (en) 2007-05-21 2008-05-12 Compass device and method for a compass device

Country Status (4)

Country Link
US (1) US7905026B2 (en)
FI (1) FI120276B (en)
GB (1) GB2449538B (en)
HK (1) HK1121524A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438131B (en) * 2006-05-09 2012-07-18 阿尔卑斯电气株式会社 Calibration method and electronic compass
JP5266754B2 (en) * 2007-12-28 2013-08-21 ヤマハ株式会社 Magnetic data processing apparatus, magnetic data processing method, and magnetic data processing program
US20090259424A1 (en) * 2008-03-06 2009-10-15 Texas Instruments Incorporated Parameter estimation for accelerometers, processes, circuits, devices and systems
US8374816B2 (en) 2010-06-08 2013-02-12 Honeywell International Inc. Automatic data collection algorithm for 3D magnetic field calibration with reduced memory requirements
EP2672854B1 (en) 2011-02-07 2019-09-04 New Balance Athletics, Inc. Systems and methods for monitoring athletic performance
US10363453B2 (en) 2011-02-07 2019-07-30 New Balance Athletics, Inc. Systems and methods for monitoring athletic and physiological performance
JP5017539B1 (en) * 2011-02-17 2012-09-05 アイチ・マイクロ・インテリジェント株式会社 Applied equipment for measuring and using geomagnetism
FI127205B (en) 2011-12-05 2018-01-31 Suunto Oy Customizable microcontroller-based device and corresponding software products and systems
US9228838B2 (en) 2011-12-20 2016-01-05 Fluke Corporation Thermal imaging camera with compass calibration
FI126012B (en) 2012-12-31 2016-05-31 Suunto Oy Method and device for determining direction in a magnetic field
CN104316037B (en) * 2014-10-29 2017-06-13 深圳市华信天线技术有限公司 A kind of bearing calibration of electronic compass and device
FR3071051B1 (en) * 2017-09-08 2020-03-13 Thales MAGNETIC FIELD COMPENSATION METHOD, DEVICE AND COMPUTER PROGRAM

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2128749A (en) * 1982-10-12 1984-05-02 Plessey Co Plc Electronic compass with tilt compensation
JPH08278137A (en) * 1995-04-07 1996-10-22 Sony Corp Bearing output device
JPH09325029A (en) * 1996-06-05 1997-12-16 Fuji Heavy Ind Ltd Device for correcting geomagnetism sensor
US20020035791A1 (en) * 1999-05-27 2002-03-28 Parks Jeffrey N. Vehicle compass system with continuous automatic calibration
WO2005012835A2 (en) * 2003-07-30 2005-02-10 Honeywell International Inc. System for using a 2-axis magnetic sensor for a 3-axis compass solution

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1127304A (en) * 1979-01-24 1982-07-06 Sachinobu Shimizu Apparatus for determining positional coordinates utilizing the terrestrial magnetism as a directional reference
US6356851B1 (en) 1999-02-05 2002-03-12 Delphi Technologies, Inc. Accelerated calibration for electronic compass module
US6543146B2 (en) * 2000-12-06 2003-04-08 Honeywell International, Inc. Electronic compass and compensation of large magnetic errors for operation over all orientations
JP2003075157A (en) 2001-09-06 2003-03-12 Seiko Instruments Inc Electronic equipment
KR100491597B1 (en) * 2002-11-28 2005-05-27 삼성전자주식회사 Automatically termination apparatus and method for calibration processing of terrestrial magnetic sensor module
CN100510623C (en) * 2004-07-15 2009-07-08 阿莫善斯有限公司 Mobile terminal device
EP2135033A2 (en) * 2007-04-04 2009-12-23 Nxp B.V. Auto-calibration of orientation sensing system
US20090093981A1 (en) * 2007-10-05 2009-04-09 Honeywell International Inc. Integrated tilt compensated compass in a single package

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2128749A (en) * 1982-10-12 1984-05-02 Plessey Co Plc Electronic compass with tilt compensation
JPH08278137A (en) * 1995-04-07 1996-10-22 Sony Corp Bearing output device
JPH09325029A (en) * 1996-06-05 1997-12-16 Fuji Heavy Ind Ltd Device for correcting geomagnetism sensor
US20020035791A1 (en) * 1999-05-27 2002-03-28 Parks Jeffrey N. Vehicle compass system with continuous automatic calibration
WO2005012835A2 (en) * 2003-07-30 2005-02-10 Honeywell International Inc. System for using a 2-axis magnetic sensor for a 3-axis compass solution

Also Published As

Publication number Publication date
GB0808568D0 (en) 2008-06-18
FI20075363A (en) 2008-11-22
FI120276B (en) 2009-08-31
HK1121524A1 (en) 2009-04-24
US7905026B2 (en) 2011-03-15
GB2449538B (en) 2010-11-10
US20080289203A1 (en) 2008-11-27
FI20075363A0 (en) 2007-05-21

Similar Documents

Publication Publication Date Title
US7905026B2 (en) Compass device and method for a compass device
US9632202B2 (en) Economical magnetic locator apparatus and methods
US8374817B2 (en) Auto-calibration of orientation sensing systems
JP2004525348A (en) Monitoring the accuracy of the electronic compass
JPS601510A (en) Correcting method of vehicle mounted geomagnetism sensor
CN1833157A (en) System for using a 2-axis magnetic sensor for a 3-axis compass solution
CN103052864B (en) For the PND reorientation detecting device of the better navigation accuracy in automobile
JP2012506548A (en) Electronic compass and method for obtaining zero error of electronic compass
US10197396B2 (en) Always on compass calibration system and methods
US20140214364A1 (en) Method of estimating offset of magnetic sensor
KR20140093111A (en) Geomagnetic sensor calibration apparatus and method thereof
CN109540135A (en) The method and device that the detection of paddy field tractor pose and yaw angle are extracted
KR100895988B1 (en) System, method, device and computer code product for improving the readability of an electronic compass
US20070250262A1 (en) Device, method and medium detecting errors generated by distortion in a magnetic field
Huang The importance of ADCP alignment with GPS in moving-boat streamflow measurements
KR20140015028A (en) Rotation angle measuring system for excavator
US20240045001A1 (en) System and method for fast magnetometer calibration using gyroscope
TWI452263B (en) Geomagnetic detection device
KR101185080B1 (en) Calibrating Method of Azimuth Error for Compass
KR100694897B1 (en) a Method for Correcting Using The Geomagnetic Compass for Navigation Correcting Automatically Magnetic Noise with Real Time
EP2972682B1 (en) Computing a magnetic heading
KR100799536B1 (en) Apparatus and Method for estimation of Virtual Axis Magnetic Compass Data to compensate the Tilt Error of Biaxial Magnetic Compass, and System for calculating Azimuth Angle using it
JPS63113309A (en) Method for processing data of earth magnetism sensor
KR100341801B1 (en) Urban vehicle navigation system using multiple antennas
JP2004050970A (en) Position detection method and position detection device of vessel and system

Legal Events

Date Code Title Description
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1121524

Country of ref document: HK

REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1121524

Country of ref document: HK

732E Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977)

Free format text: REGISTERED BETWEEN 20210617 AND 20210623

732E Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977)

Free format text: REGISTERED BETWEEN 20220908 AND 20220914