Optimisation of Vehicle Suspension Parameters
이전 댓글 표시
I am currently creating a simulation of a race car, the output of which is a lap time (in a seperate programme from MATLAB), to which I wish to find the optimum suspension set up from varyng parameters such as toe, camber, tyre pressure etc to produce the fastest lap time.
Due to the number of variables, leading to potentially thousands of different combinations, I was wondering which tool within MATLAB would be most useful for determining the optimim set up, from entering data from say 50 or so differnent runs, and working out the optimal combination?
Unfortuantely, as the formulas dictating the lap time are incredibly complicated, I will only possess discrete values from which to base my optimisaion off, which is where I have become stuck.
Absolutely any help is useful at this point, and thank you very much for reading my question.
댓글 수: 7
Star Strider
2020년 2월 7일
My personal preference would be the ga (genetic algorithm) function, since it does not use gradient-descent and therefore is less likely to be caught in a local minimum of the regression hypersurface.
It will likekly produce the result you want if you have a very fast computer that can be dedicated to doing nothing else for a few days (since as you describe it, the size of your problem would seem to require this). In that respect, consider looping the ga function so it will continue running with different initial populations in each iteration of the loop (several runs), with the additional option of the ‘SaveOut’ function in: How to save data from Genetic Algorithm in case MATLAB crashes?.
Jonathan Jamison
2020년 2월 7일
Star Strider
2020년 2월 7일
My pleasure!
You must have an objective function that is a mathematical model of the system for which you are estimating the parameters. The ga function (and all other optimization functions) adjust the parameters of the objective function to minimize the function (for ga and some others, it is a fitness function).
If you do not have a mathematical model of the system you want to optimise, then all hope is lost. There is nothing ga or any other optimisation function can do without it.
For the race car, (this is not my area of expertise, so it may not be a comprehensive description), you would need to include parameters describing the aerodynamics (specifically drag and lift, since you would want to spoil lift), engine efficiency, and other considerations, as well as considering ambient temperature, altitude of the race course, barometric pressure, humidity, and others (i.e. density altitude). I’m sure all these have mathematical expressions, so it would be necessary to include the most relevant ones in your model.
This should be an interesting project!
Post back here if you need help with the code for it or with other problems. Some here would have relevant expertise in aspects of this.
Jonathan Jamison
2020년 2월 7일
Star Strider
2020년 2월 8일
My pleasure!
Does ‘IPG CarMaker’ have specific input arguments and outputs? If so, it may be possible to use it with ga.
I’m Following this, so I’ll see any activity when I check the Activity Feed.
Jonathan Jamison
2020년 2월 8일
Star Strider
2020년 2월 8일
My pleasure!
I have Simulink, however I have not done anything with it in a while so I am not familiar with interfacing it with ga for example.
I have no reason to purchase it (I have no idea how much it costs), so I will simply do my best to help you with it without having direct access to it myself.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!