Constant Rad/s to Revoluate Joint in Simscape multibody

45 views (last 30 days)
Enis
Enis on 30 Nov 2024 at 12:48
Commented: Enis on 3 Dec 2024 at 9:41
ı done full parametric crank mechanism by using vectors and I want to create a fixed signal and connect with revoluate from the RAD/S unit but I don't know how to do it

Answers (1)

Pramil
Pramil on 30 Nov 2024 at 18:06
Hi Enis,
To obtain a constant physical signal like a constant "Rad/s" signal, there are two common ways:
  1. Use a "PS Constant" block and in its dialog box, select unit as "rad/s".
  2. Use a "Constant" block along with a "Simulink-PS" block and in it's dialog box select unit as "rad/s".
Here is the link to "PS Constant" block and "Simulink-PS" block for your reference:
Hope it helps.
  3 Comments
Pramil
Pramil on 3 Dec 2024 at 5:53
If the above configuration is what you want, the better way would be to make the setup like this:
Enis
Enis on 3 Dec 2024 at 9:41
I made the connection as above but
ı got that error;
Invalid unit specified by converter block 'untitled1/Simulink-PS Converter'.
Caused by:
Cannot convert 'rad/s' to 'rad'. Unit expressions are not commensurate.
Stack trace
Component:Simulink | Category:Model error

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!