Hello,
I am experimenting with gimbal joints and wanted to clarify how exactly the stiffness constant aand damping constant parameters in this joint work. What is the equation behind the scenes?
I have a gimbal joint with a custom torque feedback in all the three axes as the figure below.
The torque feeding into the joint is a function of joint angle in that particular axis. This is done through the Matlab function block.
This setup compiles without errors.
However, I notced that without any damping (C_Gimbal = 0) in the joint, the output angle is very jittery and oscillaroty. When I give a small amount of damping (C_Gimbal = 0.1), the system is smooth and non oscillatory under load - as expected.
I am unsure of what exactly is the math behind this scenario, since I am using a custom torque input in the joint. How does damping fint into the equation.
ultimately, I want to put C_Gimbal = 0 and integrate this damping component in the torque function itself. I tried
and the result is non smooth and very oscillatory. For the differentiation, I tried both 'Derivative' and 'Discrete Derivative' blocks.
Any insights in this would be very helpful. Thank you.