1 Introduction

Quartz flexible accelerometer is one of the core components of the inertial navigation and inertial guidance system. The temperature coefficients of accelerometer core and the core torque, which jointly determine the accelerometer output accuracy, are both affected by the temperature. In practical applications, it is essential to take measures to reduce the impact of temperature on the accelerometer output value. Two coefficients related to the accelerometer are introduced to measure the effect of the various temperatures posed on the accelerometer. The two coefficients are referred to as the scaling factor K1 and the zero bias K0. The slope of the curve, namely K1, representing function relation between output signal and measured acceleration, serves as a major characteristic of accelerometer. The zero bias output single, namely K0, reflects the magnitude of accelerometer output value when the input acceleration is zero[13]. Due to the fact that the characteristics of circuit used to process output signal in accelerometer is determined by temperature, the values of two indicators are different for different temperature to another. Studies prove that the more is robustness of K1 against temperature, the higher is the quality level of accelerometer. For some specific application such as spacecraft or satellite, the temperature instability K1 should not be exceed 0.1% in complete range of operating temperature[4,5]. However, the spacecraft is moving so fast that the external ambient temperature changes dramatically. If the ambient temperature difference is up to 10°C or even more, the error of output value will be ranging from 0.12 mG to 1.405 mG (the value can be illustrated by the Figs. 4 and 5). The symbol G is short for gravity unit. The unit G is equal to 1 000 mG, and also equal to 106 uG. The speed and position error can be estimated as

$$\left\{{\matrix{{\Delta V = \int_0^t {\alpha (t){\rm{d}}t}} \hfill \cr{\Delta S = \int {\int_0^t {\alpha (t){\rm{d}}t}}} \hfill \cr}} \right.$$
(1)

where α(t) is the acceleration error caused by the temperature. The variable ΔY and ΔS are the errors of the speed and position, respectively. The variable t reflects how long the temperature is changing dramatically. If the variable t is reaching to tens of minutes, the errors ΔY and ΔS are so large that it is a disaster for the spacecraft or satellite. Therefore, it is necessary to study the temperature characteristics of accelerometer and compensate the output value.

In practical application, there are two ways to reduce the influence of temperature on the quartz flexible accelerometer. The one is to add a temperature control device on accelerometer. For example, Yu et al.[6, 7] used the first method. They designed a two-stage robust temperature control device. It was observed that there was almost no change in the accelerometer temperature. But both the big size of the device and the power consumed by the device are not feasible in the aerospace field. Eichstat et al.[8, 9] tried to use software and hardware method to do accelerometer temperature compensation, but they did not give any high precision algorithm. Shinamiya[10] proposed two-phase induction method to analyze the temperature error and conduct the temperature compensation. Shinamiya inserted the temperature compensation circuit to the output winding of the accelerometer. The second way to reduce the influence of temperature is to study the temperature compensation algorithm. The neural network algorithm is used to compensate the accelerometer output in references[5, 1115]. The accelerometer precision is well proved by the neural network algorithm. But the complexity of neural network makes it inappropriate to do the temperature compensation of accelerometer used in aerospace field. The relevant vector machine algorithm was used to compensate thermal bias drift in [16] and a model which contained the temperature and the temperature rate was established. The experimental result proved that thermal bias drift of the accelerometer can be fitted accurately by the model and the mean square error is less than 1%. The static temperature compensation algorithm was given in [17] and temperature drift could be reduced properly. The dynamic temperature compensation algorithm was proposed in [18]. But the rate of change of temperature was not considered in the dynamic compensation. In a word, an accelerometer temperature compensation model, which considers the temperature and the temperature rate, is helpful to improve the precision of accelerometer. It is also the focus of this paper. The paper proposes a static temperature compensation model and a dynamic temperature compensation model. The temperature and the temperature rate are considered in the dynamic model.

The organization of the paper is as follows. Descriptions of the experiment steps are provided in Section 2. Section 3 describes the static temperature model and the results of compensation are shown in Section 4. The dynamic temperature models and results of compensation are described in Section 5. Finally, some conclusions are given in Section 6.

2 Experiment step

The experimental setups and implementation steps should be first considered before the conduct of temperature experiment. The experimental installation diagram is shown in Fig. 1. The whole experiment setup is consisted of 5 sections, the power supply and computer. As shown in Section 1, the rotating disc, which is used to alter the accelerometer input, can be turned in clockwise and counter-clockwise direction. The accuracy of rotating disc is less than 5. The length of rotating disc axis is not greater than 20 cm. The diameter of the rotating disc axis is no more than 10 cm. Therefore, in the vertical direction, the accelerometer centroid fluctuation ranges from 0 to 20 cm. The impact of the gravitational field imposed on the accelerometer is less than 0.031 4 µG. The value is so negligible that it can be ignored. Section 2 describes a thermostat, which is used to change the ambient temperature of accelerometer. The accuracy of the thermostat is less than 0.5µC. Two accelerometers, which are the main objects for the temperature experiment, are installed in Section 3. The relationship between accelerometer output-input values and the temperature is the prime target to research. Near the accelerometer, a temperature sensor named DS18B20 is fixed, shown in Section 4. The sensor is designed to test the temperature of components around accelerometer. Section 5 is designed to collect the output value of temperature sensor and accelerometer. The frequency of collection circuit is greater than 10 Hz. When the high-precision algorithmic compensation of temperature is finished, the coefficients are downloaded to the compensation module of circuit. Then, accelerometer output value can be compensated in time.

Fig. 1
figure 1

Schematic diagram for experimental setup

The experiments used to analyze temperature characteristics of quartz accelerometers can be divided into 2 categories. One is gravity field flip experiment and the other is centrifuge experiment. The 4 points and 8 points, methods are popularly used in gravity field flip experiment. However, the 12 points biaxial orthogonal method is adopted in the paper. Accelerometers are installed on the rotating disc as shown in Fig. 2. Accelerometers A and B are mounted on precision hexahedron. The angle between accelerometers A and B is 90°. When the rotating disc is turned one circle in clockwise or counter-clockwise direction, the accelerometer input ranges from − 1G to 1G. Then, the accelerometers output values are written down. The 12 points include 0°, 30°, 60°, 90°, 120°, 150°, 180°, 210°, 240°, 270°, 300° and 330°. For example, when the accelerometer A is at the point 0°, the accelerometer B is at the point 90°.

Fig. 2
figure 2

Installation axis of accelerometer

The output values at every point (0°, 30°, 60°, 90°, 120°, 150°, 180°, 210°, 240°, 270°, 300° and 330°) are collected by a 24-bit A/D circuit. In clockwise direction, a set of data at each point is acquired as E1j(j = 1, 2, ⋯, 12). In counterclockwise direction, another set of data at each point is acquired as E2j. The average value at every point can be calculated as (2).

$${E_j} = {{{E_{1j}} + {E_{2j}}} \over 2}.$$
(2)

As shown in Fig. 2, the measurement coordinate system includes 3 axes. They are X-axis, Y-axis and Z-axis. Accelerometer A is installed on the X-axis and accelerometer B is installed on the Z-axis. The rotating disc is rotated about Y-axis. The direction of gravity is perpendicular to the ground or Y-axis. When the rotating disc is rotated, the X-axis and Z-axis are turned vertically. The coordinate system of pendulum in accelerometer is inconsistent with the measurement coordinate system. In temperature experiment, the measurement coordinate system for every accelerometer is different. Difference between measurement coordinate system and pendulum coordinate system is dependent on the different installation tool. But the pendulum coordinate system is the same for every accelerometer, which is dependent on the accelerometer craftsmanship. Three axes are considered in the coordinate system of pendulum. For a 3 axes accelerometer, it is required to consider the difference between the 2 coordinate systems. Therefore, the mounting error angles θ i and θ p exist. Installation error angles θ i and θ p are both small angles. The error angles θ i and θ p are determined by the hexahedral accuracy and installation accuracy. The method to reduce the effect of error angle imposed on the accelerometer output is based on the creation of a bi-axial orthogonal model[19, 20]. For understanding the relationship between temperature and the accelerometer’s output value, the experiments under various temperature points are done. The experimental steps are important to note, which are as follows:

  1. 1)

    To install the accelerometers. The accelerometer mechanical zero position is often inconsistent with the electrical output zero position. Rotate the dividing degree head 180° several times in clockwise and counterclockwise in order to find the point of the minimum output value. Then, the point is marked as the accelerometer mechanical zero position.

  2. 2)

    The accelerometers should be preheated 1 hour. Then, the experiment can be performed.

  3. 3)

    To identify the accelerometer temperature model and the simplified data processing, a method called 12 points is implemented. These 12 dividing points are 0°, 30°, 60°, 90°, 120°, 150°, 180°, 210°, 240°, 270°, 300° and 330°.

  4. 4)

    To meet the requirements of temperature range in practical application, the temperature in the experiment ranges from −20°C to 50°C. The method named 12 points was used at intervals of 10°C temperature points in experiments.

3 Static compensation model

To find out the actual state of the accelerometer, 3 axes are considered to discuss the input-output relationship of the accelerometer. They are the input reference axis (IA), the pendulum reference axis (PA) and the output reference axis (OA). The orientations of the 3 axes are determined by the right-hand rule[21, 22]. The relationship between the 3 axes is shown in Fig. 3. Under the action of gravity, the accelerometer output value of 3 axes can be illustrated as (3).

$$\left\{ {\begin{array}{*{20}c} {\alpha _i = \sin (\theta )} \\ {\alpha _p = - \cos (\theta )} \\ {\alpha _o = 0} \\ \end{array} } \right.$$
(3)

where the variable θ is the rotational angle, which is the angle between the accelerometer A and the horizontal line.

Fig. 3
figure 3

The reference axis of accelerometer

The accelerometer model equation is the mathematical relationship between output value E and acceleration’s value along the 3 reference axes. The mathematical relationship is shown as

$$E = {K_1}({K_0} + {\alpha _i} + {K_2}\alpha _i^2 + {K_{ip}}{\alpha _i}{\alpha _p} + {K_{io}}{\alpha _i}{\alpha _o})$$
(4)

where the variable E is the output value of accelerometer. K0 represents the zero bias (G), K1 represents the thermometric scale factor (Y/G), K2 represents the second-order nonlinear coefficient (G/G2). The variable α i represents the accelerometer’s value along the IA-axis (G). The variable α p represents the accelerometer’s value along the PA-axis (G). The variable α o represents the accelerometer’s value along the OA-axis (G). The angle θ in (3) is changed by the rotating disc. Known from (3), the input values of α i and α p can be calculated out. For example, when the angle θ is 0, the value of α i is 0 and the value of α p is − 1G. When the angle θ is 90°, the value of α i is 1G and the value of α p is 0. The characteristic of output value varies with temperature and input acceleration. The relationship between the output value and temperature is established by repeated experimental tests performed in several days. The accelerometer A output values at point 90° are shown in Fig. 4 and the accelerometer B output values at point 270° are shown in Fig. 5. Data in Figs. 4 and 5 indicate that output value is decreasing when it is greater than 0. When the output value is not greater than 0, the absolute value of the output is also decreasing. Given certain acceleration, the accelerometer measurement values fluctuated considerably at different temperatures, resulting in degradation of accelerometer measurement accuracy. Moreover, several measurements show that the law under which the accelerometer output value varied with temperature can be given by (5). Equation (5) reflects a second order function, i.e., the output voltage is related with temperature and acceleration. In (5), the variable E represents the output value of the accelerometer. The variable t represents the temperature (°C). The variable α represents input acceleration.

$$E = f(t,\alpha).$$
(5)
Fig. 4
figure 4

Accelerometer A output value at 90°

Fig. 5
figure 5

Accelerometer B output value at 270°

As shown in Figs. 4 and 5, the output value curves of accelerometer are the result of repeated tests performed in several days. By changing the external ambient temperature, the output value of accelerometer fluctuates dramatically. For example, when the external ambient temperature is changing by 10°C, the variation difference of accelerometer output value is up to 0.5 mV. The variation difference of accelerometer output value is up to 2.25 mV or even more, when the ambient temperature ranges from 50°C to − 20°C. In other words, when the input acceleration is given, the error of output value will be fluctuating from 0.12 mg to 1.405 mg because of fluctuation the external ambient temperature caused[1418]. The variation difference of accelerometer output value is reduced as the temperature is escalated.

The accelerometer output voltage at room temperature 20°C can be seen as a reference voltage. When the ambient temperature of the accelerometer is at other value, the temperature compensation for the output value is needed. The difference voltage between accelerometer output value at 20° C and other temperatures is called ΔE[23, 24]. From (4), it can be known that the difference voltage ΔE is also related with temperature and acceleration. Therefore, the difference voltage ΔE can be calculated as

$$\matrix{{\Delta E = f(t,\alpha) - f(20,\alpha) =} \hfill \cr{{\qquad k_{00}} + {k_{01}} \times t + {k_{02}} \times {t^2} + ({k_{10}} + {k_{11}} \times t + {k_{12}} \times {t^2}) \times} \hfill \cr{\qquad \alpha + ({k_{20}} + {k_{21}} \times t + {k_{22}} \times {t^2}) \times {\alpha ^2}.} \hfill \cr}$$
(6)

Experimental results obtained in several days certify that the difference voltage ΔE can be well described by (5). By using Matlab, the difference voltage ΔE can be fitted perfectly. Also, coefficients in (6) can be calculated easily. The difference voltage ΔE of accelerometer A at every temperature point is illustrated in Figs. 69. The curves in Figs. 69 show that ΔE varies with temperature. From the temperature curve in Figs. 69, every curve reflects that ΔE is related with the value of acceleration at a static temperature point. The difference voltage ΔE changes linearly with the increase of the acceleration when the accelerometer is in the 1st or 2nd quadrant. The difference voltage ΔE increases when the temperature is greater than 20°C and the acceleration increases. The difference voltage ΔE decreases in other situation. When the accelerometer is in the 3rd or 4th quadrant, the trend of ΔE is similar with it as in the 1st or 2nd quadrant. From the horizontal axis in Figs. 69, it is observed that the difference voltage ΔE is related with the temperature. Given the input acceleration, ΔE value is the point on the curves or between them. Using the algorithm of least-squares, the ΔE value in each quadrant can be fitted into a two-order temperature model. Then, all the coefficients in (4) can be calculated. The coefficients of accelerometer A and B are shown in Tables 1 and 2, respectively.

Fig. 6
figure 6

The ΔE value in the 1st quadrant

Fig. 7
figure 7

The ΔE value in the 2nd quadrant

Fig. 8
figure 8

The ΔE value in the 3rd quadrant

Fig. 9
figure 9

The ΔE value in the 4th quadrant

Fig. 10
figure 10

Indicator K0 for accelerometer A

Fig. 11
figure 11

Indicator K1 for accelerometer A

Fig. 12
figure 12

Indicator K0 for accelerometer B

Fig. 13
figure 13

Indicator K1 for accelerometer B

Table 1 The accelerometer A coefficients
Table 2 The accelerometer B coefficients

4 Static compensation result

Using the coefficients in Tables 1 and 2, the changes in difference voltage ΔE can be calculated no matter what the temperature and acceleration is. The compensated voltage is calculated as

$$\matrix{{\bar E = E - \Delta E = E - \{{k_{00}} + {k_{01}} \times t + {k_{02}}{t^2} +} \hfill \cr{({\qquad k_{10}} + {k_{11}} \times t + {k_{12}} \times {t^2}) \times \alpha +} \hfill \cr{({\qquad k_{20}} + {k_{21}} \times t + {k_{22}} \times {t^2}) \times {\alpha ^2}\} =} \hfill \cr{\qquad E - \Delta E = E - \{{k_{00}} + {k_{01}} \times t + {k_{02}} \times {t^2} +} \hfill \cr{{\qquad k_{10}} + {k_{11}} \times t + {k_{12}} \times {t^2}) \times v +} \hfill \cr{({\qquad k_{20}} + {k_{21}} \times t + {k_{22}} \times {t^2}) \times {v^2}\}} \hfill \cr}$$
(7)

where the variable α is the input of accelerometer. The variable v represents the accelerometer output voltage value when the input acceleration is α. In the compensated section, one problem should be considered. That is which quadrant coefficients should be used to calculate the difference voltage ΔE. To solve this problem, both the output voltages of accelerometers A and B are considered. The relationship between quadrant number and the output voltage of accelerometers A and B is shown in Table 3. From Table 3, it can be seen that the quadrant numbers vary with the output voltage of the accelerometers. For example, if both the voltage E1 and E2 are greater than zero, then the 1st quadrant coefficients in Table 1 are adopted to calculate the difference voltage ΔE for accelerometer A and the 2nd quadrant coefficients in Table 2 are adopted to calculate the difference voltage ΔE for accelerometer B. Using (7) and the relationship shown in Table 3, the difference voltage ΔE can be calculated no matter what point the accelerometer is in. Then, the compensated value E can be calculated. Experiments show that the accuracy of output value after compensation is improved greatly. When the temperament ranges from −20°C to50°C, The variation difference after compensation is no more than 0.05 mV and the variation difference without compensated is up to 2.25 mV.

Table 3 Relationship between quadrant number and output voltage

Two indicators are usually considered to evaluate the compensation method. In order to evaluate the effectiveness of the temperature compensation, the technical indicators before and after temperature compensation should be calculated[2527]. Indicators K0 and K1 can be calculated as

$$\left\{{\matrix{{{K_1} = {A_1} + 3{A_2}} \hfill \cr{{K_0} = {A_0} + {B_1}.} \hfill \cr}} \right.$$
(8)

The coefficients A0, A1, A2 and B1 in (8) can be calculated as

$$\left\{{\matrix{{{A_0} = {1 \over n}\sum\limits_{j = 0}^{n - 1} {{E_j}}} \hfill \cr{{A_1} = {2 \over n}\sum\limits_{j = 0}^{n - 1} {{E_j}\sin {\alpha _n}}} \hfill \cr{{A_2} = {2 \over n}\sum\limits_{j = 0}^{n - 1} {{E_j}\sin 3{\alpha _n}}} \hfill \cr{{B_2} = {2 \over n}\sum\limits_{j = 0}^{n - 1} {{E_j}\cos {\alpha _n}}} \hfill \cr}} \right.$$
(9)

where the variable E j represents the average value at every point given by (2). The variable n represents the point number. The variable α represents the angle the rotating disc turns. In the temperature compensation section, two set of data can be collected. The one is the accelerometer output value without compensation. The other is the accelerometer output value after compensation. Using the two set of data, two indicators K0 and K1 can be calculated using (9). Both the compensation results of accelerometers A and Bare shown in Figs. 1013.

5 Dynamic compensation model

The static temperature compensation value at different temperatures can be calculated by the static temperature model, which resolves the static temperature compensation issues. When the external ambient temperature is in the process of changing, the different value in internal temperature of the accelerometer is smaller than that of ambient temperature. The reason is that inertia transform is one of the essential properties of the temperature. The internal temperature lags behind external ambient temperature. The change in internal temperature is so small that the difference value of accelerometer output is smaller. If the static temperature model and measuring temperature were adopted to calculate the compensation value, the compensation effect would be worse. Therefore, the dynamic temperature conduction model is established essentially for accelerometer itself. The dynamic model transforms the external ambient temperature T o to the internal temperature T i in a certain mathematical function when the external ambient temperature changes rapidly. Both the variable T i and the static model are adopted to calculate the compensation value ΔE. Simulation results illustrate that the dynamic model is effective and the accuracy of output value is improved. From the static model, it can be known that the output value is uniquely determined when the temperature reaches equilibrium. In other word, the static temperature. Therefore, the internal temperature can be calculated by the output value. The curves of external ambient temperature and internal temperature are shown in Fig. 14. Three curves, the step temperature curve, actual temperature curve and internal estimated temperature curve, can be seen in Fig. 14. The step temperature is controlled by the thermostat. The actual temperature, which reflects the accelerometer external ambient temperature, is gauged by a sensor named DS18B20. What illustrated in Fig. 14 is that the inside temperature lags outside temperature when the ambient temperature is dramatically changing. When the step of ambient temperature is 10° C, the temperature difference between outside and inside can reach 4°C–6°C. The lag time is up to 900 s when inner temperature reaches equilibrium. If the step of external environmental temperature is larger, the temperature difference between inside and outside will be bigger and the lag time will be longer.

Fig. 14
figure 14

Analysis for the inside and outside temperature

5.1 Dynamic differential conduction model

The internal components of accelerometer consist of metal coils and flexible pendulum modules. The thermal conductivity of these components is greater than that of air. The temperature of each component can be regarded as equal. The narrow space inside the accelerometer can be seen as an isothermal bulk. The main factor considered in temperature conduction is the process in which the heat from air passes through the metal case to the internal components[28,29]. The differential conduction model is illustrated as (10). The variable μ is the thermal conductivity of accelerometer.

$${T_i}(t) = {T_0}(t) + \sum\limits_{j = 0}^{n - 1} {{{{{(- 1)}^i}} \over {{\mu ^i}}}{{{{\rm{d}}^i}{T_0}(t)} \over {{\rm{d}}{t^i}}}.}$$
(10)

Taking the practical application and characteristics of acquisition circuit into account, the higher order differential terms in (10) can be ignored in order to simplify the large amount of calculation in the microcontroller. For example, ignoring the 5th and higher differential terms, (10) is discretized as (11).

$$\matrix{{0 = {L_1}{T_o}(n - {n_1}) + {L_2}{T_o}(n - {n_2}) + {L_3}{T_o}(n - {n_3}) +} \hfill \cr{{\qquad L_4}{T_o}(n - {n_4}) + {T_o}(n) - {T_i}(n)} \hfill \cr}$$
(11)

where the variable n i (i=1, 2, 3, 4) is the number of samples in the period of equal time. When the sampling frequency is high, it is essential to use the method of sampling interval so that to meet the third-order differential item requirement in (11). In the dynamic temperature test, the accelerometer output value and temperature inside thermostat can be collected in time. The internal temperature of accelerometer will be changed slowly. The slow process can be reflected by the slope of the output curve. Known from the static experiments, the internal temperature of accelerometer can be calculated by the output value. The size of output value reflects how high the internal temperature is, namely that the variable T i (n) in (11) can be estimated by the size of output value. The different rate of temperature change can be regulated by the thermostat so that each differential item in (11) can be known. Then, the coefficients L1, L2, L3 and L4 in (11) can be calculated. In the dynamic experiments, the sampling interval time is 90 s. A data set of 8 elements are written down so that the temperature in 720 s can be remembered by an array. The difference and the rate of change of the temperature array will be known. The coefficients in the differential conduction model can be calculated. Then, the sampling interval time can be set as 90 s, 120 s, 150 s and 180 s. The coefficients in different sampling interval time can be calculated as shown in Table 4. Using these coefficients, the compensation value can be calculated by (11). The criterion to evaluate the compensation effect is given as the standard deviation. Adopting this criterion, the standard deviation of compensation result at different coefficients can be illustrated as Fig. 15.

Fig. 15
figure 15

Standard deviation at different interval time

Table 4 Coefficients for the differential model

The curve in Fig. 15 shows standard deviations in every condition. The value one in Fig. 15 is the volatility of output value compensated by the static model. The others in Fig. 15 are the volatility of output values compensated by the differential conduction model with the interval time 60 s, 90 s, 120 s, 150 s and 180 s, respectively. From Fig. 15, it can be known that the static compensated error is the maximum value among the 6 items. That is also the reason why the static model is not applicable when the temperature changes rapidly and it is essential to study dynamic temperature conduction model. In the dynamic model, the standard deviation is different when the different coefficients are used. The optimal sampling interval time is 120 s as shown in Fig. 15. When the sampling interval time is 120 s, the coefficients in Table 5 are adopted to compensate the accelerometer output value. The accelerometer internal temperature will be calculated as (12):

$$\matrix{{{T_i}(n) = {T_o}(n) - 0.24{T_o}(n - {n_1}) - 0.54{T_o}(n - {n_2}) -} \hfill \cr{\qquad 0.55{T_o}9(n - {n_3}) - 2.24{T_o}(n - {n_4}).} \hfill \cr}$$
(12)
Table 5 Coefficients for the differential model

Substituting T i (n) in (12) by T in (6) gives the output value compensation. When the external ambient temperature is changing as the curve of actual temperature shown in Fig. 14, the dynamic compensation is done and the result is shown in Fig. 16. From Fig. 16, it can be seen that the maximum error of output value without compensation is up to 1.38 mG. The maximum error of static compensation is 0.24 mG. The maximum error of dynamic differential compensation is 0.16 mG.

Fig. 16
figure 16

Comparison between differential model and static model

5.2 Dynamic weighted average model

According to the analysis of the characteristics of temperature, the internal temperature of accelerometer can be regarded as the result of the combined effect of current ambient temperature and temperature in the past[30, 31]. Therefore, the value of internal temperature can be considered as the weighted average of the outside temperature in different time. The weighted average model can be formulated as (13)

$$\left\{{\matrix{{{T_i} = {L_0}{T_0}({n_0}) + {L_1}{T_0}({n_1}) + \cdots + {L_k}{T_0}({n_k})} \hfill \cr{{L_0} + {L_1} + {L_2} + \cdots + {L_k} = 1} \hfill \cr}} \right.$$
(13)

where the variables T o (n0), T o (n1), T o (n2), ⋯, T o (n k ) respectively represent the external ambient temperature in the time n0, n1, n2, ⋯, n k . The variables L0, L1, ⋯, L n are the weighted coefficients in different time. The variable k represents the number of compensation item in (13). In the dynamic experiments, the compensation item k is changed from 3 to 7. The sampling time interval is 120 s and 7 data points of equal time intervals are written down so that the temperature in 840 s can be remembered by an array. The 7 sample values at different time are selected for compensation. The weighted average coefficients of external ambient temperature in different time (past and current) can be calculated. Therefore, there is a group of 5 compensation coefficients because the compensation item number is 5. All the coefficients in (12) are shown in Table 5. Adopting the standard deviation criterion to evaluate the compensation effect, the standard deviation of compensation result at different coefficients can be illustrated as Fig. 17. The curve in Fig.17 shows standard deviations in every condition. The value one in Fig. 17 is the volatility of output value compensated by the static model. The others in Fig. 17 are the volatility of output value compensated by the weighted average model with the compensation item 3, 4, 5, 6, 7, respectively. From Fig. 17, it can be known that the static compensated error is maximum value among the 6 items. In the dynamic weighted average model, the standard deviation is decreasing with the increasing number of compensation item. In the application, the compensation items are selected as 7 items. The accelerometer internal temperature will be calculated as (14):

$$\matrix{{{T_i}(n) = 0.3{T_o}({n_0}) + 0.19{T_o}({n_2}) + 0.03{T_o}({n_3}) +} \hfill \cr{\qquad 0.15{T_o}({n_4}) + 0.33{T_o}({n_6}).} \hfill \cr}$$
(14)
Fig. 17
figure 17

Comparison between differential model and static model

Substituting T i (n) in (13) by T in (6) gives the output value compensation. The weighted average compensation is done and the result is shown in Fig. 18. From Fig. 18, the maximum error of dynamic weighted average compensation is 0.12 mG.

Fig. 18
figure 18

Comparison between weighted average model and static model

6 Conclusions

This research focuses on the temperature characteristics of the accelerometer and temperature compensation. The method called orthogonal 12 points is adopted to find out the relationship between the output voltage and the temperature. Then, the compensation way is designed to calculate the difference voltage ΔE. How to find out the coefficients of ΔE is a focus in the compensation program. Based on the compensation program, the output voltage after compensation is calculated as (8). Experiment data demonstrate that

  1. 1)

    The accuracy of output value is improved from 10−5 G to 10−6G.

  2. 2)

    The volatility of zero bias is improved from 9.8 × 10−5 Gto1.9 × 10−6 G.

  3. 3)

    The volatility of scale factor is improved from 5.17 × 10−4 V/G to 1.31 × 10−5 V/G.

Then, the dynamic conduction models are studied. Differential temperature conduction model can reflect the external ambient temperature rate. According to external temperature and temperature rate, the internal temperature can be estimated and output value can be compensated by the static model. Weighting average model reflects that the internal temperature can be regarded as result of the outside temperature effect at different time. The contradistinction of 3 dynamic compensation effect is shown in Table 6. The advantage and disadvantage of 3 models can be seen in Table 6. Both the simulation and experiment verified that 3 models can reduce the impact of temperature impose on accelerometers output value in dynamic process.

Table 6 Comparison between different models

Where the model A means that the output value is not compensated by any method. The model B means that the output value is compensated by the static method. The models C and D mean that the output values are compensated by differential conduct model and weighted average model, respectively. Shown in Table 6, the accuracy of accelerometer output value compensated by dynamic model is higher than that of static model. Compared with methods in [1115], the differential conduction model and weighted average model are more favorable in practical application.