Axis run away during a commanded movement

Hi guys,
I’m Alessio an electronic/software developer based in Italy.
Everything works good: I can configure the motors, encoders and do movements as expected through the USB interface with a python script in closed loop position control.
The main problem is that sometime (it happend randomly) one axis (it happen only on M1) “go away” without any command.
The motion seem not to be controlled and seem to be done with a low current setting. The axis move really slow and if I push it there is no too much force. Does anyone can has a similar problem or any idea on how to debug?

Just some information about my configuration:

  • Odrive version: 3.5 - 48V with latest stable firmware
  • Motors: D5065 270KV
  • Encoder: CUI 8192CPR AMT102-V

Thanks in advance to everyone who will help

This is often caused by noise on the encoder wires - can you check that the A/B/Z pins aren’t seeing excessive noise?

Also, are you getting an OVERSPEED error or a CURRENT_UNSTALBE error? (use dump_errors(odrv0) in odrivetool to check)