![]() |
Integrating Encoder Into Gearbox
Good evening CD,
Next year my team is looking to create our own custom gearboxes. We are quite confident in our shop bot and we have made a few test gearboxes so far and everything is looking great. Now we come to the question of how to mount our encoders into our robot. We have about 10 of these encoders: http://www.usdigital.com/products/en...otary/shaft/H1 and although they are bulky we really like how they perform so we would like to keep them. In the past we have had them on our drive axles with 3d printed mounts and it never came out nicely because the mounts didnt hold up. Next year we were looking into a more robust system. One plan of attack was to lathe a 1/4 inch hole into a shaft in the gearbox and hold the encoder in place with a set screw. Here are links to two different angles. My biggest concern with this design is losing a lot of integrity in that hex shaft. I was hoping to get thoughts on whether or not this would hold up? https://drive.google.com/open?id=0B6...VFSaVFpTDRobk0 https://drive.google.com/open?id=0B6...WhZeGVUVFZESGM Thanks so much! |
Re: Integrating Encoder Into Gearbox
You are being too concerned with space in your design. Poke the shaft 3/8 - 1/2" past the gearbox plate, and put the set screw on the other side. That's what we do.
When you *turn* the hole into the shaft, finish it with a reamer. You'll get a nicer fit. Probably a .2505 reamer. For mounting, we've been bending a lexan z out of 1/32" lexan and using that to constrain the encoder torsionally. It seems to be working fine. There should be some pictures on our picasa site of how we've solved this exact problem before. |
Re: Integrating Encoder Into Gearbox
Quote:
We have used set screws in the past and it's worked fine. We used the plastic/nylon tipped ones from McMaster to avoid killing the encoder shaft. Some teams have used surgical tubing for a connection between shaft and encoder, but personally we've experienced lots of slippage both in absolute and incremental situations. That being said, it definitely helped avoid breakage due to the flexible coupling. |
Re: Integrating Encoder Into Gearbox
Quote:
You can also make a male end to your shaft rather than female, and use a shaft coupler. There are flexible shaft couplers. Unfortunately, that's a bit more pricy of a solution. |
Re: Integrating Encoder Into Gearbox
We just ream a .25 hole and use some retaining compound to permanently attach our encoders to the hex shaft. The wires were then zip tied down without any slop preventing the encoder from rotating. I'm fairly sure 254 does the same thing. Never had any issues with structural integrity.
|
Re: Integrating Encoder Into Gearbox
Aluminum flashing found in the roofing department at your local Home Depot or Lowes also works well to make the Z bracket.
|
Re: Integrating Encoder Into Gearbox
Quote:
|
Re: Integrating Encoder Into Gearbox
We have used these same encoders with Andy Mark gearboxes. While direct mounting might be o.k, there could be issues. Any Axial shaft movement or bearing eccentricity will put loads into the resolver.
We have had very good luck installing these resolvers on a 3D printed standoff bracket, and using a small section of surgical tubing to connect the resolver shaft with the 1/4 shaft on the AM gearboxes. We zip tie both sides of the surgical tube for insurance. There are multiple sizes of surgical tube. I believe we used 3/16 ID and 5/16 OD, for a very tight fit on 1/4 shafts. If you use 1/4 ID tube I could see it slipping. The resolver and standoff bracket combined would be shorter than the mounted CIM motor length, so you really don't save much space by direct mounting. |
Re: Integrating Encoder Into Gearbox
Quote:
I spent a long time tuning a PID loop for one of 254's bots, and was only able to fix the issue by securing the pot by a bracket instead of by the wires. Sure, it works most of the time, but I'm no longer willing to take most of the time as an answer. |
Re: Integrating Encoder Into Gearbox
The shaft should easily hold up to the stress, you should focus more on reducing the profile of the encoder outside the gearbox.
|
Re: Integrating Encoder Into Gearbox
Quote:
|
Re: Integrating Encoder Into Gearbox
Quote:
|
Re: Integrating Encoder Into Gearbox
Quote:
We used magnetic encoders from CTRE this year and have fallen madly in love with them. I suspect we'll continue to use them where they make sense. We liked that they are contactless. I'm hoping to create some more 3d printable housings for them though. |
Re: Integrating Encoder Into Gearbox
Quote:
We replaced the surgical tubing with 1000psi 1/4" fuel line from autozone, and was able to tune system just fine at high velocity change rates. I did not believe it that a ball bearing encoder could flex the surgical tube, but the system controls was significantly less stable than with the fuel line. |
Re: Integrating Encoder Into Gearbox
Quote:
The mechanical specs for this encoder are on the website. Please take note of the hole tolerances. CAD is one thing; student repeatable machining of center holes to a 0.0003 inch tolerance on center is quite another. |
Re: Integrating Encoder Into Gearbox
Quote:
|
Re: Integrating Encoder Into Gearbox
Quote:
It's a pretty simple operation in the lathe - just drill undersize and then ream (as suggested by Austin). The doc you linked just establishes that the encoder shafts are made 2 to 6 tenths undersize, just means that you can probably get away with a 0.2500" reamer if that's all you have on hand. You want a mount that prevents the encoder from rotating, and doesn't create any angular or parallel misalignment. The bent lexan design will allow the encoder to "float" a bit, which solves the parallel/angular problem. |
Re: Integrating Encoder Into Gearbox
There seems to be an assumption that a basic lathe comes from the factory, and continuously maintains perfect alignment between the tail stock ram axis and the spindle axis; to allow perfectly on-center holes to be drilled.
The reality is it takes a somewhat experienced machinist with a test bar and a dial indicator to adjust the tail stock to be aligned perfectly laterally and vertically. The average FRC lathe is use is likely only accurate to 0.01 inch on-center. Drilling center holes to the stated -0.0000/+0.0006 on center tolerance would be a non-trivial challenge for many FRC teams. To do it consistently you would need to use a collet holder in the spindle. |
Re: Integrating Encoder Into Gearbox
Quote:
Works adequately and allows me to use a wider range of encoders. Less picky than encoders with the encoding wheel on the assembly shaft as well. |
Re: Integrating Encoder Into Gearbox
Quote:
So the shaft diameter has a tight tolerance, but the encoder might have up to 6 thou of runout, an order of a magnitude larger than the shaft diameter tolerance. In any case - using a reamer would give you a nice clearance fit, and then use a set screw/retaining compound/whatever to hold. If your lathe is poorly setup, and doesn't drill holes on center: 1) Fix that 2) It doesn't matter - since the 1/32" piece of lexan holding the encoder will happily flex/float if the encoder has any axial/parallel misalignment. Same idea as using a helical beam coupler/flexible coupling that can deal with axial/parallel/radial misalignment. |
Re: Integrating Encoder Into Gearbox
Thank you everyone for your replies! I really like the robustness of this design in addition to to how it doesn't require much sacrifice in terms of material in the load bearing part of the shaft. I used some 1 inch leg .75 inch tall 1/16" thick Z 6061 to support it and I think this will work very well thanks again!
https://drive.google.com/open?id=0B6...VpFZ05IY0lNLUE |
Re: Integrating Encoder Into Gearbox
Many on the forum may think we are crazy, but for 2 years now we have been using the CUI AMT 10X series encoders set to max cpr. We have mounted them to Andymark, vex pro and custom gear boxes. The kit comes with every thing needed to mount them to several different shaft diameters. yes, the bottom housing is fragile if you want to disassemble the encoder. Digikey sells replacements. I was in a rush and had to replace 2. They have been rock solid.
|
Re: Integrating Encoder Into Gearbox
Quote:
|
Re: Integrating Encoder Into Gearbox
Quote:
|
Re: Integrating Encoder Into Gearbox
Quote:
|
Re: Integrating Encoder Into Gearbox
Quote:
Quote:
|
Re: Integrating Encoder Into Gearbox
Quote:
If your drilled off center; your applying a bending load into the resolver shaft every rotation with direct mounting. At 100 rpm your going to be challenging a floating mount, and getting higher loads in the resolver bearings. This is the reason many of us prefer alternate non-direct mounting. For close mounting a no contact magnetic rotation sensor would make far more sense. |
Re: Integrating Encoder Into Gearbox
Quote:
If our lathe can do it, any lathe can do it. :P Seriously though, getting stuff within 0.006" is not difficult if you check it every once in a while. Grinding the chuck jaws and using a good indicator help immensely. |
Re: Integrating Encoder Into Gearbox
Quote:
Quote:
|
Re: Integrating Encoder Into Gearbox
If you mount everything tighyly, and try to make the assembly as simple as possible it should work just fine.
Are you trying to mount the encoders inside of the gearbox or on the outside? |
Re: Integrating Encoder Into Gearbox
For an option mentioned earlier, Automation Direct has some nice shaft couplers (Product Page)
We used a couple of these on our drivetrain gearboxes and were very happy with them. Obviously our setup is a little different than your gearbox. ![]() |
Re: Integrating Encoder Into Gearbox
Quote:
Any chance you could post the CAD for it? |
Re: Integrating Encoder Into Gearbox
Quote:
A procedure to setup lathes. First you need to use a decent level (preferably a precision level) to make sure the entire bed is level. Adjust if it's not. Lubricate and adjust the Gibs on the sliding and compound rests and the saddle to remove any free play. ** Edit - Mini Mills can take a real beating machining a lot of Hex Stock. We trashed the saddle gib on our first small mill. Needed to completely take it apart to repair. Do check these. ** You will need: 1) A Dead Center with the correct Morse Taper for your Lathe. Typically MT2 for small lathes and MT3 for larger. 2) A lathe dog for (1/2?) round shaft. 3) A micrometer 4) A large piece of unhardened steel or aluminum bar the same size as your lathe dog. Procedure: 1)Cut off 5 inch piece of bar and set aside. 2) Cut a Piece of bar that will fit easily between centers. Face Each side and Center Drill & Counter Bore. 3) Install the dead Center in the tail stock. 4) Take the 5 inch section of bar and clamp in your 3 Jaw. Move the adjustable rest and tooling so as to make a 60 degree point at the end of this bar. Don't remove it. 5) Install the lathe dog on the large bar, and install the bar between the two centers by moving the tail stock in. 6) Machine at least .01 off the OD of the bar for the entire length. 7) If the Diameter of the Bar is wider at the tail stock than the spindle, adjust the tailstock 1/2 the difference toward the tool post. If it's narrower adjust the tail stock away from the tool post. 8) Repeat the machining the diameter and adjusted the tail stock steps, until the error is acceptable. You can adjust the cutting tool quite high, and use the similar method to adjust the tailstock height if adjustable. |
Re: Integrating Encoder Into Gearbox
Quote:
CAD file: Link |
Re: Integrating Encoder Into Gearbox
1 Attachment(s)
Similar to the lexan Z mounts, we have seen success in the past with small aluminum mounts (these fit really nicely in the lightening holes of other parts that are cut on a water jet, which makes for efficient layouts). These can then be secured to the frame with a rubber mount which can be purchased from McMaster here.
As for the shaft of the encoder we simply drill the appropriate hole in the shaft (haven't always reamed the hole) and secure it with some loctite 680 (which has a diametrical clearance max of 0.015" so your hole doesn't need to be all that precise). Takes a heat gun to remove it, but luckily none of the defenses this year involved a heat gun, so the encoders stayed put. We made this our standard method of mounting encoders and potentiometers in 2015. The rubber mounts allow for some give, allowing some misalignment, but are quite rigid which I would imagine eliminates the issues seen with latex tubing used as a coupler. ~DK Attachment 20803 |
| All times are GMT -5. The time now is 05:32. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi