Is there a way to constrain a body that is revolving by connecting some sort of constraint block to revolute? I need to constrain a see saw like device (cad model imported) from 58 to 122 degrees.
Thanks
Best Answer
Never mind, I found it unnecessary to restrict the block. Robert
You can connect a lead screw joint from Simscape Multibody to a translational hard stop from Simscape foundation library. Have a look at the model "Joint Limits and Friction Methods in a Hinge" in theSimscape Multibody Multiphysics Library to see how to interface the two components.
You can connect blocks created from S-Functions to Simscape networks. The interface is done via Simulink signals. This will be OK for certain types of models or effects (calculating a spring force, for example). For others, it will introduce an algebraic loop which you will have to break using a transfer function or a unit delay.
If at all possible, you should consider using the Simscape language or assembling your component from the Foundation library. This will ensure you have a block that can be easily connected into your physical model, will permit Simscape to use symbolic methods to reduce the equations, and provide good diagnostics during simulation.
You can find out more about the Simscape Language here:
Best Answer