Professional Documents
Culture Documents
Tri-Adaptive Method For Improving The Resolution of MEMS Digital Sensors
Tri-Adaptive Method For Improving The Resolution of MEMS Digital Sensors
Tri-Adaptive Method For Improving The Resolution of MEMS Digital Sensors
fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TIE.2018.2883259, IEEE
Transactions on Industrial Electronics
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS
0278-0046 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TIE.2018.2883259, IEEE
Transactions on Industrial Electronics
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS
II. A LGORIT HM DESIGN PROCESS Fig. 1. T he flow chart of the tri-adaptive method proposed in this paper.
In order to simply and clearly explain the main features of Method 3. The Tri-adaptive Method
the proposed method, let us review the characteristics of digital 1: input (A)
𝑅𝑎𝑛𝑔𝑒1, 𝑤ℎ𝑒𝑛 𝐴 ≤ 𝑅𝑎𝑛𝑔𝑒1
sensors first. For digital sensors, the most remarkable feature is 𝑅𝑎𝑛𝑔𝑒2, 𝑤ℎ𝑒𝑛 𝑅𝑎𝑛𝑔𝑒1 < 𝐴 ≤ 𝑅𝑎𝑛𝑔𝑒2
the discreteness of output. For example, the output frequency is 2: S = {
𝑅𝑎𝑛𝑔𝑒3, 𝑤ℎ𝑒𝑛 𝑅𝑎𝑛𝑔𝑒2 < 𝐴 ≤ 𝑅𝑎𝑛𝑔𝑒3
100Hz, i.e., the time interval between two adjacent output 𝑅𝑎𝑛𝑔𝑒4, 𝑜𝑡ℎ𝑒𝑟𝑤ℎ𝑖𝑠𝑒
S
values is 0.01 second. It is unreasonable to think that the true 3:μ =
𝑅𝑎𝑛𝑔𝑒1
value does not change within 0.01 second. In fact, the true value 4:SF = μ ∙ SF0
is always changing even within a 0.01 second intervals. 5:OF = μ ∙ OF0
1
However, it is entirely reasonable to believe that the mean of 6:ai = ∑μj=1 bj
μ
the true value is constant within 0.01 second in mathematical 7: output (a)
statistics. In other words, it is reasonable to transform the data
The flow chart of the tri-adaptive method is shown in Fig. 1,
acquired in high frequency to the equivalent data in low
and the corresponding mathematical implementation is shown
frequency by weighting the sum of the data acquired in high
in method 3. The proposed method will be discussed in detail
frequency, whose essence is data fusion. The following is a
in the following.
brief description of the design process of the proposed method,
First, we should configure the sensor, including the
which may help readers understand the design ideas of the
initialization of sampling frequency, output frequency and
method well. The first is how to estimate the range adaptively.
range, etc. As shown in table 1, the default sampling frequency
It is a prerequisite to make maximu m use of sensor resolution.
is 1000 Hz (SF0). It is worth mentioning that the
If the range is the minimum range, the resolution can hardly be
communication with all registers of the device is performed
improved because of the limitations of the sensor itself. Namely ,
using I2 C at 400k Hz or SPI at 1M Hz. For applications
the ceiling of sensor resolution is the resolution corresponding
requiring faster communications, the sensor and interrupt
to its minimum range. In order to improve the resolution of the
registers may be read using SPI at 20M Hz. The default output
sensors, the data fusion is necessary if the estimated range is
frequency is 100 Hz (OF0), which can meet the most real-time
not the minimum range. In order to keep the output frequency
application requirements . The initial range is set to the
in sync with the sampling frequency, both of them should vary
maximu m range, which will be explained in the following.
proportionately. For data fusion, the simplest way is to take the
Then, the data reading ‘A’ can be acquired. And we should
mean of the redundant data. The redundant data indicates that
judge whether ‘A’ exceeds the maximu m range. If the judgment
more data can be acquired per unit time by increasing the
is yes, then output error or overflow information. Or else, then
sampling frequency and output frequency synchronously,
followed the core of the algorithm. It is important to note that
which can be combined to generate high resolution data.
0278-0046 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TIE.2018.2883259, IEEE
Transactions on Industrial Electronics
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS
the proposed method can work only when the measured value frequency should be increased, and the new sampling frequency
is less than the maximu m range the sensors can be configured. is estimated according to (3).
SF = μ ∙ SF0 (3)
A. Range Estimation
The corresponding estimation of the output frequency is
In order to match the appropriate range within a limited time shown in (4).
and search steps, we absorb the idea of a hash lookup table [20], OF = μ ∙ OF0 (4)
[21], and our method is as follows: It can be seen from (3) and (4), the sampling frequency and
First, the initial range is set to the maximu m range. The output frequency change in the same proportion, i.e., both have
reading value (A) can be used to estimate the current range (S) the same proportional transformation. In fact, the output
by the following formula. frequency can be considered as secondary sampling, i.e.
𝑅𝑎𝑛𝑔𝑒1, 𝑤ℎ𝑒𝑛 𝐴 ≤ 𝑅𝑎𝑛𝑔𝑒1
𝑅𝑎𝑛𝑔𝑒2, 𝑤ℎ𝑒𝑛 𝑅𝑎𝑛𝑔𝑒1 < 𝐴 ≤ 𝑅𝑎𝑛𝑔𝑒2
resampling. Therefore, the output frequency can be regarded as
S={
𝑅𝑎𝑛𝑔𝑒3, 𝑤ℎ𝑒𝑛 𝑅𝑎𝑛𝑔𝑒2 < 𝐴 ≤ 𝑅𝑎𝑛𝑔𝑒3
(1) a function of the sampling frequency. The linear transformation
𝑅𝑎𝑛𝑔𝑒4, 𝑜𝑡ℎ𝑒𝑟𝑤ℎ𝑖𝑠𝑒 relation between the input and output is to facilitate data
Hereto, we only need one search step to estimate the synchronization when taking the requirements of real-time data
appropriate range, and the time complexity is log (1). processing into consideration.
The required working hypotheses for the applicability of the The following will discuss how to fuse the redundant data.
method will be properly stated in the following. In particular,
C. Data Fusion
to properly select the range and sampling/output frequency, it
is first necessary to sample the measured quantity A. Then, the The schematic diagram of data fusion is as shown in Fig. 2,
optimal selections can be used for the next quantity. However, and the corresponding mathematical expression is shown in (5).
if the quantity to be measured is rapidly varying between 𝑁𝑒𝑤 𝐷𝑎𝑡𝑎 = W1 • Data1 + W2 • Data2 +··· +Wn • Datan (5)
successive sampling instants, it could happen that the optimal Low Resolution
selection obtained for certain sampling instant is not so for the
successive one. It is therefore necessary to assume that W1 W2 Wn
variations of the measured quantity are rather slow compared to
Data1 + Data2 + … + Datan
the sampling time. In fact, we can evaluate the required working
hypotheses quantificationally for the applicability of the
method unnecessary. The method used in this paper tends to
increase the sampling frequency with the change in range, the
maximu m variations allowed from a sampling perspective will High Resolution New Data
change with the increase in sampling frequency. The maximal
variation of the measured quantity is only 0.25° within 0.001 Fig. 2. T he schematic diagram of data fusion.
second in all the ranges. Hence, it is necessary to assume that
Where Wi (i ∈ [1, n] ) is the weight factor. The simplest
the successive variations of the measured quantity are less than
fusion method is to take the mean of the redundant data, i.e.,
0.25° within 0.001 second.
W1=W2=…= Wn, as shown in (6).
The next step is to estimate the sampling frequency and 1 μ
output frequency to acquire the redundant data for data fusion. ai = ∑j =1 bj (6)
μ
Where b j and ai have been defined in table 1.
B. Sampling/Output Frequency Estimation
In fact, the essence of weight allocation of data is the
The sampling frequency and output frequency can also affect numerical integration. The numerical integration methods have
the resolution of data output. The analysis is as follows. The been extensively studied such as interpolation polynomials [22],
output of the digital sensor is discrete, and the output result is Newton-Cotes formula [23], composite numerical integration
the statistical value of a specific time period, which is the [24], Romberg integration [25], Gauss quadrature formulas [26]
inverse of the output frequency. Based on the aforementioned and so on. It is worth mentioning that the method studied in this
analysis, we can introduce the following ideas to make up for paper is aimed at real-time data processing. Thus, it requires the
the defect of decreased resolution of measured value caused by complexity of the data fusion algorithm to be as low as possible.
the increase of the range. The idea is that if the resolution of the In terms of the precision of data fusion, the equal weight data
measured value decreases in unit time, we can increase the
sampling frequency and output frequency accordingly and fuse
redundant data to improve the resolution. The following will
discuss how to adjust the sampling frequency and output
frequency according to the estimated range. The factor μ is
defined to indicate the rate of the current range and the
minimum range, as shown in (2).
S
μ= (2)
𝑅𝑎𝑛𝑔𝑒1
To a large extent, μ determines the deviation degree of the
resolution of current measurement and the highest resolution.
The larger μ, the worse the resolution is. In order to suppress
the tendency of resolution deterioration, the sampling Fig. 3. T he physical photo of the hardware based on MPU6050
0278-0046 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TIE.2018.2883259, IEEE
Transactions on Industrial Electronics
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS
X-axis of Gyroscope
300 Z-axis of Gyroscope
Y-axis of Gyroscope
200
Degree/Second
100
-100
-200
Degree/Second
100
accelerometer. MPU9250 is a multi-chip module (MCM)
consisting of two dies integrated into a single QFN package. 0
One die houses the 3-axis gyroscope and the 3-axis -100
accelerometer. The other die houses the AK8963 3-axis
magnetometer from Asahi Kasei Microdevices Corporation. -200
0278-0046 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TIE.2018.2883259, IEEE
Transactions on Industrial Electronics
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS
∗ 𝑟4 (7)
500 10 0.01526±4.4E 0.01236±3.4E |𝑅𝑎𝑛𝑔4|
Where r1, r2, r3 and r4 are provided in table 3 or table 4.
600 10 0.03049±4.6E 0.02054±3.3E The average resolution of the compared methods is as shown
700 10 0.03049±4.7E 0.02098±3.5E in Fig. 9. The results show that the proposed method improves
800 10 0.03049±4.8E 0.02138±4.1E the resolution by 22.5% compared with method 2 and by 47.9%
900 10 0.03049±5.1E 0.02156±3.7E
compared with method 1.
1000 10 0.03049±6.3E 0.02164±3.8E
1100 10 0.061±11.3E 0.04417±6.1E
0.07
1200 10 0.061±12.1E 0.04448±6.4E The Resolution Based on Method 2
The Resolution Based on The Proposed Method (Method 3)
10 0.06
1300 0.061±13.5E 0.04475±6.5E
1400 10 0.061±14.7E 0.04496±6.7E 0.05
10
Resolution(°/s/LSB)
Method 2
0.05
between method 2 (inherent accuracy) and method 3 are as The Proposed Method In This Paper
method 2.
0.02
By analyzing table 2 and Fig. 8 carefully, we can find that
the precision of data output by the proposed algorithm hardly 0.01
changes with the rotational speed when the speed is less than
250°/s, because the resolution of minimum range is the ceiling 0.00
0278-0046 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TIE.2018.2883259, IEEE
Transactions on Industrial Electronics
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS
T ABLE III
T HE RESULTS BASED ON TEST PLATFORM 1
Inherent Accuracy T he Worst Resolution of The Proposed
Range(°/s) Improvement Percentage (%)
(°/s/LSB) Method (°/s/LSB)
Rang1 0.00763 (r1) 0.00763 0
Rang2 0.01526 (r2) 0.01236 23.46
Rang3 0.03049 (r3) 0.02164 40.90
Rang4 0.06100 (r4) 0.04561 33.74
T ABLE IV
T HE RESULTS BASED ON TEST PLATFORM 2
Inherent Accuracy T he Worst Resolution of The Proposed
Range(°/s) Improvement Percentage (%)
(°/s/LSB) Method (°/s/LSB)
Rang1 0.00763 (r1) 0.00763 0
Rang2 0.01526 (r2) 0.01243 22.77
Rang3 0.03049 (r3) 0.02237 36.30
Rang4 0.06100 (r4) 0.04641 31.44
0278-0046 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TIE.2018.2883259, IEEE
Transactions on Industrial Electronics
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS
adaptive sampling frequency and adaptive output frequency, is [16] J. Fei, C. Lu, “Adaptive sliding mode control of dynamic systems using
proposed in this paper. The core idea of the proposed method is double loop recurrent neural network structure,” IEEE Trans. on Neural
Network and Learning System, vol. 29, DOI
that data fusion, i.e., several low-resolution data can be 10.1109/TNNLS.2017.2672998, no. 4, pp. 1275-1286, Mar. 2018.
combined to generate high resolution data. In order to verify the [17] J. Fei and C. Lu, “ Adaptive fractional order sliding mode controller with
performance of the proposed algorithm adequately, we set up neural estimator,” Journal of the Franklin Institute, vol. 355, no. 5, pp.
2369-2391, 2018.
two test platforms based on MPU6050 and MPU9250,
[18] R. Antonello, R. Oboe, L. Prandi and F. Biganzoli, “ Auto matic mode
respectively. Besides, we conduct a series of turntable matching in MEMS vibrating gyroscopes using extremum-seeking
experiments and numerical simulation experiments. The results control,” IEEE Transactions on Industrial Electronics, vol. 56, DOI
show the method discussed in the paper is in possession of 10.1109/TIE.2009.2020707, no. 10, pp. 3880-3891, Oct. 2009.
expansibility and can be generally used. The idea of tri-adaptive [19] W. M. Zhang, H. Yan, Z. K. Peng, et al, “ Electrostatic pull-in instability
in MEMS/NEMS: A review,” Sensors & Actuators A Physical, vol. 214,
method is potential to be of interest for a large audience, and DOI 10.1016/j.sna.2014.04.025, no. 4, pp. 187-218, May. 2014.
can be applied in industrial robots, medical electronics and [20] T . T akeguchi and S. Kaneko, “Using depth aspect images for robust and
other fields. efficient search of multiple objects in optomechatronic sensing,” IEEE
Transactions on Industrial Electronics, vol. 52, DOI
10.1109/TIE.2005.851660, no. 4, pp. 1041-1049, Aug. 2005.
References [21] S. Eghbali and L. T ahvildari, “Fast cosine similarity search in binary
[1] M. C. Chang, T . Yu, J. Luo, et al, “Multimodal sensor system for pressure space with angular multi-index hashing,” IEEE Transactions on
ulcer wound assessment and care,” IEEE Transactions on Industrial Knowledge and Data Engineering, DOI 10.1109/TKDE.2018.2828095,
Informatics, vol. 14, DOI 10.1109/TII.2017.2782213, no. 3, pp. 1186- IEEE, pp. 1-1. 2018.
1196, Mar. 2018. [22] A. M. Acu and D. F. Sofonea, “ Some numerical integration methods
[2] R. Smith, D.R. Sparks, D. Riley and N. Najaft, “A MEMS-based coriolis based on interpolation polynomials,” Carpathian Journal of Mathematics,
mass flow sensor for industrial applications,” IEEE Transactions on vol. 29, no. 1 pp:1-8, 2013.
Industrial Electronics, vol. 56, DOI 10.1109/TIE.2008.926703, no. 4, [23] A. I. Zadorin and N. A. Zadorin, “Analogue of Newton–Cotes formulas
pp.1066-1071, Apr. 2009. for numerical integration of functions with a boundary-layer component,”
[3] C. M. N. Brigante, N. Abbate, A. Basile, A.C. Faulisi and S. Sessa, Computational Mathematics & Mathematical Physics, vol. 56, no. 3, pp.
“ T owards miniaturization of a mems-based wearable motion capture 58-366, 2016.
system,” IEEE Transactions on Industrial Electronics, vol. 58, DOI [24] H. T . Rathod, K. V. Nagaraja and B. Venkatesudu, “ Symmetric Gauss
10.1109/TIE.2011.2148671, no. 8, pp. 3234-3241, Aug. 2011. Legendre quadrature formulas for composite numerical integration over a
[4] G. X. Liu, L. F. Shi, J. H. Xun, S. Chen, L. Zhao L and Y. F. Shi, triangular surface,” Applied Mathematics & Computation, vol. 188, no. 1,
“ Orientation estimation algorithm based on multi-source information pp. 865-876, 2007.
fusion,” Measurement Science and Technology, vol. 29, DOI [25] T . Allahviranloo, “ Romberg integration for fuzzy functions,” Applied
10.1088/1361-6501/aadc4c, no. 11, pp. 115101, Sep. 2018. Mathematics & Computation, vol. 168, no. 2, pp. 866-876, 2005.
[5] R. Harle, “ A survey of indoor inertial positioning systems for pedestrians,” [26] D. P. Laurie, “ Computation of Gauss-type quadrature formulas,” Journal
IEEE Communications Surveys and Tutorials, vol.15, DOI of Computational & Applied Mathematics, vol. 127, no. 1, pp. 201-217,
10.1109/SURV.2012.121912.00075, no. 3, pp. 1281-1293, Jul. 2013. 2001.
[6] E. Esashi, “ Wafer level packaging of MEMS,” Journal of
Micromechanics and Microengineering, vol. 18, DOI 10.1088/0960- Gong-Xu Liu received the B. Eng. degree
1317/18/7/073001 no. 7, pp. 073001, May. 2008.
[7] A. C. Fischer, F. Forsberg, M. Lapisa, et al, “Integrating MEMS and ICs,” in electrical science and technology from
Microsystems &Amp; Nanoengineering, DOI 10.1038/micronano.2015.5, North University of China, Taiyuan, China,
2015. in 2015. Currently, he is pursuing the Ph. D
[8] F. Edalatfar, B. Yaghootkar, A.Q.A. Qureshi, S. Azimi and B. Bahreyni,
degree in circuits and systems at Xidian
“ Design, fabrication and characterization of a high performance MEMS
accelerometer,” Sensors, 2017, DOI 10.1109/ICSENS.2016.7808650, pp. University, Xi’an, China. His current
1-3. research interests are indoor positioning,
[9] H. Xing, B. Hou, Z. Lin and M. Guo, “Modeling and compensation of multi-sensor fusion, inertial navigation
random drift of mems gyroscopes based on least squares support vector coverage includes accelerometer and
machine optimized by chaotic particle swarm optimization,” Sensors, vol.
17, DOI 10.3390/s17102335, no. 10, pp.2335, Oct. 2017. gyroscope technology, initialization, alignment, zero velocity
[10] K. Abdulrahim et al, “On magnetometer heading updates for inertial updates, attitude solution, etc.
pedestrian navigation system,” Gyroscopy and Navigation, vol. 5, DOI
10.1134/S207510871403002X, no. 3, pp. 145-152, Oct. 2017. Available:
http://eprints.nottingham.ac.uk/id/eprint/33190 Ling-Feng Shi received the B. S. degree
[11] Y. T enzer, L. P. Jentoft, R. D. Howe, “The feel of MEMS barometers: in electronic engineering from Jiliang
inexpensive and easily customized tactile array sensors,” IEEE Robotics University of China, Hangzhou, China, in
and Automation Magazine, vol. 21, DOI 10.1109/MRA.2014.2310152, 1995 and both the M. S. degree and Ph. D
no. 3, pp. 89-95, Aug. 2014.
[12] S.E. Lyshevski, “Signal processing in cyber-physical MEMS sensors:
in electronic engineering from Xidian
inertial measurement and navigation systems,” IEEE Transactions on University, Xi’an, China, in 2003 and
Industrial Electronics, vol. 64, DOI 10.1109/TIE.2017.2701783, no. 12, 2008 respectively. He is a professor as the
pp. 9618-9625, Dec. 2017. Institute of Electronic CAD, Xidian
[13] G. X. Liu and L. F. Shi, “Adaptive algorithm of magnetic Heading
detection”, Measurement Science and Technology, vol. 28, DOI
University, China. He is currently
10.1088/1361-6501/aa8257, pp. 1-8, Oct. 2017. engaged in research on position and navigation, high -speed
[14] L. Dong and D. Avanesian, “Drive-mode control for vibrational mems circuit design, power electronic system design, electronic
gyroscopes,” IEEE Transactions on Industrial Electronics, vol. 56, DOI system integrated design, and signal integrity analysis. He has
10.1109/TIE.2008.2010088, no. 4, pp. 956-963, Apr. 2009.
[15] Y. Fang, J. Fei and T . Hu, “Adaptive backstepping fuzzy sliding mode authored more than 60 journal papers (including IEEE and IET)
vibration control of flexible structure,” Journal of Low Frequency Noise and ten international conference papers.
Vibration & Active Control, DOI: 10.1177/1461348418767097, pp. 1-18,
2018.
0278-0046 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TIE.2018.2883259, IEEE
Transactions on Industrial Electronics
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS
0278-0046 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.