MEMS Inertial Sensor Application: Tilt Detection Using Accelerometer

Publisher:温暖的拥抱Latest update time:2023-03-24 Source: elecfansKeywords:MEMS Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

01 Prerequisite knowledge

20de43d8-6df1-11ed-8abf-dac502259ad0.png

02 Principle (single axis as an example)

The first thing we need to know is that when the target axis (the X-axis in this case) is parallel to the Earth's surface, the sensor is in a 0g field. Rotating 90° clockwise or counterclockwise will produce a +1g or −1g field respectively. The following figure shows the layout of the sensor in different directions and the corresponding output g value:

212ce0c4-6df1-11ed-8abf-dac502259ad0.png

Single axis tilt

214b1dbe-6df1-11ed-8abf-dac502259ad0.png

When the X-axis is tilted, according to the trigonometric identity, the projection of the gravity vector on the X-axis will produce an output acceleration equal to the sine of the angle between the accelerometer's X-axis and the horizontal plane. The horizontal plane is usually the plane orthogonal to the gravity vector. When the gravity is the ideal value 1g, the output acceleration is:

216ae694-6df1-11ed-8abf-dac502259ad0.png

Acceleration can be converted into tilt angle using the arcsine function.

21791318-6df1-11ed-8abf-dac502259ad0.png

Among them, the unit of tilt angle θ is radians.

Biaxial tilt

Now that an axis has been added to the system, the calculation method of the tilt angle needs to be re-examined. The simple method is to calculate the X-axis as usual, and then calculate the Y-axis in a similar way, but remember to use the cosine of the angle. (The Y-axis uses the cosine of the angle) When the gravity is the ideal value 1g, the output acceleration is:

218a2f54-6df1-11ed-8abf-dac502259ad0.png

Convert acceleration to angle using inverse cosine function

219cf59e-6df1-11ed-8abf-dac502259ad0.png

Among them, the unit of tilt angle θ is radians.

We can easily find the following relationship:

21b03e60-6df1-11ed-8abf-dac502259ad0.png

Compared with a single axis, using the ratio of two axes to determine the inclination angle makes it very difficult to determine the incremental sensitivity. Instead, it is more useful to determine the minimum resolution the accelerometer needs to achieve, assuming the required tilt resolution is known. Assuming that the incremental sensitivity of one axis increases as the incremental sensitivity of the other axis decreases, the net result will be an effective incremental sensitivity that is essentially constant in value. This means that if an accelerometer is selected to achieve the required tilt step size for a certain angle, the accelerometer will have sufficient resolution to handle all angles.


three-axis tilt

The angle between each axis of the accelerometer and the reference position is determined individually. The reference position is usually chosen so that the x- and y-axes of the device are in the direction of the horizontal plane (0 g field), and the z-axis is perpendicular to the horizontal plane (1g field).

21c80f18-6df1-11ed-8abf-dac502259ad0.png

Basic trigonometric identities can be used to calculate inclination angles

21e0a528-6df1-11ed-8abf-dac502259ad0.png

Since the ratio of the arctangent function and the acceleration is used, it has the advantages mentioned in the two-axis example, that is, the effective incremental sensitivity is constant and the angle within the unit range can be measured accurately at all points.


Keywords:MEMS Reference address:MEMS Inertial Sensor Application: Tilt Detection Using Accelerometer

Previous article:Resistance measurement and low resistance measurement methods
Next article:Temperature measurement circuit design using ADS1118 and two thermocouples

Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号