Lean-compensated position and trajectory of motorcycle
Motorcycle riders, being more vulnerable than drivers of four-wheeled vehicles, can especially benefit from advance warnings of hazards. Hazards are detected in the predicted path of the motorcycle or are predicted to be in the path within the next few seconds of the motorcycle's travel. The outputs from the sensors that detect the hazards are corrected for the lean of the motorcycle as it corners. The predicted path or ego lane of the motorcycle is also adjusted depending on the lean of the motorcycle.
1. A method for warning a rider of a motorcycle, the method comprising:
sensing a lean angle of the motorcycle;
calculating lateral extents of an ego lane for the motorcycle using:
the lean angle;
a height at which the motorcycle has a maximum width when the motorcycle is not leaning; and
a combined height of the motorcycle and the rider when the motorcycle is not leaning;
predicting a trajectory of the ego lane using a current motion of the motorcycle;
identifying a hazard that is in the ego lane or is expected to be in the ego lane within a future time period measured from a current time; and
outputting an alert to the rider.
2. The method of claim 1 , wherein one of the lateral extents is on a side of the motorcycle in a direction of the lean angle and is of greater magnitude than another of the lateral extents on a side of the motorcycle opposite to the lean angle.
3. The method of claim 1 , comprising determining the current motion using:
a speedometer; and
multiple accelerometers or an inertial measurement unit.
4. The method of claim 1 , comprising:
sensing a speed of the motorcycle;
sensing a rate of change of yaw of the motorcycle; and
using the speed and the rate of change of yaw to determine the current motion.
5. The method of claim 1 , wherein the future time period is between 2 and 3 seconds.
6. The method of claim 1 , comprising receiving an input from the rider that changes the future time period.
7. The method of claim 1 , wherein the future time period depends on a location of the motorcycle on a map.
8. The method of claim 1 , comprising determining one or both of:
a lateral position of the motorcycle on a road;
a lane in which the motorcycle is traveling;
using GNSS (global navigation satellite system) data and map data.
9. The method of claim 1 , comprising adjusting a mechanical parameter of the motorcycle in response to detecting the hazard, wherein the mechanical parameter is a brake setting, a throttle setting, a suspension setting, a steering setting, a handlebar setting or a foot peg setting.
10. The method of claim 1 , comprising adjusting a blind spot detector of the motorcycle in response to calculating the lateral extents of the ego lane.
11. The method of claim 1 , comprising using a lean angle of the rider to calculate the lateral extents of the ego lane for the motorcycle.
12. A motorcycle comprising:
an alert device;
a sensor configured to detect a lean angle of the motorcycle;
a processor;
a computer readable memory storing computer readable instructions which, when executed by the processor cause the processor to:
receive the lean angle from the sensor;
calculate lateral extents of an ego lane for the motorcycle using:
the lean angle;
a height at which the motorcycle has a maximum width when the motorcycle is not leaning; and
a combined height of the motorcycle and a rider of the motorcycle when the motorcycle is not leaning;
predict a trajectory of the ego lane using a current motion of the motorcycle;
identify a hazard that is in the ego lane or is expected to be in the ego lane within a future time period measured from a current time; and
output an alert via the alert device.
13. The motorcycle of claim 12 , wherein one of the lateral extents is on a side of the motorcycle in a direction of the lean angle and is of greater magnitude than another of the lateral extents on a side of the motorcycle opposite to the lean angle.
14. The motorcycle of claim 12 , comprising:
a speedometer; and
multiple accelerometers or an inertial measurement unit;
wherein the computer readable instructions cause the processor to determine the current motion using the speedometer and the multiple accelerometers or the inertial measurement unit.
15. The motorcycle of claim 12 , wherein the computer readable instructions cause the processor to use a speed of the motorcycle and a rate of change of yaw of the motorcycle to determine the current motion.
16. The motorcycle of claim 12 , wherein the computer readable instructions cause the processor to receive an input from the rider that changes the future time period.
17. The motorcycle of claim 12 , wherein the computer readable instructions cause the processor to adjust a mechanical parameter of the motorcycle in response to detecting the hazard.
18. The motorcycle of claim 17 , wherein the mechanical parameter is a brake setting, a throttle setting, a suspension setting, a steering setting, a handlebar setting or a foot peg setting.