I have a SimMechanics Revolute joint
block with a torque as input and a rotational speed as output. I would like to limit the speed of the joint by imposing a maximum speed.
- I do not find an appropriate block in Simulink Library Browser - Simscape - SimMechanics - Second Generation - Constraints.
- Therefore, I want to make a custom block to limit the rotational speed. Is it possible to include inequalities in a custom Simscape block? Until now, I only encountered equations with
==
that represented energy balances, see theElectromagnetic converter
for instance:
equations v == p.v - n.v; mmf == N.mmf - S.mmf; mmf == Nw*i; phi.der == -v/Nw; % Faraday's law end
I would use the Rotational Hard Stop block from the Simscape library to limit the angular motion of the joint:
From the documentation: