Author Topic: PID control in real world  (Read 2510 times)

0 Members and 1 Guest are viewing this topic.

Offline fendiTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
PID control in real world
« 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++

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21

Offline fendiTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: PID control in real world
« Reply #2 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?

Offline szhang

  • Robot Overlord
  • ****
  • Posts: 140
  • Helpful? 1
Re: PID control in real world
« Reply #3 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.

 


Get Your Ad Here