Part Number Hot Search : 
DTA123J DG12864 AVC16 LSJ109 22142 SB804 NCV8852 C1212
Product Description
Full Text Search
 

To Download AN4509 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  june 2014 docid026445 rev 1 1/10 AN4509 application note tilt measurement using a low-g 3-axis accelerometer introduction this application note describes tilt sensing theory and the methods of determining tilt angle measurement of a low-g 3-axis accelerometer. in general, the procedures described here may also be applied to 3-axis analog or digital accelerometers, depending on their respective specifications. www.st.com
contents AN4509 2/10 docid026445 rev 1 contents 1 calculating tilt angles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 theory of operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 tilt sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2.1 single-axis tilt sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2.2 dual-axis tilt sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2.3 tri-axis tilt sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
docid026445 rev 1 3/10 AN4509 list of figures 10 list of figures figure 1. tilt measurement using a single axis of the accelerometer . . . . . . . . . . . . . . . . . . . . . . . . . 4 figure 2. 360 rotation of a single axis of the accelerometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 3. plot of 360 rotation of a single axis of the accelerometer . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 4. tilt sensitivity of a dual-axis accelerometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 figure 5. tilt angles from a tri-axis accelerometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 figure 6. tilt sensitivity of a tri-axis accelerometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
calculating tilt angles AN4509 4/10 docid026445 rev 1 1 calculating tilt angles low- g mems accelerometers are widely used for tilt sensing in consumer electronics and industrial applications, such as screen rotation and automobile security alert systems. another popular application for low- g accelerometers is tilt-compensated electronic compasses for map rotation and personal navigation devices. this application note describes how to obtain accurate tilt measurements with respect to local earth horizontal plane, by compensating for a few non idealities that may cause angular tilt calculation error. for detailed information and device specifications, refer to the respective accelerometer datasheet available at http://www.st.com . in general, 3-axis analog or digital accelerometers may also be used, in accordance with their respective specifications. 1.1 theory of operation figure 1 shows the single sensing axis of the accelerometer for tilt measurement. figure 1. tilt measurement using a single axis of the accelerometer the accelerometer measures the projection of the gravity vector on the sensing axis. the amplitude of the sensed acceleration changes according to the sine of the angle ? between the sensing axis and the horizontal plane. equation 1 using equation 1 , it is possible to estimate the tilt angle, equation 2 where: ? a = acceleration measured ? g = earth?s gravity vector $0y j $ . +rul]rqwdosodqh 6hqvlqj$[lvriwkhdffhohurphwhu . .
docid026445 rev 1 5/10 AN4509 calculating tilt angles 10 a single axis of the accelerometer with 360 rotation is shown in figure 2 and 3 . figure 2. 360 rotation of a single axis of the accelerometer figure 3. plot of 360 rotation of a single axis of the accelerometer 1.2 tilt sensing 1.2.1 single-axis tilt sensing from figure 2 and 3 , it can be observed that the sensor is most responsive to changes in tilt angle when the sensing axis is perpendicular to the force of gravity. in this case, the sensitivity is approximately 17.45 m g / [= sin(1) - sin(0)]. due to the derivate function of the sine function, the sensor has lower sensitivity (less responsive to tilt angle changes) when the sensing axis is close to its +1 g or -1 g position. in this case, sensitivity is only 0.15 mg/ [= sin(90) - sin(89)]. table 1 shows the sensitivity at different tilt angles. in other words, the sine function has good linearity at [0 45], [135 225] and [315 360] as shown in figure 3 . $0y . ; j d [  j d [  j d [   ?  ?  ?  $0y                         $ffhohudwlrq>j@ $qjoh>?@
calculating tilt angles AN4509 6/10 docid026445 rev 1 1.2.2 dual-axis tilt sensing when a dual-axis tilt sensing approach is used, the user should be aware of two different situations in which this approach could limit overall accuracy or even inhibit tilt calculation. ? figure 4 , example a: rotate the accelerometer counter-clockwise around the dotted arrow with ? angle. when ? is less than 45, the x-axis has higher sensitivity, while the y-axis has lower sensitivity. and when ? is greater than 45, the x-axis has lower sensitivity while the y-axis has higher sensitivity. therefore, when the two-axis approach is used, it is always recommended to calculate the angle based on the orthogonal axis to a 1 g condition. ? figure 4 , example b: at this position, both the x and y axes have high sensitivity. however, without the help of a third axis (for example the z-axis), it is impossible to distinguish a tilt angle of 30 from one of 150 because the x-axis has the same outputs at these two tilt angles. figure 4. tilt sensitivity of a dual-axis accelerometer table 1. tilt sensitivity of single axis accelerometer tilt [] acceleration [ g ] ? g / [m g /] 0 0.000 17.452 15 0.259 16.818 30 0.500 15.038 45 0.707 12.233 60 0.866 8.594 75 0.966 4.37 90 1.000 0.152 $0y < ; j ; < ([dpsoh% ([dpsoh $  j   ? 6\pj? !? 6\!pj?  ?  ?
docid026445 rev 1 7/10 AN4509 calculating tilt angles 10 1.2.3 tri-axis tilt sensing with a 3-axis accelerometer, the user can use the z-axis to combine with the x and y axes for tilt sensing in order to improve tilt sensitivity and accuracy (see figure 5 ). there are two ways to calculate 3 tilt angles in figure 5 . the first is to use basic trigonometric equation 3 , 4 and 5 , where a x1 , a y1 and a z1 are the values obtained after applying accelerometer calibration on raw measurement data (a x , a y , a z ): equation 3 equation 4 equation 5 figure 5. tilt angles from a tri-axis accelerometer the second way is to use trigonometric equation 6 and 7 to calculate pitch and roll tilt angle, which produces constant sensitivity over 360 of rotation, as shown in figure 6 . equation 6 equation 7 $0y        .  ; = <
calculating tilt angles AN4509 8/10 docid026445 rev 1 figure 6. tilt sensitivity of a tri-axis accelerometer $0y              7lowlqj>?@ 7lowvhqvlwlylw\>pj?@ $ufvlq ; $uffrv = $ufwdq ;=
docid026445 rev 1 9/10 AN4509 revision history 10 2 revision history table 2. document revision history date revision changes 10-jun-2014 1 initial release.
AN4509 10/10 docid026445 rev 1 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. a ll st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a particular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. st products are not designed or authorized for use in: (a) safety critical applications such as life supporting, active implanted devices or systems with product functional safety requirements; (b) aeronautic applications; (c) automotive applications or environments, and/or (d) aerospace applications or environments. where st products are not designed for such use, the purchaser shall use products at purchaser?s sole risk, even if st has been informed in writing of such usage, unless a product is expressly designated by st as being intended for ?automotive, automotive safety or medical? industr y domains according to st product design specifications. products formally escc, qml or jan qualified are deemed suitable for use in aerospace by the corresponding governmental agency. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2014 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of AN4509

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X