Author Topic: Need Help for PID Control!  (Read 397 times)

0 Members and 1 Guest are viewing this topic.

Offline arigidTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
Need Help for PID Control!
« on: October 28, 2011, 04:10:28 PM »
Hey, I was working on a robot to follow a Line, However i thought of adding the PID Control to it, to make it go more smooth, Can anyone suggest on hold to Calculate the Kp,Kd,Ki Value for my Robot. Thanks!

Online waltr

  • Supreme Robot
  • *****
  • Posts: 1,665
  • Helpful? 84
Re: Need Help for PID Control!
« Reply #1 on: October 28, 2011, 06:16:53 PM »
The PID coefficients are usually determine by trial. Starting with them set to 1 or 0 then working on Kp then Kd then Ki. There are a number of references on going about this. One is in Wikipedia, others are found with Google and also have been several discussion on SoR that you can find with a search.

One thing that helps is being about to measure the control loop's response so that you know how much a change to a coefficient effects the loop. One way to do this is sample at regular time intervals the feed-back value and the output value of the PID control loop then send these out the serial port to a PC. On the PC have a program (can be a terminal program) that writes the values to a file or if you can write the program graph the data value. Or, graph the value written to the file in Excel.

Offline RITESH29

  • Robot Overlord
  • ****
  • Posts: 152
  • Helpful? 0
Re: Need Help for PID Control!
« Reply #2 on: October 29, 2011, 10:50:27 PM »
It is nice to use PID but even i have no idea how to use it...!!

 

Related Topics

  Subject / Started by Replies Last post
15 Replies
7974 Views
Last post January 21, 2009, 08:43:47 PM
by HDL_CinC_Dragon
6 Replies
4323 Views
Last post February 05, 2011, 10:24:55 AM
by BANE
control

Started by g44 Electronics

4 Replies
732 Views
Last post January 07, 2010, 05:53:58 PM
by Soeren
2 Replies
1007 Views
Last post October 23, 2010, 11:51:40 PM
by thornsb1


Get Your Ad Here