How to create a custom damper component on Simscape

2 ビュー (過去 30 日間)
Javier Ruiz
Javier Ruiz 2011 年 4 月 16 日
I am trying to create a custom damper for a Quarter of Vehicle Simscape model on Simulink. I am currently using a Force Source and connecting my force signal by means of a Simulink to PS converter. The problem is that I need the deflection velocity calculated by the same model in order to produce a certain damping force. Hence, I run into a Algebraic Loop issue, which I have not been able to resolve.
I would like to create a custom damper if possible, which I could just connect in place of a regular damper on Simscape.
Thank you for the help!!

採用された回答

Arnaud Miege
Arnaud Miege 2011 年 4 月 17 日
I assume you have something like this:
Going in and out of Simulink causes the algebraic loop. Instead try using the PS Look-up Table (1D) as in:
Using physical signals and staying within the Simscape network will avoid algebraic loop and should get rid of your problem. Make sure to use data in m/s and N for the PS Look-up table.
HTH,
Arnaud
  2 件のコメント
Javier Ruiz
Javier Ruiz 2011 年 4 月 18 日
Thank you Arnaud. I am in fact going out to Simulink. The issue is that my custom damper function is very complex and depends on more than one input. I currently have it on an Embedded MATLAB Function. Do I have other choices besides using the 1D or 2D Look-up Table in Simscape?
Thanks again!!
Arnaud Miege
Arnaud Miege 2011 年 4 月 18 日
Not really. You can use the Simscape language to create a custom component, but you'll still be relying on physical look-up tables. If you can upload a copy of your model on a filesharing site, I can maybe be more specific.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeComposite Components についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by