Go to Post It's amazing what you'll find in the FIRST Manual :) - dcarr [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2012, 21:05
RB73 RB73 is offline
Registered User
FRC #2866
 
Join Date: Nov 2011
Rookie Year: 2009
Location: Maryland
Posts: 37
RB73 is an unknown quantity at this point
High speed encoders

Our team would like to have feedback from our shooter wheels, but we know that a problem occurs when there is feedback of 5000 RPM and over. Does anyone have suggestions as to how to get speed feedback from the wheels?
  #2   Spotlight this post!  
Unread 24-01-2012, 22:43
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: High speed encoders

What problems occur? How many pulses per revolution are the encoders you are using?
  #3   Spotlight this post!  
Unread 24-01-2012, 23:24
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,033
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: High speed encoders

We are working on setting up a latching Hall effect sensor, with one pulse per revolution.

I think there's a thread about it here somewhere....

http://www.chiefdelphi.com/forums/sh...d.php?t=100422

We'll let you know how it works out.
  #4   Spotlight this post!  
Unread 24-01-2012, 23:41
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,304
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: High speed encoders

Quote:
Originally Posted by RB73 View Post
Our team would like to have feedback from our shooter wheels, but we know that a problem occurs when there is feedback of 5000 RPM and over. Does anyone have suggestions as to how to get speed feedback from the wheels?
The encoders that come in the kit are rated at up to 10,000 rpm. Even at that speed, that's only ~42,000 counts per second. 24 microseconds should be plenty long enough between counts for the CRio to handle... I hope? Or is there something here I'm missing?
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #5   Spotlight this post!  
Unread 24-01-2012, 23:46
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
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: High speed encoders

Quote:
Originally Posted by pfreivald View Post
The encoders that come in the kit are rated at up to 10,000 rpm. Even at that speed, that's only ~42,000 counts per second. 24 microseconds should be plenty long enough between counts for the CRio to handle... I hope? Or is there something here I'm missing?
Here's a thread from Jan 2010 on the NI forum. Can anyone confirm the advice given there is accurate and current?

https://decibel.ni.com/content/message/12523

  #6   Spotlight this post!  
Unread 24-01-2012, 23:54
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,304
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: High speed encoders

Quote:
Originally Posted by Ether View Post
Here's a thread from Jan 2010 on the NI forum. Can anyone confirm the advice given there is accurate and current?

https://decibel.ni.com/content/message/12523

Thank you. As we'll be running much slower than 10,000 rpm and not taking advantage of quadrature (because we think it's likely redundant at these speeds), I think we'll be fine.*

*and by that, I mean "our programming team is working on that as well as several other problems right now!"**

**and by that, I mean "how cool is it that 1551 can finally use the phrase 'our programming team' without being ironic?"

__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #7   Spotlight this post!  
Unread 25-01-2012, 00:09
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: High speed encoders

Quote:
Originally Posted by pfreivald View Post
The encoders that come in the kit are rated at up to 10,000 rpm. Even at that speed, that's only ~42,000 counts per second. 24 microseconds should be plenty long enough between counts for the CRio to handle... I hope? Or is there something here I'm missing?
Just to clarify, those are the USDigital E4P encoders. The rotary magnetic encoders are effective up to 30 000 rpm, although they do detail in sect 8.6 how to account for latency.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #8   Spotlight this post!  
Unread 25-01-2012, 13:23
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: High speed encoders

Quote:
Originally Posted by Ether View Post
Here's a thread from Jan 2010 on the NI forum. Can anyone confirm the advice given there is accurate and current?

https://decibel.ni.com/content/message/12523
We are planning to connect the encoder to the Jaguar, so the question from us is: how fast can the Jaguar count? I can't seem to find that info in the Jaguar spec.
__________________
  #9   Spotlight this post!  
Unread 26-01-2012, 00:39
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: High speed encoders

Quote:
Originally Posted by mikets View Post
We are planning to connect the encoder to the Jaguar, so the question from us is: how fast can the Jaguar count? I can't seem to find that info in the Jaguar spec.
The QEI can handle a rate of up to 12.5 MHz (see 1.1 & 18 of this doc for more deetails).
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #10   Spotlight this post!  
Unread 26-01-2012, 11:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
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: High speed encoders

Quote:
Originally Posted by slijin View Post
The QEI can handle a rate of up to 12.5 MHz (see 1.1 & 18 of this doc for more deetails).
^^^that's from the Jag's microcontroller chip datasheet

this is from the datasheet for the Jag itself:
Quote:
Originally Posted by Bryscus View Post
If you look at the datasheet for the black jaguar, it says 1e6 transitions per second. If you consider that there are 4 transitions used for quadrature encoding you get 250,000 lines per second. With a 100 click per rev encoder you'd get 2500 revs per second.
  #11   Spotlight this post!  
Unread 26-01-2012, 12:02
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: High speed encoders

Our programmers are overloaded already from our pivot drive and targeting - ranging. To keep the rpm issue simple we are using another motor to generate a voltage proportional to rpm. Do an analog sample and feed it into the PID. They have this down. The counter and timing was confusing them with their all ready pressured state. The Crio has 12 bit 10 to -10 volt ability. We will take advantage of the 0 to 10 range for the first time. Should have something running this weekend.
  #12   Spotlight this post!  
Unread 26-01-2012, 12:06
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
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: High speed encoders

Quote:
Originally Posted by Gdeaver View Post
we are using another motor to generate a voltage proportional to rpm. Do an analog sample and feed it into the PID.
Team 358 did a paper on this a while back:
http://www.chiefdelphi.com/forums/sh...96&postcount=8

  #13   Spotlight this post!  
Unread 26-01-2012, 12:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
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: High speed encoders

Quote:
Originally Posted by Gdeaver View Post
Our programmers are overloaded already from our pivot drive...
I thought you guys had pivot drive all figured out. Are you doing something different this year?

  #14   Spotlight this post!  
Unread 26-01-2012, 12:10
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 191
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: High speed encoders

Quote:
Originally Posted by slijin View Post
The QEI can handle a rate of up to 12.5 MHz (see 1.1 & 18 of this doc for more deetails).
Yes, the microcontroller in the Jaguar can handle 12.5 MHz, but that is when the MCU is running at 50 MHz. Jaguar firmware sets the MCU to run at 16MHz.

We specify the maximum transitions per second at 1 million. Yes, at 16MHz the MCU can read up to 4M transitions per second, but with 10K pull-up resistors and an unknown capacitance in the encoder lines, 1M is more realistic.

-David
  #15   Spotlight this post!  
Unread 26-01-2012, 12:26
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: High speed encoders

Ether, Programmers graduate. This year it's time for others to step up. The game this year is computationally challenging with the target acquisition, ranging and aiming. The pivot code has to be optimized or simplified to free up resources for the ball gathering and shooting. If they do not tighten things up lag will rear it's ugly head. Our robot is programmed by student. If they do not write it, it does not go on the bot. Our programming mentor supports them and guides them but in the end the students must do it. I find it amazing that high school maturity students can step up and perform at this level But they do have limits. I'm trying to simplify the physical as much as possible to help them.
Closed Thread


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 18:56.

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