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

7 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Charles Refvem
Charles Refvem le 11 Sep 2022
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.

Plus de réponses (1)

Alex Alex
Alex Alex le 8 Sep 2022
Simscape/Driveline/Gears/Rotational-Translational its not for you? Matlab verson?
  1 commentaire
Charles Refvem
Charles Refvem le 11 Sep 2022
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.

Connectez-vous pour commenter.


En savoir plus sur Foundation and Custom Domains dans Help Center et File Exchange





Community Treasure Hunt

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

Start Hunting!

Translated by