フィルターのクリア

How to measure the distance traveled by a vehicle in Matlab

17 ビュー (過去 30 日間)
Muhammed
Muhammed 2023 年 2 月 20 日
コメント済み: Muhammed 2023 年 2 月 21 日
I am working on electric vehicle software right now. I have all information of vehicle. How can I measure the distance traveled by the vehicle?
  4 件のコメント
Dyuman Joshi
Dyuman Joshi 2023 年 2 月 20 日
Do you have the information of time of travel? If yes, then you can calculate distance directly - circumference * rpm * time of travel.
Muhammed
Muhammed 2023 年 2 月 21 日
Yes, I have these information.

サインインしてコメントする。

回答 (2 件)

Matthieu
Matthieu 2023 年 2 月 20 日
編集済み: Matthieu 2023 年 2 月 20 日
You can use an onboard IMU (measures acceleration) and integrate to get the travel distance and trajectory. The drawback being it has drift due to error integration and is not absolute positioning, so it's bad on long distances.
You can use GPS whose measurements are absolute ; works best on long distances because of this.
Then, you can use odometry and measure the rotational speed of your wheels and calculate its traveled distance with travel time, but it is approximate due to circumference of wheel being variable with car weight, and rotation center on rubber heel being variable.
There are methods of estimation who couple all those information to get really precise measurements. Search IMU and GPS fusion in google and matlab documentation, and add odometry/replace IMU with odometry if your vehicle isn't equipped with an imu

Image Analyst
Image Analyst 2023 年 2 月 20 日
After m minutes, the vehicle will travel
distanceInMeters = 2 * pi * radiusOfTireInMeters * RPM * m
I think RPM needs to be a constant here.
  1 件のコメント
Walter Roberson
Walter Roberson 2023 年 2 月 20 日
If you have rpm measurements then you can estimate distance traveled, but if the readings are not frequent enough then error will accumulate.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeComplex Logic についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by