Go to Post I love it when awards go to the right people. - David Kelso [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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
  #32   Spotlight this post!  
Unread 23-04-2004, 23:16
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Re: PID control loops - closed loop feedback

I am planning to use PID on the arm for our end of year mini-game bot
(we make a mini game w/ the robotic class (sadly only 7 students one being a moderator) split into 2 teams w/ a 2X2X3'
80 lbs robot its really cool)
any ways for ours (i'm not sure if this will work)
I will basically just put a gyro on the arm and
compare the "wanted speed" to the real speed and
then just add a bit to the PWM (dependent on how close real is to wanted)
to calibrate it just move the gyro away from or closer to the joint!
to get the real speed i'm just going to multiply the accel*time/looptime + previous...that
should probly give me speed..
Will this work? Also i'm using the PBasic controller so i'll have to learn that a bit...
do i have to keep loop time constant or not...does it really matter that mucH?
This part really bugs me out because i read about everyone keeping loop times constant and
what not but on the Edubot controller I just wrote the code...heck to loop time and
everything worked (for our little autonomous gyro guidance thing)
IF it does matter a LOT
i might take a educontroller and connect it to the maincontroller so it can receive
gyro inputs and then simply output the amount to add to the PWM through dig_out which
plugs into dig in on the RC

Also can someone explain why it matters so much (in reality ) do the loop times really
vary by so much that it would greatly affect operation (i imagine if it loops so quickly
it wouldn't matter...the differences would be averaged out to a menial number??)

Thanks!
__________________
Team 701
 


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


All times are GMT -5. The time now is 01:25.

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