Author Topic: PID controller for a wall following robot  (Read 2236 times)

0 Members and 1 Guest are viewing this topic.

Offline kieraonTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
PID controller for a wall following robot
« on: March 31, 2010, 02:25:05 AM »
Currently I am facing some problems in programming my robot to follow the wall precisely. I am using two stepper motors interfacing with Atmega32 micro board. Each of the stepper motor is controlled by different timers thus it is possible to change their speeds. The issue here is that I am not able to implement PID controller due to the fact that the stepper motors need a definite number of steps to rotate, wherelse the output of the PID is velocity. How shall i convert the velocity to number of steps?

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,665
  • Helpful? 84
Re: PID controller for a wall following robot
« Reply #1 on: March 31, 2010, 07:37:10 AM »
number of steps per unit time equals velocity.

 

Related Topics

  Subject / Started by Replies Last post
20 Replies
5824 Views
Last post May 02, 2007, 08:39:03 AM
by katherina
16 Replies
7466 Views
Last post July 20, 2008, 07:58:51 PM
by HDL_CinC_Dragon
1 Replies
1162 Views
Last post December 23, 2009, 09:55:35 AM
by little-c
3 Replies
424 Views
Last post August 04, 2012, 10:08:08 PM
by Mr. Ninja


Get Your Ad Here