How to sense the torque with the revolute joint?
8 views (last 30 days)
Show older comments
Hello there,
based on the following simscape multibody example, I would like to measure the torque at the joint (see attached file). Is there a way to sense the values automatically? When setting "automatically computed" in "Actuation" there is an error message appearing.
How can i sense the torque instead?
Thanks in advance :)
4 Comments
Nathan Hardenberg
on 11 Jun 2023
The name of the Block ist "Constant". In the Constant I use the deg2rad()-function to indicate that the input of the joint is in radians.
Regarding your other comment: What you describe does not calculate the torque. One example to prove my point is when your damping coefficient is 0. Your toque then should not be 0. I'm not into this topic at the moment that's why I can not tell/know how to calculate it.
Answers (1)
Nathan Hardenberg
on 12 Jun 2023
I tought about it a bit more: The torque is just dependent on the deviation to the natual position. The damper creates a torque in the opposite direction which slows down the movement, but the current toqure on the joint is just depentant on spring stiffness. Since the movement is not the problem here (it gets simulated with the multibody) the spring-torque T can easily be calculated:
with
- K : spring constant
- : diffence to equilibrium
Obvioulsly the values in the Revolute-Joint and the values in the calculation have to be the same
0 Comments
See Also
Categories
Find more on Multibody Dynamics 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!