Question about Tire-Road Interaction (Magic Formula)

87 次查看(过去 30 天)
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,8:47
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,9:41
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 CenterFile Exchange 中查找有关 Tires and Vehicles 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by