Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Determining Motor Speed? (http://www.chiefdelphi.com/forums/showthread.php?t=102645)

ksafin 12-02-2012 15:06

Determining Motor Speed?
 
Hi all,

Right now we have a CIM-U-LATOR gearbox hooked up to a modulox gearbox.

We want to get the speed of the overall output.

So, a few questions

1) Does the encoder fit on the CIM shaft?
2) If it does, then I assume we'll need to put it on the CIM shaft and perform math in the code to find the speed after all the gearing within the gearbox?
3) It's very high up on the robot, and the encoder wire seems short. Any suggestions?

EDIT:

Looking into some parts, I found
http://www.andymark.com/product-p/am-0174.htm
http://www.andymark.com/product-p/am-2040.htm
http://www.andymark.com/product-p/am-2043.htm

Are these the parts needed?

it looks like there's a circular part of the hex shaft, and it is meant to protrude from the gearbox, and you attach the encoder there, while the hex protrusion on the other side is used as the normal provided hex shaft would be.

baronep 12-02-2012 15:46

Re: Determining Motor Speed?
 
1) I dont think so. I believe on the toughbox, the drive axle is machined down to the correct diameter on the backside to accept the US digital encoder. I have no experience with your gearbox.

2)Correct

3)You will need to solder in some extra wire and then solder some female PWM connectors on the end to connect it to the DS. (White - signal; black - ground; red- v+)

ksafin 12-02-2012 16:20

Re: Determining Motor Speed?
 
Quote:

3)You will need to solder in some extra wire and then solder some female PWM connectors on the end to connect it to the DS. (White - signal; black - ground; red- v+)
DS? I thought the encoder went into the Jaguar.

slijin 12-02-2012 19:27

Re: Determining Motor Speed?
 
Quote:

Originally Posted by ksafin (Post 1125092)
DS? I thought the encoder went into the Jaguar.

There are two options to connect the encoder.

One is to connect it to the DSC; this option will require two Digital I/O channels because of the nature of the encoder output. If you take this route, make sure that you take care soldering the wires (there are alternatives to connect the wires; search the forums to find them) as they are easily damaged by the heat, and that you solder them correctly.

The other is to, as you note, connect it to the Jaguar via the encoder interface. Note that the E4P encoders provided by USDigital do not have index lines, so that pin is unused. Accessing encoder output through this option is only possible with Jaguars on CAN. Jaguars on PWM cannot react to encoder input nor send it back to the cRIO. You must be on CAN to access the encoder input. I'm not familiar with the specifics; I'll let someone with more knowledge on that elaborate.

Quote:

Originally Posted by ksafin (Post 1125050)
Looking into some parts, I found
http://www.andymark.com/product-p/am-0174.htm
http://www.andymark.com/product-p/am-2040.htm
http://www.andymark.com/product-p/am-2043.htm

Are these the parts needed?

it looks like there's a circular part of the hex shaft, and it is meant to protrude from the gearbox, and you attach the encoder there, while the hex protrusion on the other side is used as the normal provided hex shaft would be.

I'm not familiar with the specific parts you're using, but yes, the cylindrical portion of the shaft is where the encoder reads the shaft's rotational speed. If you still have FIRST Choice points left, you may also want to look into getting the encoders from there.

FrankJ 12-02-2012 20:19

Re: Determining Motor Speed?
 
The US digital encoder is for a 1/4 shaft. The CIM-U-LATOR has a 8MM shaft. will not work. The MOD box adapter shaft will work. Just adjust the encoder counts by the gear ratio. Most of the AndyMark gear boxes has the encoder on the output shafts.

Encoders are sensitive to shaft end play & egocentricity. So make sure the shaft does not have a lot of float & is well aligned.

Splice longer wire to the provided encoder wire. Stranded Ethernet cable works. Cable is better than individual wires. Nothing bigger than 18 gauge. Try to keep the cable away from power wires especially motor power.

ksafin 12-02-2012 21:33

Re: Determining Motor Speed?
 
Everyone,

I'm looking at the 360 and 250 count encoders.

According to the calculation provided on the US Digital site, a lower count encoder can handle a higher Max RPM.

Our launcher is over 10,000 RPM (which is the max for a 360 step), so I'm thinking of getting the 250 step.

What do you think?

Ether 12-02-2012 22:32

Re: Determining Motor Speed?
 
Quote:

Originally Posted by ksafin (Post 1125346)
Our launcher is over 10,000 RPM

What is your wheel diameter?


cgmv123 12-02-2012 23:26

Re: Determining Motor Speed?
 
Note that the FPGA can only handle ~39000 pulses per second, or about 6500 RPM with a 360 count encoder.

FrankJ 12-02-2012 23:37

Re: Determining Motor Speed?
 
Quote:

Our launcher is over 10,000 RPM
That is a lot of RPM for wheels. A lot more than what your typical AndyMark wheel is probably design for. Of course you might well be using something else.

slijin 13-02-2012 00:05

Re: Determining Motor Speed?
 
Quote:

Originally Posted by ksafin (Post 1125346)
Our launcher is over 10,000 RPM

Have you actually measured this with a tachometer?

Keep in mind that motors' free speeds are not the same as their speed under load.

ksafin 13-02-2012 18:34

Re: Determining Motor Speed?
 
We're using the 2011 FIRST Wheels, 8" Diameter, with a Banebots RS-775 up to a CIM-U-LATOR.

This CIM-U-LATOR is then stuffed into a Modulox gearbox, geared for 1:3

Ether 13-02-2012 21:37

Re: Determining Motor Speed?
 
Quote:

Originally Posted by ksafin (Post 1125924)
We're using the 2011 FIRST Wheels, 8" Diameter, with a Banebots RS-775 up to a CIM-U-LATOR.

This CIM-U-LATOR is then stuffed into a Modulox gearbox, geared for 1:3

How do you get 10,000 rpm out of that?


Garret 13-02-2012 22:11

Re: Determining Motor Speed?
 
They may actually have a free speed RPM of 10000. But that would be only if the gear ratio really was the 2.7:1 in the cimulator followed by the 1:3 that he is talking about. I don't think that it will ever get that fast though.

Ether 13-02-2012 22:41

Re: Determining Motor Speed?
 
Quote:

Originally Posted by Garret (Post 1126083)
They may actually have a free speed RPM of 10000. But that would be only if the gear ratio really was the 2.7:1 in the cimulator followed by the 1:3 that he is talking about. I don't think that it will ever get that fast though.

You're not suggesting that they're gearing down 2.7:1 and then gearing back up 1:3 are you? What would be the point of that?


But suppose they were.

775-18 free speed is 13000 rpm.

13000/2.7*3 = 14444 rpm.

So if the output is 10000 rpm then the 775-18 would be spinning at 69% of its free speed. It would be pulling 28 amps and burning over a hundred watts of waste heat. (I'm assuming here that the OP meant 10000 rpm at 12 volts; maybe that's not what he meant).

In any event, the tangential speed of an 8" diameter wheel at 10000 rpm is 238 miles per hour.

jwakeman 13-02-2012 23:48

Re: Determining Motor Speed?
 
We can get our 8" shooter wheels up to 112 feet/sec (76 mph) and it is scary!!


All times are GMT -5. The time now is 01:22.

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