PID in line follower robo

Discussion in 'Embedded Systems and Microcontrollers' started by abacusdheda, Jul 23, 2010.

  1. abacusdheda

    Thread Starter New Member

    Jul 23, 2010
    i am trying to implement PID on a line following robo using ATMEGA32. i have seen basic things such as formula to implement it here:
    i am driving motors(2motors & differential turning) using varying PWM to each wheel. So my question is what exactly i am supposed to do with value of P+I+D i am calculating? my instinct says its somewhat related to varying PWM using that value. but in what way i can use that value to control two motors by a single value. can anyone guide me regarding this? any tips for efficiently tuning are also welcome. i also need guidance regarding terms such as overshooting, rise time etc. regarding line-follow context.
  2. hgmjr

    Retired Moderator

    Jan 28, 2005