|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
How are teams mounting drivetrain encoders on WCD?
My team is experimenting with WCD this summer and we've begun discussing the various ways to go about mounting encoders. The three options we've thought of are mounting to the ouput shaft of the gearbox, mounting to one of the wheel axles, or utilizing a CIMencoder.
What have your teams used and what have you learned from it? Pros? Cons? Would you do anything differently? |
|
#2
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
YMMV The method I have heard most commonly is mounting something to the output shaft of the gearbox, using something like an SRX Mag Encoder. |
|
#3
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
|
#4
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
|
#5
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
Correct. I should clarify. The one you posted seems to be fine, though I must admit I haven't personally tested it. I hope to do so next year.
|
|
#6
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
For FRC, it probably doesn't matter, just get and encoder in there...
So for discussion purposes, what are you trying to measure? Seeing this is a drivetrain, probably distance. So if you put the encoder on the wheel axis, you are limiting your electrical accuracy, as the final distance per count, will be the largest... Say you have 100 count per rotation encoder, and 7.75" pneumatic wheel, roughly 24" circumference, 100 counts per rotation, each count equals a 1/4". So you can't position the wheel any finer than a quarter of an inch. But hey, in FRC if you can put a bot within a quarter of an inch you are typically fine. Mechanically, what is happening if you place the encoder on the wheel axis, you have eliminated any gear mesh slop, errors, backlash, so mechanically, putting the encoder here, will be the most accurate mechanically. If you move the encoder to the motor, like the cimcoder, now your distance calculation is going through a gearbox, there may be multiple stages, backlash, etc. that is generating an error between what the motor shaft is doing and what the wheel axle is doing. Say your gearbox 15:1, so the encoder distance at the motor, is now 0.24" divided by 15 or 0.016" per encoder count. Sounds more accurate, electrically, but mechanically you probably have more than 1/4" of backlash in the geartrain, (hold the motor shaft, and wiggle the wheel back and forth.) now when the programmer tells the motor to stop at 1000 encoder clicks, all of that backlash is an error in stopping. Do you have a two speed transmission? Now you programmer needs to know what are the different gear ratios, and what gear the bot is in to keep track of the distance traveled. Did you want to switch gears, during auto, now there are errors when the controls tell the gear to switch, and when the pneumatics actually switch the gears. Can you do it with a CIMcoder, yes. Will it be better than nothing, Yes... You want to make it easier on your programmer, so they only need to deal with one distance per count calculation, put the encoder on the wheel axle shaft. There is another drawback of putting the encoder on the motor, is you need to be aware of how many counts per second, your controller can handle. If you are counts are being generated quicker than you can process them, you miss counts, and all bets are off. In FRC with the roborio, this is pretty much a mute point now, but it is a design consideration in industry, and it is dependent on the controller used. So if you are using a roborio, we used a cimcoder on our shooting wheels last year, and was fine. If you are using the Talon SRX to handle the counts, we also used the 775pro and vexpro versaencoder at 1:1 and was find too.... 14,000 rpm and 4096 counts per rev... no missed counts. (engineer close enough to control as expected) |
|
#7
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
CIMcoder worked great for our shooter motor this year. We had no issues at all once we got the system mounted correctly. Don't think I would put one on a drive train gearbox. Those CIM's are usually not easy to remove if the encoder required maintenance. David |
|
#8
|
|||||
|
|||||
|
Re: How are teams mounting drivetrain encoders on WCD?
We haven't actually run the drivetrain yet so I can't vouch for how well it holds up, but the Apex offseason robot is running encoders on the front wheel axles and made a small polycarb bracket to hold it in place.
![]() ![]() |
|
#9
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
|
#10
|
|||
|
|||
|
Re: How are teams mounting drivetrain encoders on WCD?
We use the encoder attachment on the 3 cim ball shifters by vex. (http://www.vexrobotics.com/3cimballshifter.html) It makes it super easy to attach and use encoders though the gearboxs in general are quite heavy and expensive. In addition we have had some trouble with the retaining clip for the shifter shearing off. We use the entire line of WCD for our robot and have found that this is the easiest wasy to mount encoders.
|
|
#11
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
In the past with our fully custom WCD systems, Team 696 has placed encoders on the drive shafts of wheels other than the output shaft of the gearbox. It was perfectly reliable for us, with no slippage of the encoders or wandering of the encoders out of the shafts during practice, competition matches, or offseason events. I do not personally see any reason for us to change this practice in the future for such a setup.
We have often relied on US Digital S4 encoders for drivetrains and other systems, which are now replaced with the S4t as far as I understand. We have not had any experience with the S4t. One tip for encoders in shafts though: feel free to use some hot glue to aid in the interface between the encoder shaft and the shaft it is connected to. This will certainly help in keeping that encoder from slipping inside the shaft, or the encoder from becoming removed from the shaft unintentionally. |
|
#12
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
You could try this hack: https://www.chiefdelphi.com/forums/s....php?p=1569705. The only challenge is to clear the hex collar. A 3D printed housing /standoff (or just a bit of bent lexan) could work really nicely.
|
|
#13
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
From Omar, at CTR when I asked question about cimcoder and pullups. Quote:
Last edited by tr6scott : 08-20-2016 at 09:37 AM. Reason: added Omar's comments |
|
#14
|
||||
|
||||
|
Re: How are teams mounting drivetrain encoders on WCD?
2014 we used Ball shifters and used the encoder setup that comes with it.
2015 we used the AM CIMple Box and 3D printed an encoder gearbox that mounted to the 1x2 frame. It had a 3D printed gear on the hex drive axle and we pressed a 3D printed gear onto the Greyhill encoder. Worked well. 2016 we used the WCP SS gearbox (single speed with 3 motor mounts). We only used 2 CIMs so we 3D printed a mounting plate and gear so that the encoder could mount using the CIM bolt holes. Worked great. Much easier to get to and work on if needed compared to 2015. |
|
#15
|
|||
|
|||
|
Re: How are teams mounting drivetrain encoders on WCD?
We had 2 different ways of including an encoder on our drive this year. Originally with our 775pro and VP gearbox we just included the encoder stage in our VP. When we moved to a CIM/miniCIM gearbox in an effort to keep it as low profile as possible, in this case it was ~2.625in tall, we had to move the encoder away from the gearbox. We moved it to the center wheel axle.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|