Classical Adaptive Cruise Control gain calculations

7 views (last 30 days)
Danial Waleed
Danial Waleed on 29 Nov 2019
Commented: Danial Waleed on 3 Dec 2019
I am trying to form a classical adaptive cruise control and I wanted to ask if somebody can explain how to find the exact values of the gains "Verr_gain", " xerr_gain" and " vx_gain" shown in the classical adaptive control in this link "https://www.mathworks.com/help/mpc/ug/adaptive-cruise-control-with-sensor-fusion.html#d117e37235" . I would highly appreciate the help.

Answers (1)

Raunak Gupta
Raunak Gupta on 3 Dec 2019
Hi,
I am assuming you have loaded all the models mentioned in the full example before loading the specific model as ACCTestBenchExample contains all the models. While loading ACCTestBenchExample you may see that in the MATLAB Workspace all the variables are loaded So, you can find out the value of mentioned variables there in the workspace. Closing this example will clear the workspace so you may want to let it open while retrieving the values.
Also, if you want to edit the variables you may edit the setup script that can be accessed by clicking on the same name gui button in ACCTestBenchExample.
  3 Comments
Danial Waleed
Danial Waleed on 3 Dec 2019
Do you have any technical soure or proceddings that show how these values are calculated ?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!