Society of Robots - Robot Forum

Software => Software => Topic started by: fendi on October 19, 2008, 10:27:45 AM

Title: PID control in real world
Post by: fendi on October 19, 2008, 10:27:45 AM
can some one please teach me something about making program using PID control?
and some  example in c++
Title: Re: PID control in real world
Post by: dunk on October 19, 2008, 12:35:10 PM
http://www.societyofrobots.com/robotforum/index.php?topic=1480.0 (http://www.societyofrobots.com/robotforum/index.php?topic=1480.0)
Title: Re: PID control in real world
Post by: fendi on October 20, 2008, 02:40:32 PM
thanks MR.dunk for the information,i am sorry for that.

i am a beginner in programming . i want to make a some robot project (fire fighting robot) and i want to control the speed of the motor using pid controller.but i only know a little about pid control. so, can some one please give me some information about pid control inplementasion in controlling motor dc speed?
Title: Re: PID control in real world
Post by: szhang on October 20, 2008, 06:40:13 PM
Baby steps fendi, baby steps...

Learn programming first, then the PID algorithm should be pretty clear (after all, the tuning is where most of the work is).  Read through the other tutorials too, especially the one on motors.

Anyways, you can't do PID control on DC motor velocity until you have some way of measuring the velocity, so you also need an encoder or do back EMF measurements.