Is there a mechanical rotational to mechanical translational converter block in Simscape?

2 ビュー (過去 30 日間)
I'm looking for what seems to be a basic element. I'm looking for a mechanical rotational to translational converter with two inputs on either side.
That is, I'm looking for a block that does not presume either input is referenced to ground.
There are some blocks that are close, but don't really do what I want.
  1. "Simscape/Foundation Library/Mechanical/Mechanisms/Lever" gives me the effect I want on the mechanical end, but has no rotational ports.
  2. "Simscape/Foundation Library/Mechanical/Mechanisms/Wheel and Axle" converts a single translational input to a single rotational input assuming both sides are referenced to ground. In my case both sides are not referenced to ground.
  3. "Simscape/Foundation Library/Electrical/Electrical Elements/Rotational Electromechanical Converter" does almost what I want, but is between mechanical rotational and electrical instead of mechanical translational.
I'm sure there is a way to "build" my own converter, but it seems like such a fundamental component that it should exist already.


Charles Refvem
Charles Refvem 2022 年 9 月 11 日
I found the best solution was to make my own custom component using an .SSC file. The file is attached for anyone interested in my solution.
I simply adapted the "Rotational Electromechanical Converter" and "Translational Electromechanical Converter" blocks to make a block that does what I want.

その他の回答 (1 件)

Alex Alex
Alex Alex 2022 年 9 月 8 日
Simscape/Driveline/Gears/Rotational-Translational its not for you? Matlab verson?
  1 件のコメント
Charles Refvem
Charles Refvem 2022 年 9 月 11 日
Thank you for the suggestion. I looked around in the Driveline library and still couldn't find anything. I'm running R2022a.
I did manage to come up with my own custom solution though that I'll post in an answer below.



Find more on Creating Custom Components and Libraries in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!

Translated by