Go to Post Band geek FIRST geeks = uberparty! - Nuttyman54 [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 10-02-2013, 20:48
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Red face Re: bang-bang control with Talon

Quote:
Originally Posted by Ether View Post
Did you get the same disconcerting results with a Victor?
Oops.

The programming group is using a drivebase built out of the Kit chassis this year. Its drive wheels are controlled using Talons, and the actual robot has Talons installed for the shooter motors, and that's what I was thinking of when I answered the question.

However, the shooter test rig on the Kit 'bot was wired up using Victors. I'm sorry for the bad data.

Quote:
Originally Posted by AdamHeard View Post
Very impressive it the performance is truly comparable.
Are you doing PID on velocity itself?
Is it output = PID, or output += PID?
Are you using all three terms?
Are you limiting the motor to never allow a negative power applied?
Both the setpoint and process variables are in values of "kRPM".

After we discussed the fine points of position vs. velocity control, I believe the student doing the programming chose to send the output of the PID computation directly to the motor rather than doing a post-PID integration. I was busy with other tasks while he was tuning it, but I'm pretty sure the D constant ended up being zero, and the P constant is probably negligibly small. Most of it is I, as one would expect from a velocity PID.

The output is indeed limited to never apply power the motor in the "wrong" direction. There is a use case where the shooter motors must be run in reverse, so the control software keeps the output either positive or negative as appropriate, based on the polarity of the desired velocity.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2013, 22:21
xmaams xmaams is offline
Registered User
AKA: Sam Dietrich
FRC #2587 (Discobots)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Houston
Posts: 12
xmaams will become famous soon enoughxmaams will become famous soon enough
Re: bang-bang control with Talon

We are using bang-bang control on Talons with two 4-7/8" wheels (I think).
We painted half the wheel white and used a light sensor to measure rpm. All of our shots went in at Lone Star when we positioned our robot correctly.
Reply With Quote
Reply


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