Go to Post when I was a ball setter at PARC one year (6th grade?). As soon as I saw what High school students could do with thier own two hands and how they mingled with industry, I knew, at that moment, it was for me. - henryBsick [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
  #3   Spotlight this post!  
Unread 23-02-2012, 12:30
barn34's Avatar
barn34 barn34 is offline
Isn't this how Skynet got started?
AKA: William Barnickel
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Metamora, IL
Posts: 243
barn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond reputebarn34 has a reputation beyond repute
Re: Inconsistant Shooting

First of all, to successfully implement PID control, you have to tune it properly. We found that we needed multiple PID settings based on set point to give the most desirable control response. You can find information on PID tuning by googling it. There's plenty of info out there to help you get started.

Secondly, you always have to account for a certain amount of settling time. This means that you have to allow your motors time to get up to the desired speed and then reach a steady state at that speed for a consistent shot result. Nothing is instantaneous, no matter how good your PID tuning is. You can account for the appropriate required delay using various programming techniques.

Lastly, the delay required to account for settling time will vary based on several factors. Current battery charge and the desired set point being two critical ones. If you are clever, you can also account for these factors by tracking them and implementing corrections/adjustments in your code.

Make sure to focus on properly accounting for the factors that you can control (battery charge, desired speed, etc.) and minimizing the effect of the ones that you can't control (variations in ball mass, ball surface consistency, drag, etc.).

Hope that helps set you in the right direction.
 


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 07: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