Go to Post "It's not a bug, it's an unlisted feature." - Barry Craig [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 03-12-2012, 15:46
Adam Freeman's Avatar
Adam Freeman Adam Freeman is offline
Forever HOT!
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Rockwall, TX
Posts: 497
Adam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond repute
Re: Behind The Design 2012

Quote:
Originally Posted by Ether View Post

The graph on the top left of page 8... I assume this is an open-loop test at 12 volts. The text says the team chose the 8000 rpm free speed, which would be the 1:2 gear ratio according to the graph. The text also says 4000 rpm was used for shooting from the key. Does anyone know what control algorithm 67 used for shooter speed?


Ether,

I believe the plot was a theoretical calculation of motor RPM v. time that one of our engineers created to help us determine what gear ratio we wanted to use for our shooter gearbox. The data showed that the 2.5:1 ratio was the fastest to reach 4000RPM, which is what targeted for our "normal" shooting speed.

The 8000RPM free speed is a typo on my part. It should be more like 6400RPM.

I pointed our controls guys to this thread. He will answer the control algorithm question.
__________________

2005 FIRST World Champions (330, 67, 503)
2009 FIRST World Champions (111, 67, 971)
2010 FIRST World Champions (294, 67, 177)
Reply With Quote
  #17   Spotlight this post!  
Unread 03-12-2012, 15:55
Adam Freeman's Avatar
Adam Freeman Adam Freeman is offline
Forever HOT!
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Rockwall, TX
Posts: 497
Adam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond repute
Re: Behind The Design 2012

Quote:
Originally Posted by JVN View Post
Lots of teams were quick to say they would "of course do this!" Almost none actually did. Looks like 67 did.

-John
Following John's lead, I have tried for a couple of years to document our design "on the fly" during the build season. Every year starts out great, until we get actual parts that need to be put together. Then I spend most of my time with the parts and not with my computer....and nothing further gets documented.

We have had students take notes, mentors take notes, build journals, online design logs, etc.... it always ends up incomplete.

Most years we have created a Tech notes for our students to hand out when talking to judges for awards. These tech notes are usually pulled together at the end of teh build season and summarize the design and main aspects of the robot.

This year I decided to since our robot was so unique, it would be worth it to post it on CD. The response has been incredible.

I plan to continue on with it. Maybe one year the documentation will keep up with the build and I won't have to spend hours/days creating a new document.
__________________

2005 FIRST World Champions (330, 67, 503)
2009 FIRST World Champions (111, 67, 971)
2010 FIRST World Champions (294, 67, 177)
Reply With Quote
  #18   Spotlight this post!  
Unread 03-12-2012, 15:59
Jay Meldrum's Avatar
Jay Meldrum Jay Meldrum is offline
Registered User
FRC #0067 (H.O.T.)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2003
Location: Michigan
Posts: 42
Jay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud of
Re: Behind The Design 2012

Quote:
Originally Posted by Ether View Post

The graph on the top left of page 8... I assume this is an open-loop test at 12 volts. The text says the team chose the 8000 rpm free speed, which would be the 1:2 gear ratio according to the graph. The text also says 4000 rpm was used for shooting from the key. Does anyone know what control algorithm 67 used for shooter speed?


Ether: We used a PID. The input was the rate of a light sensor (3 division flywheel was on the shaft of shooter). We had 3 preset shoot speeds based on different locations on the field: top of key, bottom of key, hail mary. We also manually modified those speeds during the match depending on ball "squishiness".
__________________
2012-2015 - FRC 67 - Programming/Controls Lead Mentor
2003-2005 - FRC 857 - Driver

Check us out at http://www.hotteam67.org
Previous year design docs, programming tutorials, and more!
Reply With Quote
  #19   Spotlight this post!  
Unread 03-12-2012, 16:04
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,552
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
Re: Behind The Design 2012

Quote:
Originally Posted by jsmeldru View Post
"squishiness".
Squishiness..... a word we will forever hate after 2012....
Reply With Quote
  #20   Spotlight this post!  
Unread 03-12-2012, 16:06
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,124
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Behind The Design 2012

Quote:
Originally Posted by Adam Freeman View Post
I pointed our controls guys to this thread. He will answer the control algorithm question.
Thanks Adam.


Reply With Quote
  #21   Spotlight this post!  
Unread 03-12-2012, 16:17
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,124
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Behind The Design 2012

Quote:
Originally Posted by jsmeldru View Post
We used a PID. The input was the rate of a light sensor (3 division flywheel was on the shaft of shooter). We had 3 preset shoot speeds based on different locations on the field: top of key, bottom of key, hail mary. We also manually modified those speeds during the match depending on ball "squishiness".
Thanks for the quick response Jay.

Couple of follow-up questions if I may:

1) Perhaps you've posted this somewhere already, and if so my apologies: could you share a bit more detail about your PID? e.g. did you use feedforward, or integrate the PID output, or tune I like P. How closely were you able to hold speed. stuff like that.

1) Adam mentioned you selected the 2.5:1 gear speed reduction because it was the fastest to reach 4000 rpm. Did you try using a bang-bang controller which is noted for reaching the setpoint very quickly.


Reply With Quote
  #22   Spotlight this post!  
Unread 03-12-2012, 18:06
kylie.student.9's Avatar
kylie.student.9 kylie.student.9 is offline
Robotics student-Team organizer
AKA: Kylie Becker
FTC #5909 (L.A.S.E.R.- Laker After School Engineering and Robotics)
Team Role: Student
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Camdenton
Posts: 2
kylie.student.9 is an unknown quantity at this point
Thumbs up Re: Behind The Design 2012

Great idea! cant wait to see it!
Reply With Quote
  #23   Spotlight this post!  
Unread 03-12-2012, 21:13
Jay Meldrum's Avatar
Jay Meldrum Jay Meldrum is offline
Registered User
FRC #0067 (H.O.T.)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2003
Location: Michigan
Posts: 42
Jay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud of
Re: Behind The Design 2012

Quote:
Originally Posted by Ether View Post
Couple of follow-up questions if I may:

1) Perhaps you've posted this somewhere already, and if so my apologies: could you share a bit more detail about your PID? e.g. did you use feedforward, or integrate the PID output, or tune I like P. How closely were you able to hold speed. stuff like that.

We integrated the PID output. Within the PID, we only used the proportional and derivative terms.

We were able to hold our speed within +/- 50 to 200 rpm; depending on the set speed. We tuned the PID to be the most steady at the bottom of the key shot.

I would say our biggest issue while tuning the PID was handling the split second/recovery when the ball entered and went through the shooter. We noticed huge shooter speed recovery variations with a few balls (We called them the "pumpkin balls" ); thus missing the shot. At one point we tried adding additional logic to "power thru" any quick decreases in shooter speed. That didn't end up working well so we just continued to tune the PID to match the majority of balls.

Here is the function that we wrote in place of the PIDWrite provided by WPIlib. Thus still allowing us to use the WPIlib PIDController.

Code:
void PIDWrite(float output) {
		//Used in place of WPIlib PIDWrite for cannon control
		//m_cannonUpToSpeed is used to allow/deny the feeder to feed balls
                if((m_cannonSetPoint - 5) <= m_CannonEncode->GetRate() && (m_cannonSetPoint + 5) >= m_CannonEncode->GetRate())
                {
                        m_cannonUpToSpeed = 1;
                }
		//500 is our "hail mary" setpoint
                else if(m_cannonSetPoint == 500)
                {
                        m_cannonUpToSpeed = 1;
                }
                else
                {
                        m_cannonUpToSpeed = 0;
                }
                
                m_CannonDemandedVoltage += output;
                if(m_CannonDemandedVoltage > 1) m_CannonDemandedVoltage = 1;
                if(m_CannonDemandedVoltage < 0) m_CannonDemandedVoltage = 0;
                m_Cannon1->Set(-m_CannonDemandedVoltage);
                m_Cannon2->Set(-m_CannonDemandedVoltage);
        }
__________________
2012-2015 - FRC 67 - Programming/Controls Lead Mentor
2003-2005 - FRC 857 - Driver

Check us out at http://www.hotteam67.org
Previous year design docs, programming tutorials, and more!

Last edited by Jay Meldrum : 03-12-2012 at 21:16.
Reply With Quote
  #24   Spotlight this post!  
Unread 03-12-2012, 21:31
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,552
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
Re: Behind The Design 2012

Quote:
Originally Posted by Adam Freeman View Post
Ether,

I believe the plot was a theoretical calculation of motor RPM v. time that one of our engineers created to help us determine what gear ratio we wanted to use for our shooter gearbox. The data showed that the 2.5:1 ratio was the fastest to reach 4000RPM, which is what targeted for our "normal" shooting speed.

The 8000RPM free speed is a typo on my part. It should be more like 6400RPM.

I pointed our controls guys to this thread. He will answer the control algorithm question.
Remarkable. That is the exact same compression, gearing, and speed that we had. After our second competition we switched from 775's in a custom Cim-Sim over to 550's in a banebot gearbox due to poor alignment (our fault) in the gears of the Cim-Sim. Our gear ratio, compression and shooting RPM still stayed the same though. I wonder how many other teams came to the exact same solution.
Reply With Quote
  #25   Spotlight this post!  
Unread 03-12-2012, 21:34
DampRobot's Avatar
DampRobot DampRobot is offline
Physics Major
AKA: Roger Romani
FRC #0100 (The Wildhats) and FRC#971 (Spartan Robotics)
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Stanford University
Posts: 1,277
DampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond repute
Re: Behind The Design 2012

Thank you. This is such an awesome resource. That arm probably made team 67's robot my favorite in all of FRC.

How were teams picked? Was there a nomination process? Or was it more based on who had already released build season documentation?
__________________
The mind is not a vessel to be filled, but a fire to be lighted.

-Plutarch
Reply With Quote
  #26   Spotlight this post!  
Unread 03-12-2012, 21:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,124
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Behind The Design 2012

Quote:
Originally Posted by jsmeldru View Post
We integrated the PID output. Within the PID, we only used the proportional and derivative terms.

We were able to hold our speed within +/- 50 to 200 rpm; depending on the set speed. We tuned the PID to be the most steady at the bottom of the key shot.
Thanks for the detail.

Quote:
I would say our biggest issue while tuning the PID was handling the split second/recovery when the ball entered and went through the shooter. ... At one point we tried adding additional logic to "power thru" any quick decreases in shooter speed. That didn't end up working well so we just continued to tune the PID to match the majority of balls.
Spin-up recovery is where bang-bang control excels. If you've never played around with bang-bang control for a shooter wheel, that might make an interesting pre-build project. There's some detail here:

http://www.chiefdelphi.com/media/papers/2663

... make sure to read the thread too. There's a lot of good discussion in there, as well as links to other threads.


Reply With Quote
  #27   Spotlight this post!  
Unread 03-12-2012, 22:11
Jay Meldrum's Avatar
Jay Meldrum Jay Meldrum is offline
Registered User
FRC #0067 (H.O.T.)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2003
Location: Michigan
Posts: 42
Jay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud of
Re: Behind The Design 2012

Quote:
Originally Posted by Ether View Post
Spin-up recovery is where bang-bang control excels. If you've never played around with bang-bang control for a shooter wheel, that might make an interesting pre-build project. There's some detail here:

http://www.chiefdelphi.com/media/papers/2663

... make sure to read the thread too. There's a lot of good discussion in there, as well as links to other threads.


Bang-bang... never knew what to call that method. We did try that method at first though it didn't quite work as well for us as the PID. I believe it was primarily because our shooter wheel did not have much inertia (just used the plastic kit wheels that we turned off the tread of).

Definitively something to revisit though. Thanks!
__________________
2012-2015 - FRC 67 - Programming/Controls Lead Mentor
2003-2005 - FRC 857 - Driver

Check us out at http://www.hotteam67.org
Previous year design docs, programming tutorials, and more!
Reply With Quote
  #28   Spotlight this post!  
Unread 04-12-2012, 00:30
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,552
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
Re: Behind The Design 2012

Quote:
Originally Posted by DampRobot View Post
Thank you. This is such an awesome resource. That arm probably made team 67's robot my favorite in all of FRC.

How were teams picked? Was there a nomination process? Or was it more based on who had already released build season documentation?
We originally contacted the top 25 teams from the FRC top 25 website. Unfortunately, many had to drop out of the process for multiple reasons over the last several months.

67 was the only team who had previously put out an informational document - that's why we started with theirs, because it was primarily a matter of reformatting it into the BTD format that the books used in the past. We tried to stay true to those books. I always thought they were a wonderful resource and artfully done, but then I'm an engineer so what do I know

It was a bigger job that we originally thought. Writing, formatting and proof reading (mostly formatting) each submission takes anywhere from 8-20 hours. That doesn't include getting back to teams for additional content and photographs. So in a way, we're lucky we didn't get a ton of submissions.

Next year, I hope to start earlier, and we're going to work with FIRST and potentially ask for submissions from any team who has won a robot award so we end up with more teams. That's quite a ways off, and I"ll have to get buy-in from our new students before we even decide to repeat this next year.

I'll leave the business awards to some other busybody!
Reply With Quote
  #29   Spotlight this post!  
Unread 04-12-2012, 03:38
Brandon Holley's Avatar
Brandon Holley Brandon Holley is offline
Chase perfection. Catch excellence.
AKA: Let's bring CD back to the way it used to be
FRC #0125 (NU-TRONs, Team #11 Alumni (GO MORT))
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Boston, MA
Posts: 2,593
Brandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond repute
Send a message via AIM to Brandon Holley
Re: Behind The Design 2012

Quote:
Originally Posted by JVN View Post
This. Is. Fantastic.

I wish there was one of these for every robot. Scratch that... I wish that EVERY TEAM would take the time to do this for their robot.

Kudos to 1718 for facilitating this, but I wish they didn't need to.

-John
It seems ripe for FIRST to offer an award that surrounds a team's design process, or documenting of said process. Maybe it would fit into an existing award, but having teams submit a formal report documenting their season (limited to a couple pages, like 67s) would go a long way in encouraging teams to keep a record of their build.

It'd also likely produce some AWESOME reading for all of us.

For most teams, build season kind of starts and finishes and thats it. Almost all of us wonder where the time has gone and where we could have made improvements. We should all have a better record of how our build seasons progressed!

-Brando
__________________
MORT (Team 11) '01-'05 :
-2005 New Jersey Regional Chairman's Award Winners
-2013 MORT Hall of Fame Inductee

NUTRONs (Team 125) '05-???
2007 Boston Regional Winners
2008 & 2009 Boston Regional Driving Tomorrow's Technology Award
2010 Boston Regional Creativity Award
2011 Bayou Regional Finalists, Innovation in Control Award, Boston Regional Finalists, Industrial Design Award
2012 New York City Regional Winners, Boston Regional Finalists, IRI Mentor of the Year
2013 Orlando Regional Finalists, Industrial Design Award, Boston Regional Winners, Pine Tree Regional Finalists
2014 Rhode Island District Winners, Excellence in Engineering Award, Northeastern University District Winners, Industrial Design Award, Pine Tree District Chairman's Award, Pine Tree District Winners
2015 South Florida Regional Chairman's Award, NU District Winners, NEDCMP Industrial Design Award, Hopper Division Finalists, Hopper/Newton Gracious Professionalism Award
Reply With Quote
  #30   Spotlight this post!  
Unread 04-12-2012, 08:46
Unsung FIRST Hero
JVN JVN is offline
@JohnVNeun
AKA: John Vielkind-Neun
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 2000
Location: Greenville, Tx
Posts: 3,159
JVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond repute
Re: Behind The Design 2012

Quote:
Originally Posted by Brandon Holley View Post
It seems ripe for FIRST to offer an award that surrounds a team's design process, or documenting of said process. Maybe it would fit into an existing award, but having teams submit a formal report documenting their season (limited to a couple pages, like 67s) would go a long way in encouraging teams to keep a record of their build.
Agreed.

The VEX Robotics Competition has several awards which require an engineering notebook, and description of the team's engineering process to be eligible. The "journey" is definitely part of the award.

I would love to see stronger emphasis on this from FIRST.

-John
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 06:49.

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