PID controller for speed controlling in dc motor speed

Status
Not open for further replies.

rahul95

Newbie level 5
Joined
Oct 21, 2012
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,340
hi ,


I m working in my first robotics project.my robot is an obstacle avoiding one and the problem is that the robot sometimes deviates from the defined path ( such as it does not move in a straight line ) so i hope this issue can be minimized by using pid controller to control speed in dc motors. can any one guide me how to achieve this ?




thanks
 

first you need some obstacle detector similar to those
**broken link removed**

when you have detect the obstacle you could make the avoidance moves you have.
For the PID control you could find excellent examples on internet for the controller you are using.
Look the link for example.
**broken link removed**
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…