Sunday, June 6, 2010

PID Controller


I have been working on a PID controller with an Atmel AVR Atmega8 microcontroller and 1.53:1 Gearbox Motor for several weeks now. The goal is to implement a PID controller in C code using the AVR microcontroller. The motor provides a quadrature encoder scheme for feedback. The AVR is setup with a Phase and Frequency PWM signal with a 2kHz period for motor speed control. The Duty Cycle for this signal is controlled by a trimpot which is sampled by the on-board A/D Converter. The direction of the motor is controlled by a Port Pin in code.

2 comments:

  1. hello dear
    what i make this project ?
    hamedhamedy2012@gmail.com

    ReplyDelete
  2. I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts. Concrete cancer repair

    ReplyDelete