Author Topic: PID Control using Image processing  (Read 1649 times)

0 Members and 1 Guest are viewing this topic.

Offline torchdTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
PID Control using Image processing
« on: November 11, 2011, 04:21:06 AM »
Hi Guys
This is my first post in the forum. I am building a Golf Ball Collecting Robot that uses a camera to find the location of golf balls. I have a differential drive motors. I have already implemented the image processing and I am able to determine the the (x,y) coordinates of the ball. I was wondering if it is possible to implement PID control on my robot using just the coordinates of the ball and robot.( I don't have encoders on my motors). If I can, then can you guys give me any links that will help me.
(I have a reasonable understanding of Control Theory, I just have had no experience implementing it)

Offline newInRobotics

  • Supreme Robot
  • *****
  • Posts: 1,015
  • Helpful? 48
  • N.I.R.
Re: PID Control using Image processing
« Reply #1 on: November 11, 2011, 05:28:08 AM »
Hi here  :)

[...] ( I don't have encoders on my motors).
If there are no encoders, how is Your robot going to know how fast it is going, how far it went and where in the X - Y plane it is?

Encoders are useful if You want to compensate for different RPM of each motor, as even 2 identical motors will have slightly different RPM and torque.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian W


Get Your Ad Here