Thread: PID Control
View Single Post
  #11   Spotlight this post!  
Unread 15-04-2007, 15:57
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: PID Control

Another reason why I isn't always desired to be reset once error=0 is in the case where you have a two wheeled platform that you want to travel in one line.

Ensuring that both wheels turn the same amount is not enough to ensure that the robot goes in ONE line, it just ensures that the orientation of the robot is the same.

To have a robot that goes straight, the wheels have to turn the same amount in the same period, I can "remember" all the differences between wheel positions and then make the proper corrections.

There is an algorithm that works just like this in "Mobile Robots from Inspiration to Implementation"

Also, for a balancing robot, lower COG is not necessarily better. A higher COG gives the robot more rotational inertia and therefore harder to throw off balance.