Monday, August 10, 2020

Do You Want To Build a Robot

Do You Want To Build a Robot February Below is one of the robots I built for 2.007, MITs extremely popular introductory design and manufacturing class: For reference, heres the first robot I ever built, on the first day of 2.007: Before I took 2.007, I hadnt ever used a mill or lathe.  I wasnt sure what it meant to tap a hole. Heck, Id never used a power drill before.  But four months later, I was comfortable with all of these tools, thanks in large part to the awesome shop guys (particularly Bill and Tasker). I built my first gearbox and learned how to use fast fabrication methods.  And I built a pair of robots that actually did quite well in the competition! Its been a lot of fun.  Heres a rough summary of the past few months: February Its the first day of lab and Im a bit nervous. 2.007 is well known for its chaos and intensity, and its intimidating to be told that by the end of this class youll be building a Robot, capital R, and competing against your peers, many of whom have had years of FIRST robotics experience.  Suddenly youre faced with design decisions, big scary machine tools that youre not entirely comfortable turning on, part choices, and Arduinos, maybe even before you know what gears and bearings and linkages are. So what do you do?  Like any good engineer, break it up into smaller, more manageable pieces.  Our first assignment is to build a Mini Me robot that can drive around from a basic list of materials.  By the end of lab, Ive bandsawed the glorified bent piece of plastic above and stuck 2 motors + an RC receiver on it.  Its not pretty, but it drives. At the end of lab, my (awesome) lab instructor Chip reminds us to always fasten our wheels, because loose wheels have tripped up many a top competitor before.  ~~~foreshadowing alert~~~ March Early as it is, its time to start thinking about the final competition. This years robot competition is ski-themed MITSKI! The instructors have build this cool course consisting of three different hills of different grades, with flags to pull, medals to collect, and trophies to pull. Quickly it becomes apparent that the most efficient way to score points is to do laps on the extremely steep 60 degree top hill (in hindsight, I wish they had made flag pulling worth more points, as it would have led to more interesting robot mechanisms).  Its not a trivial problem to solve.  Because of the steepness of the hill, tipping is a problem.  Because of the slippery surface material, slipping is also a problem. As Richard Hammond from Top Gear tells us in a recorded video, keep your centers of gravity low and your coefficients of friction high. For several days I iterate and iterate on a design (nicknamed Spatula Bot) that tries to climb the steep hill by keeping my center of gravity extremely low.  It works, kind of; its extremely slow up the slope, far too slow to have any hope of running multiple laps during the 120 second competition period. Notice that Im making extensive use of waterjetting sheet metal to make precise, elegant parts; thanks to my friend Emma S. 16 for her help waterjetting!  Amusingly, one of the robots on the final day is named Flagrant Abuse of the Waterjet, a title that would have been accurate for my robots. Major credit goes to Josh B. 16, as he designs the first robot capable of quickly climbing the top hill, using a rail gripper.  His design ends up strongly influencing the rest of the fields hill climbers as well.  Heres a CAD of one of my early successful prototypes utilizing a ski gripper, v2 of what eventually becomes my Ascensionist robot: Around this time it also becomes apparent that controlling robots is a difficult task. The RC controllers and Playstation controllers provided by 2.007 arent terribly reliable or easy to use.  I decide early on to use my iPhone and iPad to control my robots via OSC, a wireless protocol usually used by DJs to connect to sound synthesizers.  This has the advantage of letting me avoid the bottleneck of waiting for available RC controllers later in the semester. Early April With the ski gripper, ascending the top hill is trivial.  But what about getting down? I briefly toy around with the idea of making a robot with large diameter wheels that drives equally well upside down, and build a few prototypes.  But the high speed motors Im using dont have enough torque to drive the large wheels up the top hill, and I decide to revert to a strategy of building roll bars: And this ends up being very similar to my final design; I also lower my entire chassis and use a 3D printed fixture to mount my motors.  Early on I discovered that tumbling down the top hill easily damages the delicate high speed motors Im using.  My 3D printed mounts work well, and soon after lots of people are using them for their robots as well. If theres a wrong way to do 2.007, its to approach it as a cutthroat competition, attempting to hide trade secrets and to claim ownership of ideas. As you can see from the propagation of Joshs rail gripper idea and my 3D printed motor mounts, ideas spread fast in 2.007.  Thats the way its designed: even though youre building your robot as an individual, especially for beginner builders its essential to collaborate and work with other people.  Forget about helping the competition; working together and seeing what designs work (and just as important, which designs dont work) will save loads of time and lead to better robots for everyone. Plus, these are your peers, who youll be working together with in 2.008, 2.009, and other team projects.  Dont burn your bridges by being petty and accusing people of stealing your general ideas.  This aint Apple vs. Samsung. Late April Wait, theres only 7 days until our robots are due??? Ive got my hill climbing robot mostly done, but I also want to build a robot that pulls down the multiplier.  But theres no way Ill be able to design, fabricate, and test an additional robot in 1 week.  Is there? One of the most underutilized resources in 2.007 (in my opinion) is a document called How To Build Your Everything Really Really Fast.  Its written by Charles Guan, who now teaches the electric gokart special section of 2.007 (see, it doesnt have to be a robot), and goes into lots of fast fabrication techniques. Robust robot designs generally require a lot of right angles; with traditional fabrication techniques this can involve lots of milling and drilling precise holes.  But using waterjetting and fastener techniques like t-nuts, you can save a lot of time and throw together fairly complicated robots quickly. Heres what that means for me: Im able to design, fabricate, and assemble my multiplier bot in the span of 24 hours. A task that would have seemed impossible for me at the beginning of the semester, but thanks to Tasker and Steve (the shop guys in charge of the waterjet and lasercutter) Im able to do it.  Heres the gearbox that eventually goes into the robot at the top of this page: Note the extensive use of standoffs and t-nuts.  This makes my multiplier bot extremely modular; Im able to completely disassemble and iterate my chassis and gearbox design in minutes, as opposed to hours.  Heres the final design of my 2 robots: May Competition Day My hill climber robot scores enough points to seed me 2nd in the tournament (behind the aforementioned Josh), which means that I have a guaranteed spot on the final day of competition, and get to relax and watch the preliminaries. Then competition day comes, and its totally awesome.  Besides the robots, theres this Engineering Petting Zoo showcasing cool machines from companies and students.  Among the stuff featured: Tony Stewarts NASCAR racecar, a Corvette, and electric gokarts built by the 2.007 alternate section. But the robots are the main attraction of the day, of course.  Im able to cruise through the first few rounds of competition despite my hill climber flipping over, thanks to my multiplier bot. Clockwise from top left: me controlling my hill climber via iPhone, Joshs hill climber + medal grabber bot, Danny (one of the lab instructors) and his Ski Patrol outfit, my multiplier bot in action.  Photo credits to Landon C. 17. But robustness is key, and one of my hill climbers wheels pops off in the final 8 round. I knew I should have listened to Chip and remembered to screw those wheels on.  An unfortunate time to learn that lesson, but I still have a lot of fun watching the final 4 duke it out. The final match, between Josh B. 16 and Clare Z. 16 proves to be especially exciting.  Joshs pair of autonomous robots has performed well all night and is capable of scoring well over 600 points but Clares manually controlled robot is crucially  super robust and reliable.  In a huge upset, Joshs hill climber gets stuck in a rut, meaning his multiplier bot isnt able to push the trophy, and Clare wins with a score of 312. Clare winning the gold trophy, next to Professor Sangbae Kim and Professor Amos Winter.  Photo credit to Landon C. 17. A thrilling end to the night, and a great way to cap off my favorite class at MIT so far.  I cant wait to take 2.008 and 2.009!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.