Why does uphill road terrain gives negative speed??
    3 views (last 30 days)
  
       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
  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)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!