Escolar Documentos
Profissional Documentos
Cultura Documentos
Topic of project:
MEMS ACCELEROMETERS, PRINCIPLES OF
OPERATION, ERROR ANALYSIS
SUPERVISOR
ANTONI KOPYT, M. Sc., Eng
DONE BY
OLEH SHULIMOV, student
280738
WARSAW 2016
CONTENT
1. INTRODUCTION ..................................................................................................... 4
2. BASIC THEORETICAL INFORMATION ............................................................. 5
2.1 MEMS Accelerometers Implementation ............................................................. 5
2.2 Architecture and operational principle of MEMS accelerometers ...................... 7
2.3 Error and noise analysis ..................................................................................... 10
3. CONCLUSION ....................................................................................................... 11
4. PROBLEM DESCRIPTION AND METHOD OF SOLUTION ............................ 12
4.1 Input and output representation .......................................................................... 18
5. CONCLUSION ....................................................................................................... 26
6. REFERENCES ........................................................................................................ 27
APPENDIX A ......................................................................................................... 28
APPENDIX B ......................................................................................................... 31
1. INTRODUCTION
MEMS it is abbreviation that means microelectromechanical systems. These
are miniature devices that contain microelectronic and micromechanical components.
Daily we use variety of devices that are based on MEMS technology. The simplest
example of microelectromechanical systems is an accelerometer that is used in all
modern smart phones, gaming consoles and hard drives. At present MEMS
accelerometer has became important part of many systems. Its solution is used in the
automotive industry, military industry, medicine and particularly in aerospace
industry. [1]
The aim of this project is considerable learning of MEMS accelerometers,
including knowledge acquisition relating its spheres of implementation, operational
principle, consideration of error and noise appearance.
(micro
electro-mechanical
systems)
accelerometer.
Today
MEMS
most
common
type
of
accelerometer
is
piezoelectric
system
accelerometers. Just as in the capacitor accelerometers, they are based on proof mass,
pressure of which acts on the piezoelectric crystal. Under the pressure it generates an
electric current that allows calculating the required acceleration, knowing the
parameters of the entire system. There is another type of accelerometer that is
fundamentally different from the capacitor and the piezoelectric accelerometer. These
accelerometers are called thermal. Their architecture involves the use of an air
bubble. During the acceleration the bubble is deflected from its initial position and
accelerometer fixes it. Knowing how much shifted bubble motion, the acceleration
can be calculated. [1]
Simple mass spring system is the main key principle of MEMS accelerometer
working. Hookes law physically controls spring movement inside an accelerometer.
7
Hooke's law is a principle of physics that states that the force needed to extend or
compress a spring by some distance is proportional to that distance. That is: where is
a constant factor characteristic of the spring, its stiffness.[3]. Mathematically
Hookes law has a form:
where
[ ] stiffness of spring, its constant factor characteristic, N/m;
[ ] displacement of spring, m;
[ ] force to compress or extend spring, N;
Another very important physical rule that underlies working of MEMS
accelerometer is Newtons second law. It states that force acting on the accelerated
mass will produce the force with magnitude. Mathematically Newtons second law
looks like:
where
[ ] mass of the proof mass, g;
[ ] acceleration m/s2;
where
[
10
3. CONCLUSION
MEMS technology has been advanced with time. One of the popular MEMS
technology device accelerometer has became important part of modern life. Although
first accelerometers were constructed for industrial and automotive purposes, today it
evolved to use for personal goals. Our ordinary devices use MEMS accelerometer
technology to make a lot of things easier and improve it. Moreover, scientists plan to
implement it more and more in the near future. Therefore, research in this topic is
very actual at present.
There was considered main areas of implementation of MEMS accelerometer,
its design and basic principle of operation. Possible errors and noise factor during
MEMS accelerometer usage were regarded.
11
12
Basic part of the experiment was to move physically the tablet. This movement
caused displacement of accelerometer proof mass and acceleration was occurred.
During experiment there was decided to move tablet changing its pitch and roll
angles. Following pictures represent initial and final position of tablet during both
experiments:
13
Fig. 4.2 Initial and final position of the tablet during first experiment
Graphically it looks like:
Z
Y
X
14
Fig. 4.4 Initial and final position of the tablet during second experiment
Graphically it looks like:
Z
2. After the data were extracted, along each axis displacement of proof mass
was calculated using optimized design parameters of capacitive MEMS
accelerometer such as spring constant and mass of the proof mass. Optimized data
were taken from one of the scientific articles [7]. Displacement along each of axis
was calculated from equation:
where,
[
[
,[
[
4. Also the velocity along axis X was found using integration of acceleration
along axis X:
5. Using special function in Matlab, there was added Gaussian white noise to
measured acceleration. The signal-to-noise ratio per sample is 30 dB.
6. Then displacement with some error was computed. Method of calculation
remained the same as on step number 2.
7. To minimize the appearance of noise during the measurements, Gaussian
low pass filter with equiripple single-rate or multirate FIR filter design was applied. It
was used with some specifications such as frequency at the start of the pass band
equal 100 Hz, frequency at the end of the stop band equal 220 Hz, amount of ripple
16
allowed in the pass band is 60 dB and attenuation in the stop band is 0.5 dB. After it
implementation acceleration data along each axis were filtered.
8. In this step displacement in accordance to the filtered acceleration was
received. Method was used as on the previous steps.
9. Finally, after all computations graphs were built.
17
x 10
2.5
Z, m
1.5
1
0.5
1
-5
0
0
-7
x 10
-0.5
10
15
-7
20
-1
Y, m
x 10
X, m
10
Velocity, m/s
-2
0
0.5
1.5
2.5
Time, s
3.5
4.5
10
-10
-20
-30
-40
-50
-60
0.5
1.5
2.5
Time, s
3.5
4.5
4
2
0
-2
-4
-6
-8
-10
0.5
1.5
2.5
Time, s
3.5
4.5
19
8
Measured acceleration
Measured acceleration with added noise
Filtered acceleration by Gaussian low pass filter
Acceleration, m/s. 2
6
5
4
3
2
1
0
-1
0.5
1.5
2.5
Time, s
3.5
4.5
0.5
0.4
Acceleration, m/s. 2
0.3
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
0.5
1.5
2.5
Time, s
3.5
4.5
20
13
Measured acceleration
Measured acceleration with added noise
Filtered acceleration by Gaussian low pass filter
12
Acceleration, m/s. 2
11
10
9
8
7
6
5
4
0.5
1.5
2.5
Time, s
3.5
4.5
21
-6
x 10
3
2.5
Z, m
1.5
0.5
-15
-10
-5
-1
-8
-6
-2
x 10
x 10
-3
Y, m
X, m
Velocity, m/s
0.3
0.25
0.2
0.15
0.1
0.05
0
6
Time, s
10
12
22
3.5
3
2.5
2
1.5
1
0.5
0
-0.5
-1
-1.5
6
Time, s
10
12
-10
-20
-30
-40
-50
-60
-70
6
Time, s
10
12
23
Measured acceleration
Measured acceleration with added noise
Filtered acceleration by Gaussian low pass filter
0.5
0.4
Acceleration, m/s. 2
0.3
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
0
6
Time, s
10
12
Acceleration, m/s. 2
-2
-4
-6
-8
-10
0
6
Time, s
10
12
Measured acceleration
Measured acceleration with added noise
Filtered acceleration by Gaussian low pass filter
12
Acceleration, m/s. 2
10
6
Time, s
10
12
25
4. CONCLUSION
During performance of the project all expected parameters were received. Set
up value of angle and time of rotation during experiment were realized. Different
graphs were built. Results of all computations were displayed using simulation and
visualization method.
Using this computer program it is possible to analyze desired movement of
MEMS accelerometer and to get goal values.
26
5. REFERENCES
1. http://www.ferra.ru/ru/techlife/review/mems-part-1/#.VmBkhnYvfIW
2. Matej Andrejai, MEMS accelerometers, pp. 2-3, March 2008
3. https://en.wikipedia.org/wiki/Hooke%27s_law
4. http://soundlab.cs.princeton.edu/learning/tutorials/sensors/node9.html
5. http://www.globalspec.com/learnmore/sensors_transducers_detectors/acceler
ation_vibration_sensing/accelerometers
6. http://www.phidgets.com/docs/Accelerometer_Primer
7. Kanchan Sharma, Isaac G. Macwan,
27
APPENDIX A
Program code
clc
clear all
close all
%input data for optimized MEMS accelerometer
m=0.42e-6;%g. optimized mass of proof-mass
k=1.784;%n/m optimized stiffness of spring
%read data from text file
a1=textread('D:\1\mmm_x.txt');
ax=a1(:,1)';%acc
tx=a1(:,2)';%time
a2=textread('D:\1\mmm_y.txt');
ay=a2(:,1)';
ty=a2(:,2)';
a3=textread('D:\1\mmm_z.txt');
az=a3(:,1)';
tz=a3(:,2)';
%take each 2th element of acceleration vector
ax1=ax(1:2:length(ax));
ay1=ay(1:2:length(ay));
az1=az(1:2:length(az));
tx1=tx(1:2:length(tx));
ty1=ty(1:2:length(ty));
tz1=tz(1:2:length(tz));
%calculation of displacement along x,y,z (10e-6 m = 1 micron)
x=(m*ax1/k);
y=(m*ay1/k);
z=(m*az1/k);
%calculation of roll and pitch angles
r=atan(ay1./az1);
p=atan((-ax1.*cos(r))./az1);
calculation in degrees
roll=r.*180./3.14;%
pitch=p.*180./3.14;
%velocity calculation
Vx=cumtrapz(tx1,ax1);
Vy=cumtrapz(ty1,ay1);
Vz=cumtrapz(tz1,az1);
%addion of Gaussian white noise
a11 = awgn(ax1,30,'measured');
a12 = awgn(ay1,30,'measured');
a13 = awgn(az1,30,'measured');
28
plot(tx1,a11,'g')
hold on
plot(tx1,axf,'r')
grid on
xlabel('Time, s')
ylabel('Acceleration, m/s.^2')
legend('Measured acceleration','Measured acceleration with
added noise','Filtered acceleration by Gaussian low pass
filter')
figure
plot(tx1, ay1)
hold on
plot(tx1,a12,'g')
hold on
plot(tx1,ayf,'r')
grid on
xlabel('Time, s')
ylabel('Acceleration, m/s.^2')
legend('Measured acceleration','Measured acceleration with
added noise','Filtered acceleration by Gaussian low pass
filter')
figure
plot(tx1, az1)
hold on
plot(tx1,a13,'g')
hold on
plot(tx1,azf,'r')
grid on
xlabel('Time, s')
ylabel('Acceleration, m/s.^2')
legend('Measured acceleration','Measured acceleration with
added noise','Filtered acceleration by Gaussian low pass
filter')
30
APPENDIX B
Block scheme of the computer program
Begin
m=0.42e-6k=1.784
a1=textread
('D:\1\mmm_x.txt');
a2=textread
('D:\1\mmm_y.txt');
a3=textread
('D:\1\mmm_z.txt');
ax1=ax(1:2:length(ax));
ay1=ay(1:2:length(ay));
az1=az(1:2:length(az));
tx1=tx(1:2:length(tx));
ty1=ty(1:2:length(ty));
tz1=tz(1:2:length(tz));
x=(m*ax1/k);
y=(m*ay1/k);
z=(m*az1/k);
r=atan(ay1./az1);
p=atan((ax1.*cos(r))./az1);
roll=r.*180./3.14;
pitch=p.*180./3.14;
Vx=cumtrapz(tx1,ax1);
Vy=cumtrapz(ty1,ay1);
Vz=cumtrapz(tz1,az1);
31
a11 = awgn(ax1,30,'measured');
a12 = awgn(ay1,30,'measured');
a13 = awgn(az1,30,'measured');
x11=(m*a11/k);
y11=(m*a12/k);
z11=(m*a13/k);
d = fdesign.lowpass
('Fp,Fst,Ap,Ast
100,220,60,0.5,1000);
Hd = design(d,'equiripple');
axf = filter(Hd,a11);
ayf = filter(Hd,a12);
azf = filter(Hd,a13);
xf=(m*axf/k);
yf=(m*ayf/k);
zf=(m*azf/k);
32
figure
plot3(x,y,z,'--')
hold on
plot3(x11,y11,z11,'--g')
hold on
plot3(xf(5:123),yf(5:123),
zf(5:123),'r')
figure
plot(tx1,Vx)
grid on
figure
plot(tx1,pitch)
grid on
figure
plot(ty1,roll)
grid on
figure
plot(tx1, ax1)
hold on
plot(tx1,a11,'g')
hold on
plot(tx1,axf,'r')
figure
plot(tx1, ay1)
hold on
plot(tx1,a12,'g')
hold on
plot(tx1,ayf,'r')
grid on
figure
plot(tx1, az1)
hold on
plot(tx1,a13,'g')
hold on
plot(tx1,azf,'r')
grid on
End
33