Simulink Example File Issue - Anti-Lock Braking Using Extremum Seeking Control
4 次查看(过去 30 天)
显示 更早的评论
I was running the code for the "Anti-Lock Braking Using Extremum Seeking Control" example (Anti-Lock Braking Using Extremum Seeking Control) and noticed that the results do not match what is shown in the documentation plots.
I simply copy and pasted the code as written in the documentation into the command window and made no modifications otherwise.The documentation plot screenshots seem correct and what should be observed but is not seen in the simulation.
For example, the objective function mu should converge to the optimum shown in the linked documentation page, instead it demonstrates an oscillatory behaviour. I have attached scope outputs for the default 6 seconds and then with increased simulation time to 50 seconds for reference. The velocity plots similarly do not match the expected performance shown in the example documentation page.
I can't see any obvious issues in the documentation or in the code, and neither did I see any notable differences in the associated Matlab Video (ABS ESC Example Video) that also produced the same results as in the documentation.
Appreciate any insight and recommendations!
0 个评论
采纳的回答
Nirupama
2024-1-29
I tried running the same example in MATLAB R2022b as mentioned in the following documentation: https://www.mathworks.com/help/releases/R2022b/slcontrol/ug/anti-lock-braking-using-extremum-seeking-control.html
The results obtained via simulation match with the ones present in the documentation.
I checked the model/block parameters and the MATLAB live script of the example in MATLAB R2023a and R2023b. The results differ from what is mentioned in the documentation.
I tried to compare the models across the 3 releases (R2022b, R2023a and R2023b) and found no obvious difference. Likewise the documentation for all the 3 releases seem to be exactly the same.
For now, I would recommend you to use MATLAB R2022b to explore around this example.
You can also try comparing the model and parameters of the example across the 3 releases of MATLAB to see if you can spot the root cause of the issue.
Hope this helps!
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!