![]() |
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? |
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. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
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) |
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 |
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.
![]() ![]() |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
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.
|
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. |
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.
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
From Omar, at CTR when I asked question about cimcoder and pullups. Quote:
|
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. |
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.
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
Do other encoders generally need pull up resistors? |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
The last benefit is this mounting lets us remove and replace a belt without taking the encoder off. |
Re: How are teams mounting drivetrain encoders on WCD?
449 tends to use WCP gearboxes.
If we're using a SS gearbox, we place the encoder on the gearbox output shaft, mounted under the motors. If we're using a DS gearbox, we place the encoder on a wheel shaft. The latter can be a pain if you're using chain and need adjustability (such as w/ versablocks) to maintain tension, but there are workarounds (such as slotting the mounting holes for the encoder bracket). We used to use thick surgical tubing for the coupling, but found that this actually causes a fair amount of noise in the encoder reading (my best guess is that the torsional flex in such a coupling leads to something like a stick-slip behavior, but I have no way of actually testing this). We now use helical beam couplers instead. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
The McMaster part number is 7861K44, but don't buy the 4' length unless you want it to be shipped in a 4' long cardboard tube (not coiled up in a bag). |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
It'd also be a good opportunity to get the students to practice drilling into the end of a shaft accurately with our hobby lathe, which is something we seldom do (c.f. turning down a shaft). |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
We generally bore encoder holes for this reason. If your tailstock is reasonable concentric just boring with a 1/4" end mill is adequate. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
I don't have any pictures unfortunately, but a couple of 1712s students designed a novel mount for the Versa block system. They 3D printed a piece that interfaced with the contour of the Versa block above the 2x1 channel (including the existing mounting holes) and stick out just beyond the end of our drive axle. There was an adjustable encoder mount that was then slid into that overhung lever, allowing a structural element to hold the encoder that could also slide with the Versa block as the block moved to tension chain.
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
I feel that it's worth adding that this is possible because 254 properly tensions their chains, which means the backlash/slop between the outer wheels and directly driven wheels is minimal. If you're using WCP sliding versablocks, you should be able to tension your chain/belt well enough to make this a viable solution as well. As an aside, 254 and 971 gave a great talk at Champs 2015 which is recorded on Youtube about Motion Profiling and Control which is super helpful to understand how they get such reliable auto control. Worth looking at. TLDR; If you have a reasonable tensioning method for your chains (esp sliding bearing blocks) you should be fine putting an encoder on one of the outer wheel axles. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
I would consider a well-designed exact C-C setup to be "properly tensioned", such as 254 ran in 2015 and 2016 and 118 for the past few years as well. Some quick math also shows that a few degrees of "slop" of the wheels relative to eachother will only result in a positional error of fractions of an inch (1 degree of slop on a 4" diameter wheel is less than 0.040" linear). While you may get some "noise" in your encoder values, you should be able to tune a PID loop to be stable with that amount of error and still give extremely precise auton navigation. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
It's a good idea to push the robot back and forth a few times as you set it up, in either case, to make sure everything is running smooth and your drivetrain isn't stuck on a burr or anything like that. I've just always made sure the last push was in the direction the robot intends to travel. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
A) What do you mean by the "weighted" wheel? Do you mean the dropped wheels? B) What do you mean by preloading chain? How would this help? You said something about moving the robot forward and then back, but I don't understand how this would help. Thanks so much! |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
As for preloading, if your chains are not preloaded, as you start to drive the motors, there will be a split second where the motors will accelerate, but the wheels will stay stationary. This is because there is some slop in the gears and the chain or belt. This will then jolt the wheels when everything in the geartrain gets loaded, which can cause control issues if you want to be precise. If you preload the geartrain, which you do by moving the robot manually in the opposite direction you want to move, this jolt goes away, which allows much more controlled starts and more controlled acceleration. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
Weighted wheels would be the wheels actually contacting the ground when your robot drives in the direction it's about to go. For the vast majority of 6-wheel drop centers, this will be your back wheels due to the torquing of the wheels. For 8-wheelers, it kinda depends on your specific wheel placement whether the robot is on its center sets or back sets of wheels. As for preloading this chain, they're mostly talking about removing any slack from the side of the chain that is about to be driving the robot. This prevents much shock loading from being put on your chain runs right as you start auto or teleop. And if you consider pushing the robot to be the directional opposite of the robot driving itself, pulling the robot "pre-loads" the chains so they're ready to go when you start accelerating. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
If you're going to use direct c-c, why bother using the WCP side bearing blocks? Teams have been very successful using flanged bearings directly in 0.125" and 0.100" wall tubes. The benefits of dropping the bearing blocks are lower weight, lower cost, slightly reduced tolerance-stackup and easier/more precise machining (circular holes vs rectangular cutouts). Also, what size pulleys and wheels do you plan to use? |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
http://imgur.com/a/jkSMH <-- My thought behind using this bearing block was additional strength around the bearing to help mitigate the effect of load on the wheel axle. I vaguely remember seeing a thread on here awhile back showing a broken frame due to placing the bearing directly in the tube |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Quote:
https://www.chiefdelphi.com/media/photos/43555 This? |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Quote:
Cool, happy I could help. I just remembered it had the words "hulk" and "thumb" in the description so that's how I found it :D. |
Re: How are teams mounting drivetrain encoders on WCD?
Quote:
|
Re: How are teams mounting drivetrain encoders on WCD?
5 Attachment(s)
Quote:
Here we go |
Re: How are teams mounting drivetrain encoders on WCD?
A couple quick notes on those pictures.
The one prominanetly displayed there was actually used with a VersaBlock we had on a manipulator joint, rather than our drivetrain. We didn't intend to have that VersaBlock slide, thus why we fastened the encoder mount down to the 2x1 aluminum with the bolt you can see. One of the drivetrain encoder mounts can be seen in the background of a couple of the pictures. For the drivetrain mount, you can see the bolts that are used for the VersaBlock are also used to secure the encoder mount. The electrical tape was a pit repair since a crack developed in the piece that holds the encoder itself. Next year we'll likely beef up that piece. Unfortunately the tape obscures the design somewhat, but the idea is that the piece that holds the encoder can slide on the main mount structure in order to find your ideal fit. If you know your shaft lengths beforehand, you could make this all one print custom fitted to work with your shaft overhangs. |
Re: How are teams mounting drivetrain encoders on WCD?
I absolutely love that versablock encoder mount idea, and will probably urge 449 to steal it :P
|
| All times are GMT -5. The time now is 11:24. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi