Team 931 decided that this year’s game needed more freedom of movement via the drivetrain. We researched and purchased four AndyMark Swerve & Steer Modules http://www.andymark.com/product-p/am-3009.htm
After reading their website and calling to talk to and expert we decided to use an absolute encoder to give us better wheel tracking. So we purchased four Absolute Encoder with Cable (am-2899) http://www.andymark.com/product-p/am-2899.htm
We then realized that they didn’t come with the pinion that they needed to engage the drivetrain and thus purchased four Absolute Encoder Gear for Swerve & Steer (am-2396) http://www.andymark.com/product-p/am-2396.htm
We went along very happy for a while installing them and assuming the best. Assuming that we got the parts that would work as described. After our programming team struggled for a couple hours unable to get them to work correctly we started troubleshooting / investigating and discovered that AndyMark had made a fatal flaw in their design. They had designed for, recommended and sold 12 tooth pinion gears that were to be installed on the absolute encoder that had three pre-drilled mounting locations on their Swerve & Steer Modules. The Swerve & Steer Modules actually used a 40 tooth gear to rotate the wheel 360 degrees thus making the 12 tooth pinion functionally useless.
We needed a solution and fast. This was on Friday the 6th of February and the end of the fifth week of build season. We didn’t have time to order the correct pinion; nevermind the fact that the correct pinion with 1/4" hole and set screw did not exist on AndyMark’s website or any others that we could find.
After a night’s sleep and much debate and arguing we settled on a plan of making our own pinion. Since the pinion has no real load except to turn the tiny shaft of the sensor we didn’t need a metal gear; a plastic one would work just fine. We have both a 50 Watt CO2 Laser as well as one of the new Ekocycle 3D Printers that first gave us.
We decided to go both routes. We used AutoDesk Inventor and had it create a 40 tooth gear using the proper specs from a 40 tooth gear http://www.andymark.com/product-p/am-0178.htm from AndyMark’s website. By using the proper Diametral Pitch, Pressure Angle, Number of Teeth and Pitch Diameter we were able to replicate the gear profile quickly. Then we downloaded the CAD STP files http://files.andymark.com/CADFiles/am-3009+Swerve+%26+Steer.STEP for the Swerve & Steer Modules and used it to “borrow” the profile of the 12 tooth pinion. We created an assembly file and put the two gears together and then cut the profile of the small gear out of the large gear. We then offset (oversized) the profile of the 12 tooth pinion by 15 thousandths (.o15) so that the pinion would fit inside of the plastic part that we produced.
We struggled with creating a DXF file that we needed to cut the profile on the laser and so we proceeded with the 3D Printer. It took an hour and a half to 3D Print one of them with the printer set to make the part “almost solid”. The first try was perfect and the 12 tooth pinion fit perfect and snug into the plastic gear. We decided to do it that way so that we would not have to rely on a set screw in the plastic part to hold onto the encoder shaft.
We held the 3D printed gear onto the 12 tooth pinion by using a pin prick punch to burr the bottom of the 12 tooth gear so that the plastic gear could not slide off the metal gear. It would be held in place by the set screw at the top of the 12 tooth gear.
We then located the new encoder position by using a 1/4" transfer punch and holding the plastic gear in place while it engaged the gear from the gearbox. We did not need extreme precision we just needed it to rotate in sync with the motors.
This worked very well and we believe that the 3D Printed gears will last for the entire season. We will have some backups of them in case of failure.
I have attached photos as well as files that will help you solve this problem.
Thanks,
Charlie Blair
Mentor/Coach FRC Team 931 Perpetual Chaos
Head Coach FTC Team 288 Spare Parts
40 with 12 cutout with .015 tolerance.ipt (660 KB)
40 with 12 cutout with .015 tolerance.ipt (660 KB)