Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

AX-12+ Return delay time

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
3 postsPage 1 of 1
3 postsPage 1 of 1

AX-12+ Return delay time

Post by Fritzoid » Wed Mar 31, 2010 2:24 pm

Post by Fritzoid
Wed Mar 31, 2010 2:24 pm

I'm trying to extract position feedback data from the 18 dynamixels connected to my CM-510 (Bioloid Premium kit).

At 1Mb, you can clock out the 8 bytes of a read packet in 72us and receive 8 bytes back in another 72us. However, the typical dynamixel is setup to pause for 500us between receiving the packet and transmitting the response. Robotis says that the return delay time can be set as low as 1us. A setting this low could easily improve throughput by a factor of 4. Thus the controller could read the position data from 50 or more servos within the firmware heartbeat of 7.8125 ms.

Presumably some delay is necessary to assure that the controller firmware can turn the line around after transmission completes, but 1/2 millisecond just seems excessive to me.

I'm wondering if anybody in this forum has experience running AX-12's with a smaller delay time setting. Is there a reason why the default delay time is set so ridiculously high?
I'm trying to extract position feedback data from the 18 dynamixels connected to my CM-510 (Bioloid Premium kit).

At 1Mb, you can clock out the 8 bytes of a read packet in 72us and receive 8 bytes back in another 72us. However, the typical dynamixel is setup to pause for 500us between receiving the packet and transmitting the response. Robotis says that the return delay time can be set as low as 1us. A setting this low could easily improve throughput by a factor of 4. Thus the controller could read the position data from 50 or more servos within the firmware heartbeat of 7.8125 ms.

Presumably some delay is necessary to assure that the controller firmware can turn the line around after transmission completes, but 1/2 millisecond just seems excessive to me.

I'm wondering if anybody in this forum has experience running AX-12's with a smaller delay time setting. Is there a reason why the default delay time is set so ridiculously high?
Fritzoid
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 331
Joined: Mon Dec 18, 2006 1:00 am

Post by JonHylands » Sun Apr 04, 2010 12:25 pm

Post by JonHylands
Sun Apr 04, 2010 12:25 pm

I think the default delay time is set so high so that people using really slow controllers like a Basic Stamp can handle switching from Tx to Rx.

- Jon
I think the default delay time is set so high so that people using really slow controllers like a Basic Stamp can handle switching from Tx to Rx.

- Jon
JonHylands
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 512
Joined: Thu Nov 09, 2006 1:00 am
Location: Ontario, Canada

Post by limor » Wed Apr 07, 2010 12:47 am

Post by limor
Wed Apr 07, 2010 12:47 am

JonHylands wrote:I think the default delay time is set so high so that people using really slow controllers like a Basic Stamp can handle switching from Tx to Rx.

- Jon


Basic Stamp can't handle 1mbps. but ofcourse the dynamixel servos can be set to a lower baud rate. :)

There have been documented evidence of 70hz control cycle on 18 servo robots. here in the forum.
Actually i'm planning to try exactly these tricks the next few days and will report my finding and code.
JonHylands wrote:I think the default delay time is set so high so that people using really slow controllers like a Basic Stamp can handle switching from Tx to Rx.

- Jon


Basic Stamp can't handle 1mbps. but ofcourse the dynamixel servos can be set to a lower baud rate. :)

There have been documented evidence of 70hz control cycle on 18 servo robots. here in the forum.
Actually i'm planning to try exactly these tricks the next few days and will report my finding and code.
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK


3 postsPage 1 of 1
3 postsPage 1 of 1