Limitation of Tri-Axis Accelerometer

I have been trying to solve this issue for a while now and have finally caved in to ask for some help. Can someone give me some advice on how to do the following?*Note: The only forces acting on the accelerometer will be gravity (so, in a static context)1) Will the accelerometer, when placed on an incline, respond in a way that allows me to detect rotation about that incline (so rotation about an axis defined by the incline)?It is easy to determine the rotation about the X & Y provided that the accelerometer is vertical or horizontal. But, I am having trouble picturing the forces on the accelerometer when it is on an incline.2) If the accelerometer is not limited by question 1, can someone give me advice on how to calculate the rotation about the incline?As of now, I am using arctan(AZ/AX). However, if the accelerometer is tilted in the X direction, it will affect the rotation (even though it is what I want!)3) What other devices should I look into to achieve what I am looking for?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Forgot to post this. I figured out a solution that works for me...although it is not 100% accurate. But, it worked for my purposes.

    Anyways...at a given incline, you would, you can calculate the nominal AX, and AZ. Then, do (1-CurAZ/NomAZ) and multiply AX with it. So, tilting it (bottom picture) will not change AZ, so we can sort of differentiate whether the AX is being generated by a tilt or a rotation.

    Of course...just by looking at the method, we can see that AX caused by rotation is never 100% accurate, but it worked for my purposes and works surprisingly well. My main objective was to separate the bottom picture and top pictures.


    Thanks for everyone's help!
  • Sorry for any confusion based on my description.
    Picture of what I mean

    @Howard
    Based on your response, it seems like it would be possible. I am thinking that my problem may be determining how to mathematically calculate the rotation. In the picture above, if the accelerometer is tilted on the incline, then A_X & A_Y changes, and Arctan(AZ/AX) doesn't measure what I want.

    @bGatti
    You are correct. I am looking at a static context.
    2) Could you elaborate what you mean by "rotation of body"? I don't see how knowing the highest and lowest accels can help determine the rotation.
    3) Arctan(AZ/AX) does not give me what I am looking for if the sensor is tilted on the incline. Please look at the image I reference above to see what I mean.

    @Both
    So, from the response of the accelerometer, is it still possible to calculate the rotation, even if the accelerometer is tilted on the axis like the bottom picture (of the link I posted)?
  • Thanks for your response.

    After reading your answer, I feel that maybe I miscommunicated what I meant to say. I meant to say, rotation ALONG an axis. For example, if you positioned a motor at a 45 degree incline, and applied power to the motor, would you be be able to determine the degree of rotation of the rotor?

    I hope that makes sense! Right now, all I have is a triaxial accelerometer, and would like to use that if possible.

    I am looking into gyroscopes right now. Hopefully something will click and I can start experimenting!
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…