Calculating motorcycle lean angle

  • Context: Undergrad 
  • Thread starter Thread starter motecben
  • Start date Start date
  • Tags Tags
    Angle Motorcycle
Click For Summary
SUMMARY

This discussion focuses on calculating the lean angle of racing motorcycles using data from 3-axis accelerometers and gyroscopes. The lean angle can be derived from the formula theta = arctan(a/g), where 'a' is lateral acceleration and 'g' is the gravitational constant. The conversation highlights the challenges of sensor placement and drift correction, particularly for lateral G measurements, as the sensor's orientation changes with the bike's lean. Additionally, the need for compensation for track banking is noted as a critical factor in accurate calculations.

PREREQUISITES
  • Understanding of trigonometric functions, specifically arctangent
  • Familiarity with 3-axis accelerometers and gyroscopes
  • Knowledge of lateral acceleration and its impact on lean angle
  • Basic principles of sensor calibration and drift correction
NEXT STEPS
  • Research methods for integrating and differentiating sensor data for lean angle calculations
  • Explore the use of Crossbow accelerometers for motorcycle applications
  • Learn about filtering techniques to reduce vibration interference in sensor data
  • Investigate compensation methods for track surface banking in lean angle calculations
USEFUL FOR

Motorcycle engineers, racing data analysts, and enthusiasts interested in optimizing motorcycle performance and handling through precise lean angle calculations.

motecben
Messages
4
Reaction score
0
I would like to calculate racing motorcycle lean angle but my trig is very rusty. Data I can supply for the calculation includes 3 axis of G, 3 axis of gyro (rate of change). The gyro drifts with time as all gyros do. I also have 2 wheel speeds and GPS speed available. There are maths functions available for integration and differentiation among others.There would obviously have to be a correction put in for lateral G as the sensor is fixed on the bike.

A further interesting addition would be a compensation for the banking of a track surface. Any help in this area would be greatly appreciated.
 
Last edited:
Physics news on Phys.org
motecben said:
I would like to calculate racing motorcycle lean angle but my trig is very rusty. Data I can supply for the calculation includes 3 axis of G, 3 axis of gyro (rate of change). The gyro drifts with time as all gyros do. I also have 2 wheel speeds and GPS speed available. There are maths functions available for integration and differentiation among others.There would obviously have to be a correction put in for lateral G as the sensor is fixed on the bike.
A further interesting addition would be a compensation for the banking of a track surface. Any help in this area would be greatly appreciated.

This is all back of the envelope, but it might be right:

Assuming a flat surface and no skidding, the lean angle of the motorcycle is related to it's speed and the cornering radius as follows:

theta = arctan ( V*V / r*g)

Where g is the gravitational constant.

Now, I think you can also show that the turning radius is related to speed and lateral acceleration as:

r = V*V / a

where a is the lateral acceleration.

Substitute r in the above and you get:

theta = arctan (a/g)

So to pull 1.0 g, then you need to be turning at a 45 degree lean angle. This is the theoretical limit assuming tires can't achieve coefficients of friction greater than 1.0.

So if you really have lateral acceleration, you don't really need anything else (I think) to get lean angle.

Where are you getting (or planning on getting) your lateral G's? Are there any small sensors out there suitable for motorcycles?

- Mark
 
Last edited:
Motorcycle lean angle

Hi Mark and thanks for responding. This was the first time I had used this forum and I posted the same question in 2 separate areas. Yours was the only reply after several weeks!

Yes we have small accelerometers that we can run on bikes from Crossbow in the US. They are very difficult to mount in such a way as to not get too much vibration interference but sometimes we get them to work OK. We can introduce filters that will assist somewhat. The problem that I am not sure whether you have addressed is that the lateral G sensor is fixed on the bike therefore the gravitational pull on the sensor changes direction as the bike leans so there has to be a correction put in somehow?

Thanks again for your thoughts. If you have any more, please continue to post them.
 

Similar threads

  • · Replies 49 ·
2
Replies
49
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 11 ·
Replies
11
Views
9K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 1 ·
Replies
1
Views
15K
  • · Replies 22 ·
Replies
22
Views
21K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 1 ·
Replies
1
Views
4K