Why does uphill road terrain gives negative speed??
Show older comments
I have made a vehicle system with 6 gears, and have imported some drive cycle data with throttle and gear shifts as input. It works perfectly fine for flat road and downhill terrain data, but when I give uphill terrain, say 15 degree inclination, output shows negative speed. Can anyone help me out?
I have attached pictures of flat road, uphill and downhill.
Input is given in terms of degrees. Spikes in the output speed signal is nothing but gear shifts.
6 Comments
Adam Danz
on 15 Nov 2019
Is the vehicle rolling backwards?
Does the actual velocity start at 0 at time 0? I see that the line starts at 0 but is there a calibration issue and have your verfied that the velocity is indeed 0 at time 0?
You also have negative RPMs at the end of the time series data, too.
Nithin k
on 15 Nov 2019
Adam Danz
on 15 Nov 2019
I'm unfamiliar with your system so I'm thinking at a big picture level. Is the velocity signal something your measuring directly, is it something you're conrolling, or is it being computed from position or acceleration?
Is there any way to pause the system just before the point where velocity and/or RPM goes negative?
What are the gears doing when these signals go negative?
Shubham Gupta
on 15 Nov 2019
Check the driving froce for the vehicle & compare it gravitational force. I am sure you will find that gravitation force is greater than the driving force which is causing vehicle to decelerate from the start and once vehicle reaches 0 vehcile it starts rolling backward. Road angle of 15 degree is a very large slope reduce the angle I am sure it should work without a problem.
Adam Danz
on 15 Nov 2019
Ah! So my initial inclination was correct! Good job looking into the data and confirming it!
Answers (1)
Nithin k
on 15 Nov 2019
Moved: Steve Miller
on 23 Apr 2023
0 votes
Categories
Find more on Image Acquisition in Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!