Go to Post You can also always use the "Report Post" button on each post and that'll dispatch a carrier pigeon to each of our homes...or an e-mail if the carrier pigeons have taken the day off. - Madison [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-04-2007, 22:11
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,413
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: PID Control

In theory, you shouldn't need to cap I... when at rest, I is a constant (because the system will automagically set I itself). I gets bigger, and bigger, and then less and less gradually increase (increasing, concave down). If theres an overshoot, I gets smaller (because its subtracted).

Also, when tuning the PID, start with P, then I, then D. Its very helpful to drastically change the constants, for instance, when we were tuning our arm's PID, we started just incrementing P by just 2s.... when it was divided by 32? anyhow, relatively no change. When we began testing, we didn't notice any change in the robot, sometimes even a change for the worse (giving us a false assumption that what we're doing was bad...)

(back to the original post)

There probably wouldn't be a frightful amount of oscillation, have you ever rode a Segway? If you tuned it to perfection, there would always be oscillation. It would probably be to your advantage, however, to have a nearly balanced robot to begin with, with a very low center of gravity.

If I was building a self balancing robot, I would use a PID loop, and then use some sort of cap for the I... for instance, if the robot is moving at its maximum speed, then I can no longer increase, only decrease, or remain constant.

Hope this helps!
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
Closed Thread


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
Generic PID control code Uberbots Programming 3 26-02-2007 16:59
PID Control Chris Bright Programming 9 26-03-2005 19:44
(Experimental) PID Control System jdong Programming 14 18-06-2004 15:55
PID control loop/Encoder question Zee Programming 18 30-01-2004 23:14
PID Control Loops ttedrow Programming 7 05-12-2002 12:03


All times are GMT -5. The time now is 15:27.

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