![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177698/image.png)
How to simulate Coulomb static friction in a multi-body system in SIMULINK/SimScape language?
5 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to simulate a multibody system including Coulomb static friction.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166302/image.png)
So far I have been able to write the equations . I have also been able to implement the math in Modelica language and run the code in both OpenModelica and Wolfram SystemModeller. The issue is that the simulation take like ages. I want to try and do it in SIMULINK/SimScape to see if it is any faster. I have found some SIMULINK/SimScape blocks, but the issue is first I do not understand how they work and they seem to only include kinetic friction. so my questions:
- Is my math correct ?
- Are there any easy examples of a multibody system including the Coulomb static friction compatible with my math?
- Is it possible to program in SIMULINK/SimScape language without using the visual programming interface, like OpenModelica?
0 件のコメント
回答 (1 件)
Steve Miller
2017 年 8 月 5 日
Hi Foad - you can model this in Simscape, either in a textual format or in a graphical editor. Attached is a Simscape model and a screenshot is below. I suspect the slow simulations are caused by the transitions from non-sliding to sliding and vice-versa which can be tricky for solvers. The model I have attached simulates extremely fast. I'm not sure if I have matched all your parameters. Your mus is 1.3, which I assume is static friction. Normally coefficients of friction are between 0 and 1, so I'm not sure how to interpret that.
Good luck with your project!
--Steve
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177698/image.png)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Discontinuities についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!