Log all three accelerometer axes
Posted: Sat Jun 28, 2014 4:28 pm
The vertical acceleration is important for rapid elevation change as well as banked turns, not to mention motorcycles. Even better would be to add all three gyro axes as well. The immediate benefit would be to give yaw rate directly.
For motorcycles, the lean angle would then be arccos(1/x) where x is the accelerometer value for the axis aligned with the vertical axis of the bike. There would be no need to calculate lateral acceleration from differentiating GPS data, with its inherent noise. GPS data could be used instead to verify the axis angle calibration.
Of course for both ways to calculate motorcycle lean angle, the assumption is that the track surface is level. You can't do a simple calculation with just GPS earth frame of reference lateral or bike frame of reference vertical acceleration if the turn is banked.
I'll post some raw data graphs from a few laps around Bristol Motor Speedway at about 70 mph to show what I mean.
For motorcycles, the lean angle would then be arccos(1/x) where x is the accelerometer value for the axis aligned with the vertical axis of the bike. There would be no need to calculate lateral acceleration from differentiating GPS data, with its inherent noise. GPS data could be used instead to verify the axis angle calibration.
Of course for both ways to calculate motorcycle lean angle, the assumption is that the track surface is level. You can't do a simple calculation with just GPS earth frame of reference lateral or bike frame of reference vertical acceleration if the turn is banked.
I'll post some raw data graphs from a few laps around Bristol Motor Speedway at about 70 mph to show what I mean.