Question about Tire-Road Interaction (Magic Formula)
87 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1745331/image.png)
9 Comments
Umar
on 5 Aug 2024 at 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.
Answers (0)
See Also
Categories
Find more on Tires and Vehicles in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!