Question about Tire-Road Interaction (Magic Formula)

조회 수: 13 (최근 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 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