How is tractive force calculated from the PID controller of the Glider Model?
12 views (last 30 days)
Show older comments
Hi there,
I am looking at using the model provided in Vehicle Modelling Part 1 in order to model the energy consumption and state of charge of a battery during the endurance event. I am wondering how the tractive force parameter is calculated from the PID controller?
I am also wondering how I am able to input my own parameters for my vehicle for the calculation of aero drag, rolling resistance etc.? When I double click the block I see there is an equation typed in but I am unable to locate where the parameters are within the MATLAB workspace.
Many thanks, Matt
4 Comments
kartik kanchan
on 11 Jan 2018
Please tell me gain is selected on what bases and how to input values in DrCycles.US06 and what values
DEEPA ANAND
on 27 Mar 2019
Can you please tell me how the PID tuning is done for both driver glider and BEV system.
Answers (2)
Christoph Hahn
on 16 Oct 2017
Edited: Christoph Hahn
on 16 Oct 2017
Hi Matt,
the model is a closed-loop control system. The PID block gets the difference between desired speed (from drive cycle) and actual vehicle speed as input. It then increases or decreases the tractive force so that the difference is minimized. It is not solving an equation. Does that explanation make sense?
Cheers Christoph
Christoph Hahn
on 16 Oct 2017
Consider the tractive force to be an input to the vehicle model, so that the car reaches a desired speed.
For example, this is similar to your foot hitting the accelerator / brake pedals on a speed limited road that has hills.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!