<?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=1&amp;t=2986" />

<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>2008-11-24T14:28:45+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=1&amp;t=2986</id>
<entry>
<author><name><![CDATA[SK]]></name></author>
<updated>2008-11-24T14:28:45+01:00</updated>
<published>2008-11-24T14:28:45+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18399#p18399</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18399#p18399"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18399#p18399"><![CDATA[
<blockquote><div><cite>Ray wrote:</cite><br />It seem to be a great stable controller in this video <img src="http://forum.robosavvy.com/images/smilies/icon_surprised.gif" alt=":o" title="Surprised" /><br /></div></blockquote><br />Well the video shows just the state estimation by the Filter, but using this estimated state (fused from Gyro+Acc) in a PID controller is going to give better results than using the very noisy (and in dynamic situations, wrong) direct accelerometer data.<br /><br /><blockquote class="uncited"><div><br />any simple implementation ?<br />necessary to concern with state variables then?<br /></div></blockquote><br />You can find a simple implementation for state estimation using a gyro and 2 accelerometers here:<br /><!-- m --><a class="postlink" href="http://www.openservo.com/forums/viewtopic.php?t=356&amp;highlight=kalman">http://www.openservo.com/forums/viewtop ... ght=kalman</a><!-- m --><br />The Thread-Starter built a small segway-like robot and also linked his source code ( adapted from the autopilot project ).<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=212">SK</a> — Mon Nov 24, 2008 2:28 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2008-11-24T13:35:05+01:00</updated>
<published>2008-11-24T13:35:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18395#p18395</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18395#p18395"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18395#p18395"><![CDATA[
Hi,<br />I moved the topic to &quot;General&quot; since it is not robot-specific and and it is a very interesting topic indeed and may be overlooked by people who don't read that particular robot forum.<br /><br />There's some nice pseudocode on wikipedia for <a href="http://en.wikipedia.org/wiki/PID_control" class="postlink">PID</a> and some scary looking <a href="http://en.wikipedia.org/wiki/Kalman_filter" class="postlink">formulas</a> on the kalman-filter entry. Kalman filter is actually quite a simple concept once you read through the <a href="http://www.cs.unc.edu/~welch/kalman/kalmanIntro.html" class="postlink">intro paper</a> and try to write it on a piece of paper.<br /><br />There was some <a href="http://robosavvy.com/site/index.php?option=com_openwiki&amp;Itemid=&amp;id=robotis_bioloid#motion_editor_-_speed_accel_and_s-curves" class="postlink">discussion</a> previously here on the Bioloid forum regarding S-curves and how to smooth the transitions between servo motions.<br /><br />You can find code and theory of PID and S-curves at the openservo.org site.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Mon Nov 24, 2008 1:35 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Ray]]></name></author>
<updated>2008-11-24T11:24:43+01:00</updated>
<published>2008-11-24T11:24:43+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18393#p18393</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18393#p18393"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18393#p18393"><![CDATA[
It seem to be a great stable controller in this video <img src="http://forum.robosavvy.com/images/smilies/icon_surprised.gif" alt=":o" title="Surprised" /> <br />any simple implementation ?<br />necessary to concern with state variables then?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=145">Ray</a> — Mon Nov 24, 2008 11:24 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SK]]></name></author>
<updated>2008-11-23T22:30:42+01:00</updated>
<published>2008-11-23T22:30:42+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18384#p18384</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18384#p18384"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18384#p18384"><![CDATA[
Regarding my earlier posting about Kalman Filtering:<br />I just found a demo on YouTube, showing the advantage of sensor fusion via KF:<br /><!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=AWAFFZ7rPDc">http://www.youtube.com/watch?v=AWAFFZ7rPDc</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=212">SK</a> — Sun Nov 23, 2008 10:30 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[billyzelsnack]]></name></author>
<updated>2008-11-22T04:22:39+01:00</updated>
<published>2008-11-22T04:22:39+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18358#p18358</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18358#p18358"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18358#p18358"><![CDATA[
I was talking in general. Not necessarily for that controller. Though.. Fixed point is your friend!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=459">billyzelsnack</a> — Sat Nov 22, 2008 4:22 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Ray]]></name></author>
<updated>2008-11-22T03:47:10+01:00</updated>
<published>2008-11-22T03:47:10+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18357#p18357</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18357#p18357"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18357#p18357"><![CDATA[
Humm... it seem complex to implement this algorithm,<br />you need several memory variables.<br />you need a summer of old and present sequence of variable respect to time to act as a integrator, division can be done by muliplying a fractional number in stead of divide, but it seem RC003 do not support decimal number.....<br />Any way, a PI controller is enough presently, I think <img src="http://forum.robosavvy.com/images/smilies/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=145">Ray</a> — Sat Nov 22, 2008 3:47 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[billyzelsnack]]></name></author>
<updated>2008-11-22T02:46:14+01:00</updated>
<published>2008-11-22T02:46:14+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18356#p18356</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18356#p18356"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18356#p18356"><![CDATA[
Wow. That is hilariously complex looking for how simple it comes down to in code.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=459">billyzelsnack</a> — Sat Nov 22, 2008 2:46 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mic2]]></name></author>
<updated>2008-11-22T00:45:52+01:00</updated>
<published>2008-11-22T00:45:52+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18355#p18355</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18355#p18355"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18355#p18355"><![CDATA[
Found it!<br />proportional–integral–derivative controller (PID controller)<br /><img src="http://smfykw.bay.livefilestore.com/y1pO6aZYLBYKQ8tkgnaFqHvJPvhr-dAiCSltMj7-HcoDtEUJ1SjP58eeXxLh9S6Z29Q-21Kic3CYI8/PID50.jpg" alt="Image" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=543">mic2</a> — Sat Nov 22, 2008 12:45 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SK]]></name></author>
<updated>2008-11-21T08:34:32+01:00</updated>
<published>2008-11-21T08:34:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18344#p18344</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18344#p18344"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18344#p18344"><![CDATA[
Well if you want to do it state of the art, you probably have to look into using a Kalman Filter. It lets you estimate the state of a system by using (multiple) noisy measurements.<br />This way, you can use accelerometer and gyro measurements, fuse them and get an estimate of the pitch angle.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=212">SK</a> — Fri Nov 21, 2008 8:34 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mic2]]></name></author>
<updated>2008-11-21T01:50:43+01:00</updated>
<published>2008-11-21T01:50:43+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18343#p18343</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18343#p18343"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18343#p18343"><![CDATA[
<blockquote><div><cite>Robo1 wrote:</cite><br />Try using a PID control method, this might help the problem.<br /><br />Bren<br /></div></blockquote><br /><br />Hi Bren, what is PID control method? can you give more detail. thanks<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=543">mic2</a> — Fri Nov 21, 2008 1:50 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Robo1]]></name></author>
<updated>2008-11-20T23:41:21+01:00</updated>
<published>2008-11-20T23:41:21+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18341#p18341</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18341#p18341"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18341#p18341"><![CDATA[
Try using a PID control method, this might help the problem.<br /><br />Bren<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=216">Robo1</a> — Thu Nov 20, 2008 11:41 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mic2]]></name></author>
<updated>2008-11-20T23:26:30+01:00</updated>
<published>2008-11-20T23:26:30+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18340#p18340</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18340#p18340"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18340#p18340"><![CDATA[
Well, I’ve tried disabling the Gyro and just using the Accelerometer instead, and set the leg respond to balance (maintain its body) on a moving board just like Qrio on YouTube  <a href="http://uk.youtube.com/watch?v=33a33XEVHKE" class="postlink">http://uk.youtube.com/watch?v=33a33XEVHKE</a>.<br /><br />Here’s the algorithm: <br />Well, this should be opposite from Gyro settings, so let say the robot is facing forward when the board moving up the feet should also move up to maintain the body to 90 degree. and when the board is moving down the feet should also move down. Right! <br /><br />But the problem I came across was getting an echo feedback i.e. feet move up and down very fast and build up a non stop unwanted movement, even on a non moving floor!?<br /><br />I’ve tried to reduce the gain of the Accelerometer but if I do that I also reduce the body angel i.e. the robot will not maintain its body at 90 degree!<br /><br />Any idea guys?<br /><img src="http://forum.robosavvy.com/images/smilies/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=543">mic2</a> — Thu Nov 20, 2008 11:26 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Ray]]></name></author>
<updated>2008-10-30T12:17:18+01:00</updated>
<published>2008-10-30T12:17:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18079#p18079</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18079#p18079"/>
<title type="html"><![CDATA[Static stability  by accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2986&amp;p=18079#p18079"><![CDATA[
Recently I had discussed with my friend about the idea that the stability of accelerometer is better than the gyro in static motion.<br /><br />I think it is worth to discuss.<br />Any ideas ??<br /><br /><br />---------------------------<br /><br />Well, I do not means Accelerometer can replace the gyro and vice-versa.<br /><br />I think Gyro is efficient at highly oscillated motion.<br /><br />accelerometer is useful for static balance e.g. climbing a tile road.<br /><br /><br />In fact, for good dymanic balance, a number of sensors are necessary just as the case of human.<br /><br />e..g. we need pressure sensors and current sensor as well (Such as Bioloid).<br /><br />I am now investigating that the accelerometer is better for the case of laddar climing......<br /><br />....... still have no time.......hope I can find the result soon.)<br /><br />for slow walking, I think it also helps, I also suspect both gyro and accelerometer can be used together.<br /><br />I hope I can finished my ladder climbing base on accelerometer soon <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=145">Ray</a> — Thu Oct 30, 2008 12:17 pm</p><hr />
]]></content>
</entry>
</feed>