Go to Post I predict someone has to eat a hat! :D - FiMFanatic [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 05-11-2014, 19:41
Mr. Van Mr. Van is offline
Registered User
#0599 (Robo-Dox)
 
Join Date: Feb 2002
Location: Granada Hills, CA
Posts: 350
Mr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond repute
VEXPro 3-CIM Ball Shifter encoder?

We're looking at the Grayhill 63R series encoders for our VEXPro 3-CIM ball shifters.

Question what "Pulses per revolution" should we get? 256, 128, or 64? What are you using? Any issues with the high PPR? Will the new control system behave differently than the old?

Thanks!

- Mr. Van
Coach, Robodox
  #2   Spotlight this post!  
Unread 05-11-2014, 19:43
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,498
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: VEXPro 3-CIM Ball Shifter encoder?

New and old system will handle the 256 no problem, get the most resolution you can.
  #3   Spotlight this post!  
Unread 05-11-2014, 19:48
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: VEXPro 3-CIM Ball Shifter encoder?

Quote:
Originally Posted by Mr. Van View Post
We're looking at the Grayhill 63R series encoders for our VEXPro 3-CIM ball shifters.

Question what "Pulses per revolution" should we get? 256, 128, or 64? What are you using? Any issues with the high PPR? Will the new control system behave differently than the old?

Thanks!

- Mr. Van
Coach, Robodox
The control system should be fine with all three resolutions.

That said, the 256 ppr encoders we have generate much noisier signals than the 64's. This becomes an issue if you're using PD control (specifically the d). The issue goes away if you use a low pass filter or turn on the FPGA's moving average feature (I think we averaged 4 or 8 samples).
  #4   Spotlight this post!  
Unread 05-11-2014, 20:05
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: VEXPro 3-CIM Ball Shifter encoder?

Quote:
Originally Posted by Mr. Van View Post
Will the new control system behave differently than the old?
The new control system has a much higher digital sample rate then the cRIO. This means that it can handle even higher resolution encoders, or have less noise in velocity measurements. However, due to phase error in the encoder, you will still want to use 1x decoding or 4x decoding with 4 sample averaging for velocity measurements.
  #5   Spotlight this post!  
Unread 14-11-2014, 12:53
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 67
jfitz0807 is an unknown quantity at this point
Re: VEXPro 3-CIM Ball Shifter encoder?

We are almost done building our practice chassis and we have included encoders for the first time. We ordered the Grayhill 63R series 256 encoders.

The 4 sample averaging is a great suggestion that we will implement. I presume this is just reading the encoder in teleopPeriodic() and keeping a running average of the last n samples.

Can you elaborate on the 1x decoding or 4x decoding?
  #6   Spotlight this post!  
Unread 14-11-2014, 13:44
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: VEXPro 3-CIM Ball Shifter encoder?

Quote:
Originally Posted by jfitz0807 View Post
We are almost done building our practice chassis and we have included encoders for the first time. We ordered the Grayhill 63R series 256 encoders.

The 4 sample averaging is a great suggestion that we will implement. I presume this is just reading the encoder in teleopPeriodic() and keeping a running average of the last n samples.

Can you elaborate on the 1x decoding or 4x decoding?
All of the decoding happens in hardware in the FPGA, including the rolling sample average. All you need to do is configure the encoder object in your code to use 1x decoding or 4x decoding with 4 sample averaging as Joe suggests.

In Labview, this happens in Begin.vi when you call the Encoder Open block. In C++ or Java, these are either parameters for the Encoder object constructor method, or have corresponding set methods to be called after instantiation.
  #7   Spotlight this post!  
Unread 24-11-2014, 22:25
Chief Hedgehog's Avatar
Chief Hedgehog Chief Hedgehog is offline
Mentor
FRC #4607 (C.I.S.)
Team Role: Coach
 
Join Date: May 2013
Rookie Year: 2012
Location: Becker, Minnesota
Posts: 544
Chief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond repute
Re: VEXPro 3-CIM Ball Shifter encoder?

We are trying to source the wire and connector for the Grayhill 63r encoder (5pins) and the best/most appropriate way to connect this.

Anyone have an answer?
__________________

"An error does not become a mistake until you refuse to correct it" ~JFK
  #8   Spotlight this post!  
Unread 28-11-2014, 15:28
Gary Suter Gary Suter is offline
Registered User
FRC #2439
 
Join Date: Mar 2012
Location: Maui
Posts: 16
Gary Suter is an unknown quantity at this point
Re: VEXPro 3-CIM Ball Shifter encoder?

Are the encoders in stock now?
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 02:05.

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