Question about Tire-Road Interaction (Magic Formula)

12 ビュー (過去 30 日間)
Tao
Tao 2024 年 8 月 2 日
コメント済み: Umar 2024 年 8 月 5 日
Refer to help document of matlab, it said that when velocity is lowwer than a specific value, the block saturates the slip denominator as Vlow.So,When velocity is close to 0, sliping will be occured even if there is no driving torque input in this mathod.since Fx is calculated by Fz and Slipping, Fx will be more than 0. what i want to ask is how to solve this, avoiding Fx>0 at no torque and no velocity point.
  9 件のコメント
Tao
Tao 2024 年 8 月 5 日
Thanks @Umar,
Refer to “% Parameters Vx = 0.1; % Example velocity Fz = 100; % Example vertical force slippingThreshold = 0.01; % Define the slipping threshold accelerationThreshold = 5; % Define the threshold for acceleration” The function [calculateLongitudinalForce] will meet first condition ,Fx=0. and the vehicle will be able to accelerate from 0 to accelerationThreshold (= 5)
And if set slippingThreshold as a bigger value in order to meet 2nd conditon, the vehicle will be acclerate from 0 to accelerationThreshold without anypower from powertrain or brake system ,apparently, it is not logica.
Umar
Umar 2024 年 8 月 5 日
Hi @Tao,
Refer to “% Parameters Vx = 0.1; % Example velocity Fz = 100; % Example vertical force slippingThreshold = 0.01; % Define the slipping threshold accelerationThreshold = 5; % Define the threshold for acceleration” The function [calculateLongitudinalForce] will meet first condition ,Fx=0. and the vehicle will be able to accelerate from 0 to accelerationThreshold (= 5)
I agree with you on this 100%.
And if set slippingThreshold as a bigger value in order to meet 2nd conditon, the vehicle will be acclerate from 0 to accelerationThreshold without anypower from powertrain or brake system ,apparently, it is not logica.
I do agree with that part as well and my code snippet is work in process. Hence, this is how software works to implement modifications to the code logic when more conditions are added over the time. I mean you don’t learn all the aspects of vechile driving in one day, it takes some time. So, one approach could involve adjusting the conditions and calculations within the function to ensure that the longitudinal force behaves as expected under different scenarios of velocity and acceleration thresholds and test the modified function with various input values to ensure its correctness and adherence to the desired behavior just like when you test drive a car before you make a decision to buy it.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeTires and Vehicles についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by