MITIGATING SYSTEMATIC ERROR IN GYROCOMPASSING
20240133713 ยท 2024-04-25
Inventors
Cpc classification
G01C25/00
PHYSICS
International classification
Abstract
A MEMS gyrocompass and method are provided to mitigate systematic error in determination of a north angle. The MEMS gyrocompass includes one or more MEMS gyroscopes having a sense axis within a reference plane. Samples from an output of the MEMS gyroscope are obtained in at least two angles of rotation about an axis perpendicular to the reference plane. First fit coefficients are determined by fitting samples with first fitting functions determined as function of time. Second fit coefficients are determined by fitting components of earth rotation rate projected on the reference plane based on samples obtained by all the MEMS gyroscopes, which fitting is performed with a second fitting function determined as a function of rotation angle of the MEMS gyroscope with respect to a reference angle. The north angle is determined as an angle between the reference angle and true north based on the second fit coefficients.
Claims
1. A method for mitigating systematic error in north angle determined by a MEMS gyrocompass that includes at least one MEMS gyroscope having a sense axis within a reference plane, the method comprising: obtaining samples from an output of the at least one MEMS gyroscope in at least two different angles of rotation about an axis perpendicular to the reference plane; fitting an Earth rate response of the output as a function of a rotation angle simultaneously with individually fitting rate drift of each MEMS gyroscope of the at least one MEMS gyroscope as a function of time, wherein the fittings is performed by: determining one or more first fit coefficients by fitting samples obtained from each individual MEMS gyroscope with first fitting functions determined as the function of time, and determining second fit coefficients by fitting components of an Earth rotation rate projected on the reference plane based on samples obtained from all of the at least one MEMS gyroscope with a second fitting function determined as the function of rotation angle of the at least one MEMS gyroscope with respect to a reference angle; and determining the north angle as an angle between the reference angle and true north based on the second fit coefficients.
2. The method according to claim 1, wherein the first fitting function is a rate drift fitting function.
3. The method according to claim 2, wherein the rate drift fitting function is one of a first order function, a second order function, an exponential function and a sum of exponential functions.
4. The method according to claim 3, further comprising determining the first fit coefficients individually to each MEMS gyroscope.
5. The method according to claim 1, wherein the second fit coefficients are a cosine coefficient (c) and a sine coefficient (s), and wherein the north angle is calculated by arctan (s/c).
6. The method according to claim 1, wherein the at least one MEMS gyroscope comprises two or more MEMS gyroscopes that are arranged such that a vector sum of sense axes of the respective two or more MEMS gyroscopes is zero.
7. The method according to claim 1, wherein the determining of the first fit coefficients and the second fit coefficients are performed simultaneously.
8. A MEMS gyrocompass for mitigating systematic error in determination of a north angle, the MEMS gyrocompass comprising: at least one MEMS gyroscope having a sense axis within a reference plane; a memory; and a processing device communicatively coupled to the memory and that is configured to execute code on the memory that configures the processing device to: obtain samples from an output of the at least one MEMS gyroscope in at least two different angles of rotation about an axis perpendicular to the reference plane; fit an Earth rate response of the output as a function of a rotation angle simultaneously with individually fitting rate drift of each MEMS gyroscope of the at least one MEMS gyroscope as a function of time, wherein the processing device further determines the fittings by: determining one or more first fit coefficients by fitting samples obtained from each individual MEMS gyroscope with first fitting functions determined as the function of time, and determining second fit coefficients by fitting components of an Earth rotation rate projected on the reference plane based on samples obtained from all of the at least one MEMS gyroscope with a second fitting function determined as the function of rotation angle of the at least one MEMS gyroscope with respect to a reference angle; and wherein the processing device of the MEMS gyrocompass is further configured to determine the north angle as an angle between the reference angle and true north based on the second fit coefficients.
9. The MEMS gyrocompass according to claim 8, wherein the first fitting function is a rate drift fitting function.
10. The MEMS gyrocompass according to claim 9, wherein the rate drift fitting function is one of a first order function, a second order function, an exponential function and a sum of exponential functions.
11. The MEMS gyrocompass according to claim 10, wherein the processing device is further configured to determine the first fit coefficients individually to each MEMS gyroscope.
12. The MEMS gyrocompass according to claim 8, wherein the second fit coefficients are a cosine coefficient (c) and a sine coefficient (s), and wherein the north angle is calculated by arctan (s/c).
13. The MEMS gyrocompass according to claim 8, wherein the at least one MEMS gyroscope comprises two or more MEMS gyroscopes that are arranged such that a vector sum of sense axes of the respective two or more MEMS gyroscopes is zero.
14. The MEMS gyrocompass according to claim 8, wherein the processing device is further configured to determine the first fit coefficients and the second fit coefficients simultaneously.
15. A computer program product storing code with instructions executable by a processing device for mitigating systematic error in north angle determined by a MEMS gyrocompass that includes at least one MEMS gyroscope having a sense axis within a reference plane, comprising: code for obtaining samples from an output of the at least one MEMS gyroscope in at least two different angles of rotation about an axis perpendicular to the reference plane; code for fitting an Earth rate response of the output as a function of a rotation angle simultaneously with individually fitting rate drift of each MEMS gyroscope of the at least one MEMS gyroscope as a function of time, wherein the fittings is performed by: determining one or more first fit coefficients by fitting samples obtained from each individual MEMS gyroscope with first fitting functions determined as the function of time, and determining second fit coefficients by fitting components of an Earth rotation rate projected on the reference plane based on samples obtained from all of the at least one MEMS gyroscope with a second fitting function determined as the function of rotation angle of the at least one MEMS gyroscope with respect to a reference angle; and code for determining the north angle as an angle between the reference angle and true north based on the second fit coefficients.
16. The computer program product according to claim 15, wherein the first fitting function is a rate drift fitting function, which is one of a first order function, a second order function, an exponential function and a sum of exponential functions.
17. The computer program product according to claim 16, further comprising code for determining the first fit coefficients individually to each MEMS gyroscope.
18. The computer program product according to claim 16, wherein the second fit coefficients are a cosine coefficient (c) and a sine coefficient (s), and wherein the north angle is calculated by arctan (s/c).
19. The computer program product according to claim 16, wherein the at least one MEMS gyroscope comprises two or more MEMS gyroscopes that are arranged such that a vector sum of sense axes of the respective two or more MEMS gyroscopes is zero.
20. The computer program product according to claim 16, further comprising code for the determining the first fit coefficients and the second fit coefficients simultaneously.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In the following the invention will be described in greater detail, in connection with exemplary embodiments, with reference to the attached drawings, in which:
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
DETAILED DESCRIPTION
[0058]
[0059] The
[0060] In this case, rate drift (41) of the gyroscope output can be fitted on a straight line that can be represented with a first-order polynomic function.
[0061]
[0062] Rate drift can also be exponential, in other words it can be best approximated with an exponential function. This may be a single exponential function or a sum of exponential functions. For example, there may be two or more different exponentially behaving rate drifts occurring in the gyroscope, which are characterized with different time constants. With short time intervals, linear fitting likely provides best results. Measured angular rates can in some cases even have no rate drift, even though some bias error still affects the output.
[0063] Exemplary rate drift functions can be formulated as follows:
linear: a.sub.0+a.sub.1t
exponential (1): a.sub.0+?.sub.1exp(?t/?.sub.1)
exponential (2): a.sub.0+a.sub.1exp(?t/?.sub.1)+a.sub.2exp(?t/?.sub.2)
quadratic: a.sub.0+a.sub.1t+a.sub.2t.sup.2
[0064] To avoid overfitting, simple equations such as linear and exponential (1) with single time constant ?.sub.1 are preferred over the more complex quadratic and exponential (2) with two time constants ?.sub.1 and ?.sub.2.
[0065] In general, it is noted that the basic algorithm for removing systematic error from output of a gyroscope array with n gyroscopes can be expressed mathematically as a matrix equation. When a polynomic fitting function is used, size of the matrix A has size s?s, where s=2+n(o+1), n refers to number of gyroscopes in the gyroscope array, o is order of rate drift function: o=2 refers to quadratic rate drift function, o=1 refers to linear rate drift function, 0=0 is a constant (no drift). This basic rule of size of the matrix for polynomic fitting is not applicable with exponential fitting functions. Vector y has length s.
[0066] An example of the matrix equation applied for a gyrocompass with two gyroscopes and quadratic rate drift function, in other words a rate drift function of an individual gyroscope follows a second order polynomial equation having formula a.sub.0,i+a.sub.1,it+a.sub.2,it.sup.2, can be represented as:
[0067] In this equation, t.sub.i refers to a time instance, ?.sub.1, ?.sub.2, refer to sense axis angles of gyroscopes on the board with respect to a reference axis within the reference plane, ?.sub.i=?(t.sub.i) refers to board orientation at time instance t.sub.i. C and s refer to cosine and sine coefficients that are used to determine the north angle as an angle between the reference axis and the true north, and a.sub.0,1, a.sub.1,1, a.sub.2,1 refer to rate drift coefficients of gyroscope 1. In this example, rate drift function is quadratic, in other words rate drift function of gyroscope 1 follows an equation having formula a.sub.0,1+a.sub.1,1t+a.sub.2,1t.sup.2. y.sub.1,i refers to gyroscope 1 output at time instance i and y.sub.2,j refers to gyroscope 2 output at time instance j.
[0068] Rate drift fit coefficients a.sub.0,1, a.sub.1,1, a.sub.2,1 are obtained from x=A.sup.?1y.
[0069] The north angle is calculated from the cosine and sine coefficients c and s by equation:
[0070] In-plane component of the Earth's rotation rate in the reference plane is calculated as:
?{square root over (s.sup.2+c.sup.2)} (4)
[0071] An example of the matrix equation applied for a gyrocompass with two gyroscopes and exponential rate drift function, in other words a rate drift function of an individual gyroscope follows an exponential equation having formula a.sub.0,k+a.sub.1,ke.sup.?.sup.
wherein t.sub.i is time instance, ?.sub.k is orientation of the kth gyro on the board, ?(t.sub.i) is board orientation at time instance t.sub.i, y.sub.k,i is gyroscope k output at time instance i. ? . . . dt is a time integral, evaluated numerically using for example trapezoidal rule or Simpson's rule if the time steps are equal.
[0072] Fit coefficients ?.sub.k related to time constants ?.sub.k=?1/?.sub.k are determined using the matrix equation (6) below for every k gyroscope axis, solving it in the least-squares sense. This can be performed by writing equation (5) as Ax=b, least-squares sense means to minimize ?Ax?b?.sub.2, where ?.Math.?.sub.2 is a vector norm. The fit coefficient ?.sub.k is utilized in further analysis, whereas other coefficients d.sub.1, d.sub.2, . . . , d.sub.6 are not.
[0073] Cosine coefficient c and sine coefficient s are solved in least-squares sense, and north angle and in-plane component of the Earth rate can be calculated as given above in equations (3) and (4).
[0074]
[0075] In particular,
[0076] The
[0077] Finally, the
[0078] Tested device in the case 9A to 9C gives a north angle or 31.234 degrees with signal amplitude of 4.178 mdps, which corresponds with theoretic Earth's rotation rate with high accuracy. These values represent the correct reference values for further tests.
[0079]
[0080] In particular,
[0081]
[0082] Instead of having a single dot covering all three measurements, the output shown in the
[0083] Traditionally fitting is performed by fitting a sine or cosine function to the received rotation rates as shown in the
[0084] When output values are averaged over multiple samples (in this example, three samples taken on three intermittently repeated similar rotation table positions), the fitted sine or cosine function as function of angle (60) is way above the zero level. Consequently, the fitted curve as function of time (61) is offset. Using these gyroscope output values in north angle and rotation rate calculations causes a significant systematic error in the result. In this example, with heavy rate drift used for visualization, the north angle value received was 17.77 degrees (compared to the correct 31.234 degrees), thus with significant error of 13.46 degrees, and output amplitude was 2.169 mdps, which has a significant 2 mdps error from the correct value of 4.178 mdps, almost 50%. Such error magnitudes are not acceptable.
[0085]
[0086] In particular,
[0087] With proper rate drift fitting taking place, systematic error is removed, and the gyroscope output is brought back zero level as expected.
[0088] It should be appreciated that the benefit of performing rate drift fitting as function of time becomes obvious from the
[0089] The angles of the sense axes of the one or more MEMS gyroscopes are preferably angled at regular intervals of 360?/N, where N is the number of sense axes. In case of using single-axis gyroscopes, N is also number of gyroscopes. By applying regular intervals of 360?/N between the sense axes of a plurality of mutually similar gyroscopes, vector sum of sense axes of the gyroscopes is zero.
[0090] N may be an even number such that the sense axes of the one or more MEMS gyroscopes are arranged into pairs, wherein the sense axes of each pair of gyroscopes are offset by 180 degrees, thus pairwise zeroing the vector sums of sense axes. N may be an odd number. For example, three gyroscopes with 120? angle between their sense axes produces a zero vector sum.
[0091] The algorithm was simulated with a computer simulation platform with eight single-axis gyroscopes (10-1, . . . , 10-8), placed at sense axis angles ?.sub.i={0?, 180?, 45?, 225?, 90?, 270?, 135?, 315?} on a rotatable board (12) as schematically illustrated in the
TABLE-US-00002 TABLE 2 Fit time Time dependency dependency mean std # ARW *100e?6 dps/s order (deg) (deg) 1 0 Linear 0 0.000 0.00 [1, 1, 1, 1, 1, 1, 1, 1] 2 0 Linear 0 1.38 0.00 [1, 0, 0, 0, 0, 0, 0, 0] 3 0 Linear 0 2.23 0.00 [1, 0, ?1, 0, 0, 0, 0, 0] 4 0 Linear 0 3.59 0.00 [1, 0, ?1, 0, ?1, 0, 0, 0] 5 0 Linear 1 0.000 0.00 [1, 0, ?1, 0, ?1, 0, 0, 0] 6 0 Quadratic 0 0.000 0.00 [1, 1, 1, 1, 1, 1, 1, 1] 7 0 Quadratic 0 0.75 0.00 [1, 0, 0, 0, 0, 0, 0, 0] 8 0 Quadratic 1 ?0.084 0.00 [1, 0, 0, 0, 0, 0, 0, 0] 9 0 Quadratic 2 0.000 0.00 [1, 0, 0, 0, 0, 0, 0, 0] 10 0 Quadratic 0 4.78 0.00 [1, 1, ?1, ?1, ?1, ?1, 1, 1] 11 0 Quadratic 1 0.87 0.00 [?1, ?1, ?1, ?1, 1, 1, 1, 1] 12 0 Quadratic 2 0.000 0.00 [?1, ?1, ?1, ?1, 1, 1, 1, 1] 13 0.05 2 ?0.003 0.76 deg/?hr 14 0.1 2 ?0.065 1.55 deg/?hr 15 0.1 Linear 1 ?0.006 1.54 deg/?hr [1, 0, 0, 0, 0, 0, 0, 0]
[0092] It is noted that Table 2 illustrates results of computer simulations performed with the invented fitting method using a testbed with eight gyroscopes.
[0093] Angular random walk (ARW) was set to zero in the first 12 computer simulations.
[0094] Computer simulations #1 to #5 represent examples in which time dependency of rate drift of any individual gyroscope is linear. Nature of time dependency is determined by multipliers 0, 1 and ?1, wherein 0 represents no rate drift, and 1 and ?1 refer to rate drift in opposite directions.
[0095] Computer simulation #1 is a reference case in which all eight gyroscopes have similar linear rate drift. A zero-order fitting function, in other words a constant value is applied as fitting function and averaging samples over the test period removes all errors, mean error in the angle is zero degrees and standard deviation (std) of the error is also zero. Thus, north angle determined based on the measurements is accurate. Although not shown in the table, value of Earth's rotation rate calculated is also accurate.
[0096] Computer simulation #2 illustrates a case in which one of the eight gyroscopes has a rate drift pattern that deviates from rate drift of other seven gyroscopes. If a zero order, constant function is used for fitting, mean value of the systematic error in the output is 1.38 degrees. Computer simulations #3 and #4 add further gyroscopes with non-zero linear rate drift characteristics, which further increases the systematic error in the mean value of the output, if a zero-order fitting function is applied. This is apparently not doing a good job for fitting.
[0097] Computer simulation #5 applies linear fitting according to the invention in the exemplary case otherwise equal to computer simulation #4. This fitting effectively removes the systematic error in its entirety, and north angle is accurate.
[0098] Computer simulations #6 to #12 represent examples in which time dependency of rate drift of an individual gyroscope is quadratic. In other words, the rate drift can be represented by a second-order function.
[0099] Computer simulation #6 is a reference in which rate drifts of all gyroscopes are similar. Like in the computer simulation #1, a constant fitting function can be applied and averaging samples over the test period effectively removes all systematic error, mean error in the angle is zero degrees and standard deviation (std) of the systematic error is also zero.
[0100] Computer simulations #7, #8 and #9 represent a case in which one of the gyroscopes has a quadratic rate drift while other seven gyroscopes are driftless. In the computer simulation #7, constant value fitting is applied. In the computer simulation #8, linear fitting is applied and in the computer simulation #8 a quadratic fitting is applied. Even the linear fitting (#7) gives fairly good systematic error correction, while using quadratic fitting (#8) in time domain enables fully removing systematic error in the output.
[0101] Computer simulations #10, #11 and #12 represent a case in which all gyroscopes have quadratic rate drifts, but in different directions. Constant fitting (#10) leaves a significant systematic error in the output. Use of linear fitting (#11) reduces output systematic error to less than one degree, while use of quadratic fitting (#12) effectively removes all systematic error in the output and also has zero standard deviation.
[0102] Computer simulations #13, #14 and #15 represent a situation with angular random walk (ARW) is present. Computer simulations #13 and #14 indicate that with second order rate fitting, also effects of white noise can effectively be mitigated, although some standard deviation remains in the result due to sporadic characteristic of the ARW. Computer simulation #15 indicates that even if there is a gyroscope that has linear rate drift in addition to presence of ARW, linear fitting can effectively remove all systematic error from the output.
[0103] It is noted that the exemplary fitting algorithm as described herein not only enables removing systematic error. In particular, the algorithm also enables shortening integration times required for removing effects of angular random walk and using longer integration times, since effects of rate drifts do not dominate performance even if integration time is long. Thus, waiting time for receiving relatively accurate north angle information during warm-up time of the device can be shortened.
[0104] The algorithm was found to be effective even with just two gyroscopes, especially when there is a 180-degree offset angle between their sense axes. However, when designing an actual functional gyrocompass, other error causing phenomena should be taken into account. For improving effect of angular random walk (ARW), it is preferred to have more than two gyroscopes, preferably arranged such that vector sum of sense axes is zero. An embodiment with three gyroscopes arranged at 120-degree angles between their sense axes has a vector sum equal to zero always has at least two gyroscopes providing a non-zero signal. Another embodiment is to arrange gyroscopes pairwise such that sense axes in each pair are offset by 180 degrees, which provides strongest possible output signal and thus has the best signal-to-noise ratio.
[0105]
[0106] In general, it is noted that the exemplary embodiments described above are intended to facilitate the understanding of the present invention and are not intended to limit the interpretation of the present invention. The present invention may be modified and/or improved without departing from the spirit and scope thereof, and equivalents thereof are also included in the present invention. That is, exemplary embodiments obtained by those skilled in the art applying design change as appropriate on the embodiments are also included in the scope of the present invention as long as the obtained embodiments have the features of the present invention. For example, each of the elements included in each of the embodiments, and arrangement, materials, conditions, shapes, sizes, and the like thereof are not limited to those exemplified above and may be modified as appropriate. It is to be understood that the exemplary embodiments are merely illustrative, partial substitutions or combinations of the configurations described in the different embodiments are possible to be made, and configurations obtained by such substitutions or combinations are also included in the scope of the present invention as long as they have the features of the present invention.