Go to Post And who is to say what is the mean? Do I mean the mean? Or even the average? Or am I just being mean (or average, which could be my mean)? - dlavery [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
  #1   Spotlight this post!  
Unread 03-03-2013, 15:37
TRIron95 TRIron95 is offline
Registered User
FRC #4206
 
Join Date: Nov 2012
Location: Fort Worth
Posts: 3
TRIron95 is an unknown quantity at this point
Shooter consistency

At our recent regional in Lubbock, we had an issue with our autonomous shooting not being consistent despite our measuring and adjustments to positioning. One of the ideas that came up was that a 13V charged battery vs a 12V battery may give the shooter more power causing it to shoot harder/higher. our shooter is a fixed position. Any ideas on what we can do to correct that or what may be wrong?
Reply With Quote
  #2   Spotlight this post!  
Unread 03-03-2013, 15:41
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: Shooter consistency

Quote:
Originally Posted by TRIron95 View Post
At our recent regional in Lubbock, we had an issue with our autonomous shooting not being consistent despite our measuring and adjustments to positioning. One of the ideas that came up was that a 13V charged battery vs a 12V battery may give the shooter more power causing it to shoot harder/higher. our shooter is a fixed position. Any ideas on what we can do to correct that or what may be wrong?
Get a sensor to measure your shooter speed such as a halleffect sensor. By using the feedback of the sensor to determine shooter RPM you can determine if the shooter is actually at the correct speed. There are numerous ChiefDelphi threads about this.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-03-2013, 16:05
fb39ca4 fb39ca4 is offline
Registered User
FRC #1899
 
Join Date: Jan 2012
Location: Bellevue, WA
Posts: 195
fb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to all
Re: Shooter consistency

A standard encoder might not be able to handle a wheel spinning that fast. What we used was a photoswitch from the 2011 KoP to count the spokes on the wheel.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-03-2013, 16:29
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,098
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: Shooter consistency

Quote:
Originally Posted by fb39ca4 View Post
A standard encoder might not be able to handle a wheel spinning that fast.
How fast is "that fast"? The OP did not say what speed they are running their shooter at.

A "standard" US Digital E4P 250CPR encoder, if setup properly*, should be able to easily handle speeds up to 5000 rpm.

Quote:
What we used was a photoswitch from the 2011 KoP to count the spokes on the wheel.
If the spokes are not wide enough, that detector will have difficulty keeping up at high speeds.


* connect only Channel A. Leave Channel B disconnected. Instantiate it as an up/down counter in the Counter class, and set it to count up only. Set the FPGA sample averaging ring buffer to 125. Use the getPeriod() method in the counter class, and compute rpm = 60/(250*period). See attachment.
Attached Thumbnails
Click image for larger version

Name:	5000rpm 250CPR 125N.png
Views:	160
Size:	5.7 KB
ID:	14236  

Last edited by Ether : 03-03-2013 at 16:44.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-03-2013, 20:05
Wayne TenBrink's Avatar
Wayne TenBrink Wayne TenBrink is offline
<< (2008 Game Piece)
FRC #1918 (NC Gears)
Team Role: Engineer
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Fremont, MI, USA
Posts: 527
Wayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond reputeWayne TenBrink has a reputation beyond repute
Re: Shooter consistency

What kind of motor, gearbox/drive train, shooter wheel, material on the "fixed" shoe, any other disc guides?
__________________
NC Gears (Newaygo County Geeks Engineering Awesome Robotic Solutions)

FRC 1918 (Competing at St. Joseph and West MI in 2017)
FTC 6043 & 7911
Reply With Quote
  #6   Spotlight this post!  
Unread 03-03-2013, 20:12
iambujo iambujo is offline
Mentor
FRC #2729 (Storm)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: NJ
Posts: 84
iambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to all
Re: Shooter consistency

I can vouch for hall effect latch sensors on shooters and a well designed feedback/pid implementation. My team is able to pinpoint our desired speeds in about a second. We use a US1881 and custom pcb. Feedback from a sensor is key as others have stated, battery charge/quality can add a lot of variation otherwise.
Reply With Quote
  #7   Spotlight this post!  
Unread 03-03-2013, 20:19
Mongai's Avatar
Mongai Mongai is offline
Indian Guy
AKA: Alec
FRC #0935 (RaileRobotics)
Team Role: Alumni
 
Join Date: Sep 2010
Rookie Year: 2009
Location: Newton, KS
Posts: 138
Mongai is just really niceMongai is just really niceMongai is just really niceMongai is just really niceMongai is just really nice
Re: Shooter consistency

Quote:
Originally Posted by Ether View Post
If the spokes are not wide enough, that detector will have difficulty keeping up at high speeds.]
We had great luck putting a piece of reflective tape on our wheel and having the sensor count rotations of that instead.
Reply With Quote
  #8   Spotlight this post!  
Unread 03-03-2013, 20:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,098
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: Shooter consistency

Quote:
Originally Posted by Mongai View Post
We had great luck putting a piece of reflective tape on our wheel and having the sensor count rotations of that instead.
Good to hear.

Would you mind answering a few questions to make this useful for other teams?

1) What optical sensor are you using?

2) What angle of arc is subtended by the tape at the radius where the sensing is taking place? In other words, what is the width of the tape (in the circumferencial direction) where it passes under the sensor, and how from the center of rotation is the sensing element located?

3) What wheel speeds were you measuring?

4) Were you indeed "having the sensor count rotations" or were you using the FPGA to measure the period? (That's an important distinction).

5) What speed control algorithm did you use?


Reply With Quote
  #9   Spotlight this post!  
Unread 03-03-2013, 21:03
Mongai's Avatar
Mongai Mongai is offline
Indian Guy
AKA: Alec
FRC #0935 (RaileRobotics)
Team Role: Alumni
 
Join Date: Sep 2010
Rookie Year: 2009
Location: Newton, KS
Posts: 138
Mongai is just really niceMongai is just really niceMongai is just really niceMongai is just really niceMongai is just really nice
Re: Shooter consistency

Quote:
Originally Posted by Ether View Post
Good to hear.

Would you mind answering a few questions to make this useful for other teams?

1) What optical sensor are you using?

2) What angle of arc is subtended by the tape at the radius where the sensing is taking place? In other words, what is the width of the tape (in the circumferencial direction) where it passes under the sensor, and how from the center of rotation is the sensing element located?

3) What wheel speeds were you measuring?

4) Were you indeed "having the sensor count rotations" or were you using the FPGA to measure the period? (That's an important distinction).

5) What speed control algorithm did you use?


I can definitely get an answer by tomorrow. I wasn't the one who worked with the optical sensor.
Reply With Quote
  #10   Spotlight this post!  
Unread 03-03-2013, 23:41
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Shooter consistency

Would voltage control mode on a CAN Jaguar be consistent enough to get away without a feedback loop? The way our shooter was done, I can't really see an easy way to add one. Transmission used belts, and the wheels we were given are Aluminum (so no magnetic sensor), and an encoder mount is impossible without redesigning the entire gearbox. We also used pneumatic tires with a custom machined rim (so no holes to track with an optical sensor). Unless we attached a magnet to the wheel and used a hall effect sensor below it... but that would destabilize the already fairly shaky wheel unless we used a *tiny* magnet.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional

Last edited by F22Rapture : 03-03-2013 at 23:54.
Reply With Quote
  #11   Spotlight this post!  
Unread 03-03-2013, 23:55
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,705
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Shooter consistency

Quote:
Originally Posted by F22Rapture View Post
Would voltage control mode on a CAN Jaguar be consistent enough to get away without a feedback loop? The way our shooter was done, I can't really see an easy way to add one one. Transmission used belts, and the wheels we were given are Aluminum (so no magnetic sensor), and an encoder mount is impossible without redesigning the entire gearbox.
Betcha you could put a piece of reflective tape on your belt and use a IR proximity sensor on that. Don't get too attached on putting the sensor on some rotating thing, yeah?

As for the voltage control on a CAN Jaguar, that's better than nothing, not as good as actual feedback control. It will compensate somewhat for state of charge differences in your battery. It won't compensate for the spin down from firing a frisbee and it's going to deal poorly with rapid voltage changes from, say, your drivetrain or some other system making voltage fluctuate. Feedback is really the best way to go for getting fast, consistent shooting.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #12   Spotlight this post!  
Unread 03-03-2013, 23:55
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,098
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: Shooter consistency

Quote:
Originally Posted by F22Rapture View Post
Would voltage control mode on a CAN Jaguar be consistent enough to get away without a feedback loop? The way our shooter was done, I can't really see an easy way to add one. Transmission used belts, and the wheels we were given are Aluminum (so no magnetic sensor), and an encoder mount is impossible without redesigning the entire gearbox. We also used pneumatic tires with a custom machined rim (so no holes to track with an optical sensor). Unless we attached a magnet to the wheel and used a hall effect sensor below it... but that would destabilize the already fairly shaky wheel unless we used a *tiny* magnet.
Paint the wheel black and then attach a piece of reflective tape and use an optical sensor.


Reply With Quote
  #13   Spotlight this post!  
Unread 04-03-2013, 00:06
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Shooter consistency

Would the line tracking photoswitch from 2011 work, or is there another sensor that would be a better choice?
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #14   Spotlight this post!  
Unread 04-03-2013, 00:07
Andrew Lawrence
 
Posts: n/a
Re: Shooter consistency

We've had near perfect accuracy with our shooter, and it's essentially a 2-wheel linear shooter using the AM 8-inch pneumatics without the pneumatic inner tubes inside the wheels on AM Spinboxes powered by a CIM and a MiniCIM. No feedback whatsoever, constant 100% power on the wheels when shooting.
Reply With Quote
  #15   Spotlight this post!  
Unread 04-03-2013, 00:30
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,705
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Shooter consistency

Quote:
Originally Posted by F22Rapture View Post
Would the line tracking photoswitch from 2011 work, or is there another sensor that would be a better choice?
Yes, though it's a little slow. You typically need a pretty wide stripe to get it to work. Too narrow a stripe and it won't register. Practically speaking, you can make the stripe take up half of whatever surface you're sensing and it'll work fine.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
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 16:04.

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