Go to Post So many possibilities so many different meanings and soo many different opinions. LOL but i guess this is what FIRST is all about. - Bcahn836 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 04-09-2006, 01:03
Holtzman's Avatar
Holtzman Holtzman is offline
Sometimes...
AKA: Tyler Holtzman
FRC #2056 (OP Robotics)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: St. Catharines
Posts: 179
Holtzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond reputeHoltzman has a reputation beyond repute
Send a message via MSN to Holtzman
Alternative Method for calculating “I” term in PID

Recently, I was doing a little work tuning PID constants. I couldn't get my “I” constant just right depending on my starting distance from the target. I always found that if I was a large starting distance from the target, the “I” term would grow large quickly, and it would overshoot the target. Also, with very short starting distances from the target, the “I” term would be too small, and it would take along time to reach the target.

After thinking about my problem for some time, I decided to change the way I was calculating the “I” term. Rather than calculating “I” as the traditional sum of the “P” term, I instead calculated it as the sum of the reciprocal of the “D” term.

So, when “D” is large, ie moving quickly towards the target, my “I” term grows very slowly. Where as when “D” is small, ie close to the target, but not making progress towards it, “I” grows quickly, pushing towards the target.

This caused the “I” term to remain small until it slowed, approaching the target. I found that this eliminated the problems I was having finding a constant that worked well with large and small starting distances from the desired target.

I’m no expert on PID loops, so I thought I would put the idea out there for some of the other’s around who have had more experience with PID than myself. I’m probably not the first one to think of this, so I would like to get some other’s thoughts on the idea. Questions, comments and advice would be greatly appreciated.
__________________
"making the simple complicated is commonplace; making the complicated simple, awesomely simple, that's creativity." - Charles Mingus
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integral Window for PID Control phrontist Programming 2 16-02-2008 17:32
paper: PID Control Theory for FRC Programming Matt Krass Programming 17 24-05-2007 03:28
Problems Using PID for Velocity Astronouth7303 Programming 6 10-02-2006 09:00
Battery Charger for long term battery care DougHogg Kit & Additional Hardware 0 08-02-2003 15:25
What is your favorite method for attaching gears to shafts? archiver 2001 13 24-06-2002 04:00


All times are GMT -5. The time now is 03:13.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi