Results 1 to 5 of 5

Thread: Ground Robot (GBOT) Object Tracker with PID Control

  1. Ground Robot (GBOT) Object Tracker with PID Control

    Hello,

    This is the GBOT with a PID controller using the ZX-40A microcontroller from zbasic.net. ZX-40A is based on the ATMEGA644 AVR chip. Inputs include 2 IR range sensors (GP2D12). Outputs include 2 PWM signals to the Pololu motor driver (VNH2SP30).

    The GBOT maintains a setpoint distance of 10-inches from a target and maintains that distance, no matter what. The control system was originally coded with P-control only and resulted in excessive overshoot and oscillations. So then I added PID control. See video to observe P-control vs. PID control.

    [ame="http://www.youtube.com/watch?v=uTh2DBWAbPs"]YouTube- Ground Bot Tracker with PID Control[/ame]

    Had trouble with IR sensor noise. Issue mitigated with hardware and software. Hardware... added low ESR 1,000uF capacitors on VIN and VOUT of the LM2940T voltage regulator. Software includes an 8th order butterworth filter to clean IR sensor position and velocity. I did have issues with a fire, probably caused by a short or the motor driver. Not sure yet. Since isolating the regulator with the filters and after adding a large heatsink to the voltage regulator, no more fires. See picture below of "incident".

    http://www.zbasic.net/forum/download-329.html

    Anyone have experience or information on GP2D12 IR sensor distance variabiability? I have the noise reduced to 0.025" amplitude. Can this be reduced further? Thanks.
    Last edited by liam.tr; 03-03-2010 at 11:05 PM.

  2. #2
    Join Date
    Aug 2008
    Location
    Iowa City, IA
    Posts
    390
    Rep Power
    46

    Re: Ground Robot (GBOT) Object Tracker with PID Control

    Wow. Very cool. That's a really nice way to see a PID in action.

  3. #3
    Join Date
    Apr 2009
    Location
    Stanford, CA USA
    Posts
    590
    Rep Power
    49

    Re: Ground Robot (GBOT) Object Tracker with PID Control

    Double wow! I'd love to get that kind of responsiveness from the Serializer PID controller board I am using. It almost looks like your bot is connected to the box with a rigid bar. Very nice!

    --patrick

    http://www.pirobot.org

  4. Re: Ground Robot (GBOT) Object Tracker with PID Control

    I went ahead and rotated the GBOT 90 degrees to balance on its 2 wheels. I disabled the IR range sensors and added a new GP2D120 IR sensor. The result is the GBOT90 shown in the link below. Noise and resolution was an issue but manageable. The Vref was set to 3.0V. No gyros and no acceleromenters were used, just the single GP2D120 for pitch rate & angle measurements. I used the same PID control system from the horizontal GBOT with updated gains. Proportional and integral gains were much higher. Integral gain was highest.

    [ame="http://www.youtube.com/watch?v=bxx14Xe2iNg"]YouTube- GBOT90 Balancing Ground Bot with PID Control[/ame]

  5. #5
    Join Date
    Sep 2008
    Location
    Toronto, Ontario
    Posts
    171
    Images
    43
    Rep Power
    40

    Re: Ground Robot (GBOT) Object Tracker with PID Control

    WOW!

    Liam, very nice work. That's awesome!

    I especially like addition of the martini, that's just too cool.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Contest Entry The eyeRobot: Robot Blind Aid
    By Shrimpy in forum Project Showcase
    Replies: 16
    Last Post: 02-07-2011, 09:20 AM
  2. Question(s) Writing an educatonal book on robotics
    By darkback2 in forum Robotics General Discussion
    Replies: 107
    Last Post: 05-24-2010, 11:51 PM
  3. Project New Post For Fresh Start On Robot Butler
    By ROBOTMAN in forum Project Showcase
    Replies: 11
    Last Post: 10-31-2009, 12:50 PM
  4. Contest Entry B.R.A.I.N.S software to control, robotic, face, 3-D object
    By ProjectAiko in forum Project Showcase
    Replies: 9
    Last Post: 07-22-2008, 04:15 PM
  5. Kondo web page translated.
    By Droid Works in forum Humanoids, Walkers & Crawlers
    Replies: 4
    Last Post: 10-06-2007, 05:49 PM

Posting Permissions

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