Angle measurement for balancing robot.


Closed Thread
Results 1 to 40 of 53

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    See the PDF file below.

    Adjustable weight position, shock resistant.

    Swiss Made! (This is a special note for Alain).

    PDF doc:
    http://leiwww.epfl.ch/publications/g...fer_mic_01.pdf

    See the movies:
    http://leiwww.epfl.ch/joe/

    Best regards,

    Luciano

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default

    Hi Luciano,
    Yep, seen that one before too, very cool and seems to work extremely well. The problem again is that the math described in that pdf is so over my head that I can't even begin to understand it. I was hoping that someone (with enough math skills) already had wrote a routine or ported one of the available routines to PBP.

    Thanks!
    /Henrik Olsson.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    Just out of curiosity...
    How will the robot rise if it is in a initial horizontal position? Alone I think, will not!

    Anyway, JOE is very impressive!

    The PBP in my opinion is a little slow for the required math.

    Ioannis

  4. #4
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    Just out of curiosity...
    How will the robot rise if it is in a initial horizontal position? Alone I think, will not!
    ....
    A second one will help it to stand up of course!
    Like a for loop.

    IF the second one is also at initial position THEN NEXT.

    ---------------------
    Last edited by sayzer; - 24th January 2007 at 08:42.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    Aha! Good idea Sayzer!

    Ioannis

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default

    Ioannis,
    I don't think Joe can stand from a horisontal position on it's own. If I ever get mine to work it will hopefully be something like this one:

    http://www-robotics.cs.umass.edu/Res...uBot/uBot.html

    In one of the videos they show how it recovers from its "resting" position. Very cool and stable two wheeler.

    The math seems to range from rather complicated to extremly complicated. Since my mathskills are rather (very, in this case) limited I'm aming for complicated at the most. I'm confident it CAN be done with PBP i just have to understand HOW it works.

    I have quadrature encoders mounted on the wheels and I'm thinking I can calculate the robots acceleration by comparing current speed with previous speed and subtract that from the acceleromter reading ending up with 'pure' tilt. My concern now is that the resolution of the encoders are to low. But hopefully I'll be able to understand this Kalman thing any year now..... ;-/

    Atleast it's a fun project :-)

    /Henrik Olsson.

  7. #7
    Join Date
    Aug 2005
    Location
    Ontario, Canada
    Posts
    5


    Did you find this post helpful? Yes | No

    Default Angle / Accel board

    I don't know if anyone has investigated this one
    http://www.circuit-ed.com/accel.htm
    Might be worth a try for the angle part and not toooo much $.

  8. #8
    Join Date
    Jan 2007
    Posts
    70


    Did you find this post helpful? Yes | No

    Default

    soo..from reading the nuts n volts article, i think the PBP is fast enough. After all, PBP gets compled into ASM, even bloated ASM will run pretty well at 40mhz with only a few tasks, right? this is the advantage of picbasic over parallax..

    the nuts n volts december 2006 article pretty much spells it out.. in c though.. they use a RTOS as well.. real time operating system.. this is a type of OS with direct control of hardware. windows is not RTOS, linux is, for example..

    the october 2006 article, which i cannot find covers the math, probably in pretty easy to understand terms.. i suggest you look for that... otherwise why not teach yourself the mathematics you need? how hard can it be? brak it into bits... find the main equation and do your best to understand it, then look at some code... the code will look much different...

    ive never tried this type of project, but there are a ton of resources.. i watched a video of some really stable 2-wheelers.. off roading, over curbs, etc... also a relaly cute one that could follow children wearing red and had very compelling movement characteristics due to the PID correction being a bit coarse... it dipped and swayed with the child...





    anyways... they list these resources:

    www.geology.csmu.edu/~dpa-www/robo/nbot

    http://autopilot.sourceforge.net/gallery.html

    barello.net/Robots/gyrobot/index.htm

    jormundgand.net/projects/crunch/

    sparfkun.com

    --------------------

Similar Threads

  1. Replies: 0
    Last Post: - 2nd February 2009, 23:23
  2. PIC16F877A for application in mobile robot...
    By mcbeasleyjr in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th January 2009, 14:47
  3. Need Help - Line Tracer Robot
    By pidot in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 10th August 2007, 14:58
  4. IR for robot on 16F877A
    By Samuel in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 9th April 2005, 20:57
  5. Line tracer robot
    By cibotsan in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 30th January 2005, 15:36

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts