Home Questions Force channel creating noise at a specific angles

Force channel creating noise at a specific angles

DWQA Questions › Category: KINARM End-Point Lab › Force channel creating noise at a specific angles
Eric Jin asked 4 weeks ago
Hi, we have a right hand KINARM EP. We have created a force channel with the direction centered on the straightforward reaching direction (in degrees). When the force channel is directed to large angles (ie between 90 to 15 degrees), especially in the counterclockwise angles, there is a jarring sound produced by the KINARM. What could be the source of this and how could we fix it? Thank you. I have attached an image of our KINARM code, please let me know if a video of the sound would be useful.
Attachments
1 Answers
Koloman Varady Staff answered 4 weeks ago
What you're seeing is something that can happen in all robots - due to inherent delays in the system, when the gain coefficients on feedback are too high, the robot can go unstable. The loads in a force channel are a spring equation: f = -k*x, where x is the distance from the force channel and k is the gain coefficient. How it works in real life is the system measures x and then the motor applies f some milliseconds later. If kย is too high, the motor creates forces too high and it starts overcorrecting itself, vibrating back and forth. That's called going unstable. The k value you have in the function is appropriate for the centre of the robot's workspace, as that is when the robot arm is most stable. The robot arm is less stable when it is pushed in or stretched all the way out (the stability of the robot relates to the are of the parallelogram of the link). If you want the robot to be stable at the high angles you are asking about, you have to have to lower the k value (either as a function of where you are in the workspace or just use the lower value everywhere). The force channel will be less stiff. To be more precise, the force channel example code uses a dampened spring equation where f = -kx + g*vx, where g is another gain coefficient and vx is the velocity The equation in the code is line 179 in the Calculate force channel function: forces(addIdx + 1) = (wallStiffness * scaleWallForce * timeScaling * x) + viscosityX; and k = wallStiffness; (either Primary or Secondary Wall stiffness in the Load Table) and g = viscosity; (either Primary or Secondary Viscosity in the Load Table)
Eric Jin replied 4 weeks ago

Thank you for the reply! Reducing wallStiffness did not resolve the noise; our reaches are only 10cm. When running the “Reaching Task with Force Channel with Position Control” with the sample task protocol, the same noise and vibration occur, but only for Targets at (-7.070, 7.070) and (7.070, -7.070), which both happen to be along the same diagonal axes.

Could this possibly be a mechanical error on our part?

Koloman Varady Staff replied 3 weeks ago

What values are you using for wallstiffness and viscosity?

Your secondary encoder wallstiffness should be 3000 N/m and your secondary encoder viscosity should be 15 N/(m/s)

Eric Jin replied 3 weeks ago

Thank you! Changing the secondary encoder viscosity from -50 to -15 helped.