by PedroR » Mon May 16, 2011 12:02 pm
by PedroR
Mon May 16, 2011 12:02 pm
Hi i-Bot
Just found an email dated back to July 2008 (right after we began selling them) where the speed of the servos is discussed with Robobuilder. Limor sent them a few pertinent questions and they give some explanation as to why they chose to use these speeds:
"1) why is the controller's Atmega CPU clock rate set to 14.7456 MHz and not
to the standard 16Mhz which would allow the servo bus to run at 1Mhz with 0%
error ?
=> We not only paid attention to the servo bus speed but also to the
environment where users can control RoboBuilder directly from PC, which is
important for educational purpose. For example, when you use MotionBuilder
to build a motion, wCK is controlled directly by PC.
As the max speed that PC usually supports is 115200bps, we chose 14.7456MHz
in order to meet Error 0%. The usual default speed 115200bps support various
CPU types and it can communicate with wCK without any special device.
Due to this arrangement, the max speed is not 1Mbps but we think the
0.921Mbps doesn't make much difference from 1Mbps.
2) Why is the servo bus running at 115200 and not at maximum speed ?
Refer to the answer to the question 1)
3) So I assume the servos CPU also running at 14.7Mhz and they are by
default set to 115200 baud ?
User's CPU clock doesn't necessarily need to be 14.7Mhz. For example, if you
use Atmega128, use 16Mhz clock and set 115200bps without problem(Error
-3.5%)."
I am not sure if this was posted at the time but in any case this is the information we have at this point.
If you'd like I can get in touch with them and ask more about this. Just let me know if this is your only question or if you'd like us to ask for any additional information.
Also, as a final note, I know that at 115.2K and using the RBC protocol (communicating with the controller, not the servos), we were told by one other customer that he got packet losses 1 out of 5 000 times. Not nearly as bad as what you're seeing, but we did get reports of this happening at 115ks too.
I hope this helps.
Regards
Pedro.
Hi i-Bot
Just found an email dated back to July 2008 (right after we began selling them) where the speed of the servos is discussed with Robobuilder. Limor sent them a few pertinent questions and they give some explanation as to why they chose to use these speeds:
"1) why is the controller's Atmega CPU clock rate set to 14.7456 MHz and not
to the standard 16Mhz which would allow the servo bus to run at 1Mhz with 0%
error ?
=> We not only paid attention to the servo bus speed but also to the
environment where users can control RoboBuilder directly from PC, which is
important for educational purpose. For example, when you use MotionBuilder
to build a motion, wCK is controlled directly by PC.
As the max speed that PC usually supports is 115200bps, we chose 14.7456MHz
in order to meet Error 0%. The usual default speed 115200bps support various
CPU types and it can communicate with wCK without any special device.
Due to this arrangement, the max speed is not 1Mbps but we think the
0.921Mbps doesn't make much difference from 1Mbps.
2) Why is the servo bus running at 115200 and not at maximum speed ?
Refer to the answer to the question 1)
3) So I assume the servos CPU also running at 14.7Mhz and they are by
default set to 115200 baud ?
User's CPU clock doesn't necessarily need to be 14.7Mhz. For example, if you
use Atmega128, use 16Mhz clock and set 115200bps without problem(Error
-3.5%)."
I am not sure if this was posted at the time but in any case this is the information we have at this point.
If you'd like I can get in touch with them and ask more about this. Just let me know if this is your only question or if you'd like us to ask for any additional information.
Also, as a final note, I know that at 115.2K and using the RBC protocol (communicating with the controller, not the servos), we were told by one other customer that he got packet losses 1 out of 5 000 times. Not nearly as bad as what you're seeing, but we did get reports of this happening at 115ks too.
I hope this helps.
Regards
Pedro.