by shervin.emami » Tue Oct 20, 2009 12:25 pm
by shervin.emami
Tue Oct 20, 2009 12:25 pm
Hi Limor,
Yeah I will post it soon on my website, I actually planned on releasing it as an open-source library but my employer at the time wouldn't have allowed it. Hopefully I'll have time to post it next week with a basic description of the noise problem.
But basically I was using it in the middle-east where the electricity in the lab wasn't grounded to earth, so there ended up being so much electrical noise that I could rarely use any existing software without it crashing the software or even temporarily damaging some of the motors. I was getting really strange problems, like even when I was trying to read from 1 motor connected to a CM-5 board or USB2Dynamixel, it would usually cause the Robotis tools to freeze and same to all the ones I found off internet.
Sometimes it would work perfectly for 5 minutes, but usually it would just randomly work for 10 seconds then not work for 30 seconds, etc. Eventually I realised it was because of electrical noise in the cables, and since it's really hard to get much electrical supplies in the middle of the desert, I ended up just writing code that works well enough even if there's a lot of electrical noise. The code I wrote is for using the USB2Dynamixels library, but I assume it can be ported to other devices without too much trouble.
I think anyone trying to use larger Dynamixel motors & robots will experience similar problems, unless if they have decent quality motor cables and well grounded electricity (or using batteries). I was using almost 30 of the bigger Robotis Dynamixel servo motors (a combination of RX-28 and RX-64 motors) to control the arms, fingers and neck of a life-sized humanoid robot (
http://www.shervinemami.co.cc/), so it's obviously more likely to get noise problems, but sometimes I was even experiencing it when just 1 motor was connected!
Another important tip is that you should make sure that you don't have a cable plugged into the last motor of your daisy-chain and not plugged into anything else, because this will act as an antenna and add lots more electrical noise.
Hi Limor,
Yeah I will post it soon on my website, I actually planned on releasing it as an open-source library but my employer at the time wouldn't have allowed it. Hopefully I'll have time to post it next week with a basic description of the noise problem.
But basically I was using it in the middle-east where the electricity in the lab wasn't grounded to earth, so there ended up being so much electrical noise that I could rarely use any existing software without it crashing the software or even temporarily damaging some of the motors. I was getting really strange problems, like even when I was trying to read from 1 motor connected to a CM-5 board or USB2Dynamixel, it would usually cause the Robotis tools to freeze and same to all the ones I found off internet.
Sometimes it would work perfectly for 5 minutes, but usually it would just randomly work for 10 seconds then not work for 30 seconds, etc. Eventually I realised it was because of electrical noise in the cables, and since it's really hard to get much electrical supplies in the middle of the desert, I ended up just writing code that works well enough even if there's a lot of electrical noise. The code I wrote is for using the USB2Dynamixels library, but I assume it can be ported to other devices without too much trouble.
I think anyone trying to use larger Dynamixel motors & robots will experience similar problems, unless if they have decent quality motor cables and well grounded electricity (or using batteries). I was using almost 30 of the bigger Robotis Dynamixel servo motors (a combination of RX-28 and RX-64 motors) to control the arms, fingers and neck of a life-sized humanoid robot (
http://www.shervinemami.co.cc/), so it's obviously more likely to get noise problems, but sometimes I was even experiencing it when just 1 motor was connected!
Another important tip is that you should make sure that you don't have a cable plugged into the last motor of your daisy-chain and not plugged into anything else, because this will act as an antenna and add lots more electrical noise.