Go to Post I don't care if students, engineers, my aging grandmother, or a pack of monkeys builds the robot...as long as at least one student walks away inspired then the goal of FIRST has been reached. - Andy Grady [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
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 05-02-2016, 13:01
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
pic: Custom encoder mount for Mini CIM/CIM

Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2016, 13:02
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: pic: Custom encoder mount for Mini CIM/CIM

I like it! Although is there any reason you're direct mounting it instead of on the output shaft of a gearbox or other?
__________________
College sux yo
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2016, 13:10
Peyton Yeung's Avatar
Peyton Yeung Peyton Yeung is offline
45 Alumni
AKA: Peyton Yeung
FRC #0461 (Westside Boiler Invasion)
Team Role: Coach
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Kokomo, IN
Posts: 814
Peyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond repute
Re: pic: Custom encoder mount for Mini CIM/CIM

Does that still leave you much space for pinion gear mounting inside a gear box? Very similar to this one.
__________________
461 Westside Boiler Invasion
2016 Tippy Quarter finalist, Warren Finalist, IN State Semi Finalist,B^3 Double Finalist
2015 Indy Semi finalist, Purdue Quarter Finalist, IN State Quarter Finalist, CORI QF, R2OC Finalist, RAGE Winner
2014 Boilermaker Semi finalist, Crossroads Quarter Finalist, & CAGE Quarter Finalist
45 Technokats
2013 Boilermaker Quarter finalist
2012 CAGE Semi finalist & Queen City Champion
2011 CAGE Quarter finalist & Midwest Semi finalist
2010 CAGE Quarter finalist, Boilermaker Champion, & Washington DC Quarter Finalist
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2016, 13:55
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 285
jojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of light
Re: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by iambujo View Post
Actually, according to CUI's datasheet, the maximum RPM is 15,000RPM if you go down to 512PPR

Great design BTW! How much of the CIM shaft is left sticking out?
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2016, 15:21
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by xXhunter47Xx View Post
I like it! Although is there any reason you're direct mounting it instead of on the output shaft of a gearbox or other?
We wanted an option for cases where either a gear box isn't used (like our shooter this year) or another type of encoder mounting just isn't a convenient option.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-02-2016, 15:24
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by Peyton Yeung View Post
Does that still leave you much space for pinion gear mounting inside a gear box? Very similar to this one.
I'm not sure, it might not work for some pinion to gearbox applications, but it works well for an 8mm inside diameter keyed shaft (or equivalent shaft adapter).

I hadn't seen the one in the link before! Here I thought we had a novel idea!
Reply With Quote
  #7   Spotlight this post!  
Unread 05-02-2016, 15:27
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by jojoguy10 View Post
Actually, according to CUI's datasheet, the maximum RPM is 15,000RPM if you go down to 512PPR

Great design BTW! How much of the CIM shaft is left sticking out?
Right, it can go up to 15,000 RPM at a lower encoder resolution. I only quoted the range that a mini CIM or CIM could reach, but good catch.

I'll measure the final shaft length tomorrow and let you know.
Reply With Quote
  #8   Spotlight this post!  
Unread 05-02-2016, 15:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,050
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by jojoguy10 View Post
Actually, according to CUI's datasheet, the maximum RPM is 15,000RPM if you go down to 512PPR
What exactly is CUI's definition of "PPR"? "Pulses Per Revolution" is ambiguous.

Do they define it as
  • rising edges per rev on one channel?

  • rising and falling edges per rev on one channel?

  • rising and falling edges per rev on both channels?

Couldn't find the term defined unambigously anywhere on the website or in the product datasheet.


Note: US Digital rates their encoders according to CPR, which they define as "Cycles Per Revolution", which is unambiguous. For example, a US Digital 360 CPR encoder would mean 360 cycles per rev, which is the same as:

360 rising edges per rev per channel
720 rising and falling edges per rev per channel
1440 rising and falling edges per rev both channels





Last edited by Ether : 05-02-2016 at 16:05.
Reply With Quote
  #9   Spotlight this post!  
Unread 05-02-2016, 16:26
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by Ether View Post
What exactly is CUI's definition of "PPR"? "Pulses Per Revolution" is ambiguous.

Do they define it as
  • rising edges per rev on one channel?

  • rising and falling edges per rev on one channel?

  • rising and falling edges per rev on both channels?

Couldn't find the term defined unambigously anywhere on the website or in the product datasheet.


Note: US Digital rates their encoders according to CPR, which they define as "Cycles Per Revolution", which is unambiguous. For example, a US Digital 360 CPR encoder would mean 360 cycles per rev, which is the same as:

360 rising edges per rev per channel
720 rising and falling edges per rev per channel
1440 rising and falling edges per rev both channels




Good question sir, I'm not sure yet. I plan to test that tomorrow and I will let you know.
Reply With Quote
  #10   Spotlight this post!  
Unread 05-02-2016, 16:27
Munchskull's Avatar
Munchskull Munchskull is offline
CAD Designer/ Electrical Consaltant
AKA: Anthony Cardinali
FRC #0997 (Spartan Robotics)
Team Role: CAD
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Corvallis, OR
Posts: 512
Munchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to behold
Re: pic: Custom encoder mount for Mini CIM/CIM

if you want to save cnc time and have a 3d printer.
__________________
“In theory, theory and practice are the same. In practice, they are not.” ― Anonymous
Anthony Cardinali
4th year of FRC
Class of 2017



Reply With Quote
  #11   Spotlight this post!  
Unread 05-02-2016, 17:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,050
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by iambujo View Post
The AMT10 has a configurable resolution ranging from 48 up to 2048 at a max of 7500 RPMs
Assuming1 for the moment that 2048 means "rising edges per rev per channel", let's do the math if you set this up for quadrature at 7500 RPM with a 20ms control loop period:

CPR: 2048$

decoding:4$

secondsPerControlLoop: 20/1000$

FPGAsamples: 127$

edgesPerControlLoop: RPM * (1/60) * (decoding*CPR) * secondsPerControlLoop = 20,480

secondsPerEdge2: float((1/RPM) * 60 * 1/(decoding*CPR)) = 0.9766e-6

secondsPerSamplesize: secondsPerEdge * FPGAsamples = 0.1240234375e-3

As can be seen, that is way overkill for operation at that speed.



1 I am inferring that because there are a couple of odd-number PPRs in the list, namely 125 and 385. You can't have an odd number of "rising and falling edges per rev per channel" or "rising and falling edges per rev both channels"

2 This number is even smaller if quadrature tolerance is included. But the 40MHz sampling rate of the roboRIO theoretically should handle it.
Reply With Quote
  #12   Spotlight this post!  
Unread 06-02-2016, 16:57
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by iambujo View Post
Right, it can go up to 15,000 RPM at a lower encoder resolution. I only quoted the range that a mini CIM or CIM could reach, but good catch.

I'll measure the final shaft length tomorrow and let you know.
There appears to be 13/16" of the shaft remaining.

I didn't get a chance to test the encoder signal today.
Reply With Quote
  #13   Spotlight this post!  
Unread 10-02-2016, 19:32
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: pic: Custom encoder mount for Mini CIM/CIM

We ran the encoder class on the encoder with the resolution set to 256. We got roughly 25,000 from the encoder class. 25,000ticks x (60sec/min) / (256ticks/rev) = about 5,859 RPMs. Since this was a full speed minicim I'd say the data was valid and I'd say the encoder's resolution is based on rising (or falling) edge and not both. Otherwise the RPM data would not be right.

The beauty of this encoder is that we can set the resolution lower if there was a sampling rate issue, simply with dip switches.
Reply With Quote
  #14   Spotlight this post!  
Unread 10-02-2016, 19:56
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,050
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by iambujo View Post
We ran the encoder class on the encoder
You left out one piece of information crucial to your argument: decoding mode.


Reply With Quote
  #15   Spotlight this post!  
Unread 14-02-2016, 00:53
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by Ether View Post
You left out one piece of information crucial to your argument: decoding mode.
The mode doesn't change the value, just the resolution. One cycle of the quadrature signals is one count.
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 23:33.

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