Hi waiweng83,
refer to your words:
"When the measuring axis of the accelerometer is parallel to the gravity force, it measures 1G while if it's perpendicular to the gravity, it measures 0G."
you are opposite the facts.For accelerometer, most of them are MEMS technology, When the measuring axis of the accelerometer is parallel to the gravity force, it measures 0G.You can easily find out this fact if you know what is the structure of accelerometer.And in fact, accelerometer not only in 1G, they can be 2 to 16G.
We understand that accelerometer will affect by acceleration.So during using it, you can stop your robot for a while to take a reading of the angle just take you less than 1 second, only less than 1 second of static unless the robot as fast as a airplane then it is not applicable.
If you not really understand how accelerometer can use for vibration, please go to
http://www.freescale.com or
http://cache.freescale.com/files/sensor ... A1211D.pdf on how they use it to measure vibration.In their datasheet, they stated that their sensor can do vibration measurement.
All the accelerometer can detect vibration, hardisk also use them inside to protect from damage...if vibration too strong, hardisk will off awhile.
"But if we are on a roller-coaster, can we differentiate which way is up or down if we close our eyes?" We are human surely cannot but accelerometer can, we can get the acceleration positive and negative. Please compare apple to apple, do not compare apple to elephant.
But anyway, it just a discussion and share my experience for this kind of sensors. Of course, there are many way to measure tilt angle but MEMS sensors is the smallest in size.Useful link:http://www.analog.com ,
http://www.kionix.com,http://www.st.com