Go to Post I want to understand the physics. - Molten [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 12-02-2012, 15:06
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
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.

Last edited by ksafin : 12-02-2012 at 15:15.
  #2   Spotlight this post!  
Unread 12-02-2012, 15:46
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
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+)
  #3   Spotlight this post!  
Unread 12-02-2012, 16:20
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
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.
  #4   Spotlight this post!  
Unread 12-02-2012, 19:27
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: Determining Motor Speed?

Quote:
Originally Posted by ksafin View Post
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 View Post
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.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners

Last edited by slijin : 12-02-2012 at 19:31.
  #5   Spotlight this post!  
Unread 12-02-2012, 20:19
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,922
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
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.
  #6   Spotlight this post!  
Unread 12-02-2012, 21:33
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
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?
  #7   Spotlight this post!  
Unread 12-02-2012, 22:32
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,070
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: Determining Motor Speed?

Quote:
Originally Posted by ksafin View Post
Our launcher is over 10,000 RPM
What is your wheel diameter?

  #8   Spotlight this post!  
Unread 12-02-2012, 23:26
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,078
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Determining Motor Speed?

Note that the FPGA can only handle ~39000 pulses per second, or about 6500 RPM with a 360 count encoder.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #9   Spotlight this post!  
Unread 12-02-2012, 23:37
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,922
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
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.
  #10   Spotlight this post!  
Unread 13-02-2012, 00:05
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: Determining Motor Speed?

Quote:
Originally Posted by ksafin View Post
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.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #11   Spotlight this post!  
Unread 13-02-2012, 18:34
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
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
  #12   Spotlight this post!  
Unread 13-02-2012, 21:37
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,070
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: Determining Motor Speed?

Quote:
Originally Posted by ksafin View Post
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?

  #13   Spotlight this post!  
Unread 13-02-2012, 22:11
Garret's Avatar
Garret Garret is offline
Standing on the Shoulders of Giants
AKA: Garret Smalley
FRC #0691 (Hart District Robotics)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Goleta, CA (UCSB)
Posts: 203
Garret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond repute
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.
__________________
7 Years of FRC
"You students are at the top of the mountain, at the pinnacle of success, and what is it that you do?
You become the future guides to help others climb the mountain."
  #14   Spotlight this post!  
Unread 13-02-2012, 22:41
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,070
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: Determining Motor Speed?

Quote:
Originally Posted by Garret View Post
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.
  #15   Spotlight this post!  
Unread 13-02-2012, 23:48
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: Determining Motor Speed?

We can get our 8" shooter wheels up to 112 feet/sec (76 mph) and it is scary!!
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 17:59.

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