Hey all
Reviving this topic (hope that's alright)
I'm also looking to do something similar, i.e. attitude readings using an accelerometer.
I have a 2-axis motorised mirror (in fact, current aim is to have 176 of them, and it's for an artwork, so cost is a factor!)
The accuracy requirement is ±0.1º positioning of mirror plane, so i'm generally aiming for 0.03º accuracy of all devices involved.
I have 2 geared DC motors on timing belts which (in physical fully assembled tests) can easily achieve the positional accuracy requirement. Also we have an encoder on each motor giving ~9000 steps per rotation, which is also the correct order of magnitude for accuracy required.
We need the accelerometer to 'zero tare' the position.
i.e. at the start of each day, the mirror walks back to the zero angle, using the accelerometer to find it,
and then records this as (0º,0º). From there we can use the encoders to navigate the mirrors.
Furthermore, I'd like to use the accelerometer to 'sanity check' the mirror's navigation (i.e. check that the angle reported by the accelerometer matches our dead-reckoning from the differential encoders). This is because:
- The structure stress can cause deviations on the order of ~0.01º
- The encoder sometimes reports erroneous results (i need to look into debouncing)
- Something else unknown could cause inaccuracies (e.g. stretching timing belts)
The mirrors will be heliostats (i.e. sun tracking), so move slow enough to ignore dynamic angle readings (we can turn off the motors and allow the system to settle before taking readings). Also we don't need to consider 'heading' (i.e. rotation parallel to gravity), only 'pitch' and 'roll' which can be read by the accelerometer).
I.e. we don't need a gyroscope (no dynamic rotation readings) and don't need a magnetometer (no heading reading, also it's not accurate anyway).
So we're looking for an accelerometer which can give pitch/roll readings accurate to 0.03º at about 1Hz (i.e. an exaggerated digital low pass filter is fine).
Does anybody have any experience with low-frequency high-accuracy angle readings with Accelerometers/IMU/AHRS systems?
Note : an iPhone is perfectly workable at 0.1º accuracy (just google 'spirit level' on your phone and try it).
Thank all!