OCCRA
Go to Post Underwater basket weaving -- it's a water game, and we can go from "STEM" to "STEAM." - michael.saxon [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-24-2012, 12:42 PM
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,145
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
paper: Modified Bilbo bang-bang .vi

Thread created automatically to discuss a document in CD-Media.

Modified Bilbo bang-bang .vi by Tom Line
Reply With Quote
  #2   Spotlight this post!  
Unread 04-24-2012, 12:51 PM
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 244
tr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant future
Re: paper: Modified Bilbo bang-bang .vi

Tom,

Care to explain what the modification is and if it is an improvement. I have looked at the subvi, and if your vi is to be placed in the same timed structure, I don't see a major difference. I see you are going backwards, from the original .vi but not sure what else changed, or improved.

I'm not that strong in labview, so be easy on me if I am missing something obvious.

Scott.
__________________
The sooner we get behind schedule, the more time we have to catch up.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-24-2012, 01:25 PM
billbo911's Avatar
billbo911 billbo911 is offline
Registered User
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 1,885
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: paper: Modified Bilbo bang-bang .vi

Quote:
Originally Posted by tr6scott View Post
Tom,

Care to explain what the modification is and if it is an improvement. I have looked at the subvi, and if your vi is to be placed in the same timed structure, I don't see a major difference. I see you are going backwards, from the original .vi but not sure what else changed, or improved.

I'm not that strong in labview, so be easy on me if I am missing something obvious.

Scott.
Hello Scott,
I think I can explain his modifications quite easily.
I messed up in the feedback loop for the Slew Rate Limiter portion. He is sampling it in the correct location.
Additionally, his modifications are set up for a 0 to -1 range for the shooter drive command. Personally, I would have done that modification a different way, but his works, and I don't argue with success.

Now, I have posted a few different versions, each with different goals.

Are you using the Bang-Bang control? I would love to hear how it is working for you and help you modify it for optimum performance on your robot.
__________________
So long and thanks for all the fish!
CalGames 2009 Semi Finalist, CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist, 2010 Madtown Creative Design Award
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2013 Pow3rhou53 Pwnage Gracious Professionalism Award.
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division, Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-24-2012, 06:16 PM
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 244
tr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant futuretr6scott has a brilliant future
Re: paper: Modified Bilbo bang-bang .vi

We actually used the built in labview PID control. We only used the PI terms, so it was a PI control. We had 3 closed loop shot selections, 1500 RPM for the fender, 2500 for front of key and 2800 for rear of key. While tuning we couldn't get one set of gains to work at all 3 set point rpms, so we had to employ a "gain shifter" based on the RPM requested. We also limited the output range between motor values that were expected. This also gave it some "Feed forward" as the PID was limited to a range that was expected. We tried a couple of other methods, but this method gave us the best response. We did not try the bang-bang method, but looking at trying it, as it would eliminate some different pid code between autonomous and teleop.

We are planning on doing some off season events, so looking to try this method and see how it performs.

I always thought the pid was overkill, but at the 1500 rpm we saw deviations in the +_50 rpm range. From what I read, it sounded like the bang-bang gave tighter control than what we saw with pid.
__________________
The sooner we get behind schedule, the more time we have to catch up.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-24-2012, 08:36 PM
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,404
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: paper: Modified Bilbo bang-bang .vi

So Tom, did you get it working well, I take it?
__________________
-
An ounce of perception is worth a pound of obscure.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-24-2012, 08:59 PM
billbo911's Avatar
billbo911 billbo911 is offline
Registered User
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 1,885
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: paper: Modified Bilbo bang-bang .vi

Quote:
Originally Posted by Chris Hibner View Post
So Tom, did you get it working well, I take it?
According to this post, they got it working but felt they had better control with their PID version.
__________________
So long and thanks for all the fish!
CalGames 2009 Semi Finalist, CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist, 2010 Madtown Creative Design Award
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2013 Pow3rhou53 Pwnage Gracious Professionalism Award.
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division, Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up.
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 03:08 AM.

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


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