Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Extra Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=68)
-   -   pic: Custom encoder mount for Mini CIM/CIM (http://www.chiefdelphi.com/forums/showthread.php?t=143219)

iambujo 05-02-2016 13:01

pic: Custom encoder mount for Mini CIM/CIM
 

xXhunter47Xx 05-02-2016 13:02

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?

Peyton Yeung 05-02-2016 13:10

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.

jojoguy10 05-02-2016 13:55

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by iambujo (Post 1535533)

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?

iambujo 05-02-2016 15:21

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by xXhunter47Xx (Post 1535534)
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.

iambujo 05-02-2016 15:24

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by Peyton Yeung (Post 1535539)
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! :)

iambujo 05-02-2016 15:27

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by jojoguy10 (Post 1535573)
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.

Ether 05-02-2016 15:57

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by jojoguy10 (Post 1535573)
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





iambujo 05-02-2016 16:26

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by Ether (Post 1535633)
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.

Munchskull 05-02-2016 16:27

Re: pic: Custom encoder mount for Mini CIM/CIM
 
if you want to save cnc time and have a 3d printer.

Ether 05-02-2016 17:08

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by iambujo (Post 1535533)
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.

iambujo 06-02-2016 16:57

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by iambujo (Post 1535618)
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.

iambujo 10-02-2016 19:32

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.

Ether 10-02-2016 19:56

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by iambujo (Post 1538274)
We ran the encoder class on the encoder

You left out one piece of information crucial to your argument: decoding mode.



Alan Anderson 14-02-2016 00:53

Re: pic: Custom encoder mount for Mini CIM/CIM
 
Quote:

Originally Posted by Ether (Post 1538287)
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.


All times are GMT -5. The time now is 03:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi