View Single Post
  #9   Spotlight this post!  
Unread 31-01-2008, 14:43
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,708
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Motor control for steering

As other have said, look into PID control. I'd personally recommend just trying P or PD control first and see if that gets you the desired results. Adding the I term to the system can introduce a lot of instabilities and problems if you're not careful. If you feel you must have it, keep your I gain as low as possible and look into adding "Integral Anti-Windup" into your control equation. The I term tracks errors over time and if your system simply can't meet your commanded value for some reason, then the I term can build up to a huge value, overflow your variable, etc. None of these things are good, so keep things simple at first and stick with P or PD control.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter