Summary. During compliance or force control, the robot's own motion can be picked up by the joint torque sensors as if it were an external force. Under certain conditions this feedback does not die out, and the robot keeps vibrating at about 12–15 Hz. It is most likely with a long TCP, a strongly folded J3, a light tool and low compliance stiffness.
What to do: right after task_compliance_ctrl(), call set_damping_factor() with a value above 1.0. During force control, also call set_force_factor() with a value below 1.0 right after set_desired_force(). Find the values by testing at the position where the vibration occurs, and keep a margin.
1. Cause
What happens
- Compliance and force control let the robot follow the force acting on it. The robot measures this force with the torque sensor in each joint.
- When the robot moves, its own weight also creates torque in the joints. During compliance control, this torque from its own motion is sensed in the same way as a force applied from outside.
- This creates a loop: the robot moves slightly, senses that motion as an external force, moves again, and senses that motion again. Normally the loop is small and dies out quickly. Under certain conditions it does not, and the robot keeps vibrating 12–15 times per second.
- It works like audio feedback when a microphone is held close to a speaker. It does not mean that the robot or the tool is damaged.
When it is most likely
- The longer the TCP, the more likely the vibration.
- The larger the J3 angle (about 120° or more, positive or negative), the more likely the vibration.
- The lighter the tool (including no tool), the more likely the vibration. A heavier tool makes it less likely.
- The lower the compliance stiffness, the more likely the vibration.
The vibration usually appears when several of these conditions come together. With only one or two of them, it often does not occur.
2. How to remove the vibration
The vibration can be removed with existing DRL commands that adjust how compliance control responds. Test only at the working position where the vibration occurs, using the procedure below. The right values depend on the pose, TCP, tool and stiffness, so do not use fixed values: confirm them under the real working conditions at that position.
Commands
set_damping_factor([d]*6): increases compliance damping. Call it right aftertask_compliance_ctrl()(range 0.1–2.0, default 1.0).set_force_factor([f]*6): lowers the response gain to external force. Call it right afterset_desired_force()(range 0.1–2.0, default 1.0; set it below 1.0).- The damping factor alone reduces the vibration. Using the force factor as well suppresses it more reliably.
Example (from our internal test, where the vibration was removed)
Before (vibration)
k_d = [100.0, 100.0, 20.0, 200.0, 200.0, 200.0] mwait(0.2) task_compliance_ctrl(k_d) f_d = [0.0, 0.0, -20.0, 0.0, 0.0, 0.0] f_dir = [0, 0, 1, 0, 0, 0] set_desired_force(f_d, f_dir, mod=DR_FC_MOD_REL)
After (no vibration)
k_d = [100.0, 100.0, 20.0, 200.0, 200.0, 200.0] mwait(0.2) task_compliance_ctrl(k_d) set_damping_factor([1.6, 1.6, 1.6, 1.6, 1.6, 1.6]) # added: right after compliance control starts f_d = [0.0, 0.0, -20.0, 0.0, 0.0, 0.0] f_dir = [0, 0, 1, 0, 0, 0] set_desired_force(f_d, f_dir, mod=DR_FC_MOD_REL) set_force_factor([0.9, 0.9, 0.9, 0.9, 0.9, 0.9]) # added (optional): right after force control starts
- These values (damping factor 1.6, force factor 0.9) removed the vibration at the worst position in our internal test. Confirm the values for your application with the test procedure below.
- Do not change any other lines of your program.
Test procedure
- At the position where the vibration occurs, keep the real working pose, TCP, tool weight and compliance stiffness.
- Raise the damping factor from 1.0 in steps of 0.2 until the vibration stops.
- Add a margin above that value. In our test, the value at which the vibration had only just stopped was close to the limit, and results varied between runs; one more step made it stable. Lowering the force factor from 1.0 in steps of 0.1 at the same time gives an even more stable margin.
- If the vibration occurs at several positions, set the values for each position in the same way.
- Check that cycle time and contact tasks (insertion, alignment, etc.) still meet your requirements.
Important points
- Use the same value for all six axes. Lowering the force factor only in the force-control direction (z) reduced the vibration by only about 15%, because most of the vibration path runs through the compliance directions (x and rotation).
- The force factor works only during force control. If you call it before
set_desired_force()(compliance control only), it is rejected with warning [2.1903]. The damping factor also works during compliance control only. - Both values return to the default (1.0) when
task_compliance_ctrl()starts. Set them again every time compliance control starts at the position where you need them. - Motion becomes slower. At the same target force, the descent speed was about 1/d with damping factor d, and about f1.5 with force factor f. Moving through free space with position motion (movel) and starting force control just before contact reduces this effect.
- If you raise the target force to recover speed, the descent speed recovers, but the pressing force after contact also rises by the same ratio.
- Set the tool weight to match the real tool.
- Keep the test safe. In some poses the robot vibrated strongly with the default values (joint speed above 30°/s). Test at low speed with a clear area around the robot, and be ready to stop it immediately.
- How to judge the vibration. Strong vibration can be heard and seen. Once the values have almost removed it, small vibration is hard to hear or see; check it by lightly touching the outer surface of the arm (link cover). During compliance control the robot also reacts to the force of your hand, so touch lightly without pushing. Do not touch places where a hand can be caught, such as between the tool tip and the workpiece or between joints, and be ready to stop the robot.
3. Internal test results
Test conditions: M1013, V3.7.1, TCP 115 mm, no tool, sequence task_compliance_ctrl → set_desired_force (z −20 N, relative) → hold at 0 N. Vibration was judged from the robot's internal log data. The position used was the worst case: J3 about −135°.
Damping factor raised step by step (two runs each)
| Damping factor | Stiffness x/y 100: vibration | Descent speed | Stiffness x/y 1000: vibration | Descent speed |
|---|---|---|---|---|
| 1.0 | Vibration | 1.00 | Vibration | 0.99 |
| 1.2 | Vibration (reduced) | 0.85 | Vibration in some runs | 0.82 |
| 1.4 | Almost none (briefly returned) | 0.74 | None | 0.67 |
| 1.6 | None | 0.66 | None | 0.61 |
| 1.8 | None | 0.59 | – | – |
| 2.0 | None | 0.54 | – | – |
Damping factor with force factor (stiffness x/y 100, two runs each)
| Damping factor | Force factor | Vibration | Descent speed |
|---|---|---|---|
| 1.0 | 0.9 | Almost none | 0.87 |
| 1.0 | 0.8 | None | 0.72 |
| 1.0 | 0.7 | None | 0.61 |
| 1.4 | 0.8 | None (less than damping factor 1.4 alone) | 0.53 |
| 1.6 | 0.9 | None (less than damping factor 1.6 alone) | 0.56 |
- At the value where the vibration had only just stopped (stiffness 100, damping factor 1.4), it briefly returned. One step higher (1.6), both runs were stable.
- Combining the damping factor with the force factor reduced the remaining small vibration further.
- The test was done on an M1013. The same principle applies to other models, but the values must be confirmed on your robot and application.
Related manual entries: task_compliance_ctrl(), set_desired_force(), set_damping_factor(), set_force_factor() (V3.7.0 / V3.7.1).
Comments
0 comments
Please sign in to leave a comment.