<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=5&amp;t=951" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2007-01-14T23:46:18+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=951</id>
<entry>
<author><name><![CDATA[rustyarmor]]></name></author>
<updated>2007-01-14T23:46:18+01:00</updated>
<published>2007-01-14T23:46:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6139#p6139</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6139#p6139"/>
<title type="html"><![CDATA[AX-12 Some properties]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6139#p6139"><![CDATA[
Following the subject of this thread, we managed to build up a program in c++ (VC++6.0) in order to communicate by RS232 with ATmega128 to read and print at the screen the encoders of all servos in real time. (we actuated directly on all servos by moving them).<br /><br />We also altered the code embedded in the micro controller to work with a buffer. The idea behind this implementation was to check if the frequency increased or not with this method.<br /><br />We concluded that using a buffer, the frequency decreased. The results are listed bellow:<br /><ul><span style="font-weight: bold">Buffer’s Length:   </span>  100 | 10  | 1/No buffer<br /><span style="font-weight: bold">Frequency (Hz):  </span> 133|139| 141-143.4<br /></ul><br />Comparing the best result with the maximum theoretical value for frequency (144hz), we note that the lack is minimum (0,6Hz).<br /><br /><ul>Calculation of the maximum theoretical value for frequency:<br /><br />144=57600/((19+1)*2*10)<br /><br />Where: <br />•57600bps =&gt; Baud Rate<br />•19+1 =&gt;19 servos +1 virtual which work as a separator.<br />•2 =&gt; 2 bytes (the encoder number of each servo is 10 bits of resolution) <br />•10 is the number of bits (8bits for the number +1 bit for parity +1 bit for stop)<br /></ul><br /><br />we also managed to measure latency between PC and CM-5. After testing it for different prescalers, we concluded that the results were satisfactory. The latency is about 1.29ms.<br /><br />Bellow, is a graph obtained for Latency during a run of 1000 samples.<br /><br /><img src="http://bioloid.com.sapo.pt/latency.JPG" alt="Image" /><br /><br />regards,<br />Pedro<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=339">rustyarmor</a> — Sun Jan 14, 2007 11:46 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rustyarmor]]></name></author>
<updated>2007-01-13T22:20:29+01:00</updated>
<published>2007-01-13T22:20:29+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6082#p6082</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6082#p6082"/>
<title type="html"><![CDATA[AX-12 Some properties]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6082#p6082"><![CDATA[
Hi Jon,<br /><br />Indeed, I wasn't precise in what I have said. But I'll try now. <br /><br /><blockquote class="uncited"><div><br />What exactly do you mean by "free-turn"?<br /></div></blockquote><br /><br />By free-turn, I mean full-rotation mode.<br /><br /><blockquote class="uncited"><div><br />You said you attached a long bar with a heavy weight. How long and how heavy? Is the servo turning the bar, or is the bar turning the servo?<br /></div></blockquote><br /><br />The servo was turning the bar. The bar was 25 cm long (25grams) with a mass of 170 grams in the end of it.<br /><br /><blockquote class="uncited"><div><br />Terms you need to define precisely: <br /><br />Load (I assume it is from the "Present Load" register) <br />Input Speed <br />Output Speed<br /></div></blockquote><br /><br />Load=&gt; Present Load (Load given by the servo)<br /><br />Imput speed=&gt; By imput speed I mean the Speed sent to servo in full rotation mode.<br /><br />Output Speed=&gt; Present Speed. Read from the servo<br />Output estimated Speed=&gt; Estimated from the Present Position read from the servo.<br /><br /><blockquote class="uncited"><div><br />When you say -300 to 300 encoders/sec, what does that mean? Are you running the servo backwards, and then slow it down until it stops, and then start turning the other direction?<br /></div></blockquote><br />Exactly!<br /><br /><blockquote class="uncited"><div><br />Was it in servo mode or full-rotation mode?<br /></div></blockquote><br />In full rotation mode.[/quote]<br /><br />regards,<br />Pedro<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=339">rustyarmor</a> — Sat Jan 13, 2007 10:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2007-01-13T18:21:07+01:00</updated>
<published>2007-01-13T18:21:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6071#p6071</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6071#p6071"/>
<title type="html"><![CDATA[AX-12 Some properties]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6071#p6071"><![CDATA[
This is fascinating, and it looks like it might be very useful information. I'd like a bunch more information, though, mainly in term definition.<br /><br />What exactly do you mean by "free-turn"?<br /><br />You said you attached a long bar with a heavy weight. How long and how heavy? Is the servo turning the bar, or is the bar turning the servo?<br /><br />Terms you need to define precisely:<br /><br />Load (I assume it is from the "Present Load" register)<br />Input Speed<br />Output Speed<br /><br />When you say -300 to 300 encoders/sec, what does that mean? Are you running the servo backwards, and then slow it down until it stops, and then start turning the other direction? Was it in servo mode or full-rotation mode?<br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Sat Jan 13, 2007 6:21 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rustyarmor]]></name></author>
<updated>2007-01-13T17:06:32+01:00</updated>
<published>2007-01-13T17:06:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6067#p6067</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6067#p6067"/>
<title type="html"><![CDATA[AX-12 Some properties]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=951&amp;p=6067#p6067"><![CDATA[
In the last few months, I was invited by someone very special from this forum to do some tests with Bioloid.<br /><br />Along with other protocols we established a protocol between MATLAB/SIMULINK and the CM-5. From this protocol we were able to determine some properties of the servos and do some identification.<br /><br />We discovered that there is no control when the servos are in free-turn. <br />The following picture shows that, where a long bar with a heavy weight was attached to one of the servos in constant speed. The output speed does not follow the input speed.<br /><br /><img src="http://bioloid.com.sapo.pt/torque.JPG" alt="Image" /><br /><br />In this figure we can also conclude 2 more things.<br />1st: The load is sampled at 7 times/sec (also the output speed estimated by the servo). This result was corroborated by the bioloid team. <br />2nd: In free-turn the load tends to follow the output speed. In position mode this is not verified (see picture bellow). In this case the output servo position (yellow line-2nd graph) follows the input (yellow line-1st line) even when an external torque is applied (Output Load-purple line).<br /><br /><img src="http://bioloid.com.sapo.pt/test6_load3.JPG" alt="Image" /><br /><br />The other thing we discovered was a dead zone in speed. By saying to the servo to go from -300 to 300 encoders/sec, we discovered a dead zone between -70 to 70 enc/s. This is due to friction and stiction. Depending on the tests, these values can change magitude. So we extend the dead zone for values between -150 to 150 enc/s.<br /><br /><img src="http://bioloid.com.sapo.pt/dead_zone.JPG" alt="Image" /><br /><br />Finally, the tests were sampled 100 times/sec.<br /><br />Hoping this information will be helpful.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=339">rustyarmor</a> — Sat Jan 13, 2007 5:06 pm</p><hr />
]]></content>
</entry>
</feed>