Sunday, January 18, 2015

A Robot Story (1)

We are doing pretty well with the preparation of our robots. Compared to the previous years, we have the mobile base for our first robot very early. But that is no surprise.

Indeed, we use the workshop of our school where we machine ourselves the pieces. I was trained to use a milling cutter. The machines we have are quite old and have a least 40 years. Those are not numeric, but manual, and I must say it is a pretty unusual and nice feeling to manipulate them. Of course, we have a lot of safety rules to obey, in order to prevent accidents. This year, due to all the renovations throughout the campus, the workshop must move out and settle at the other end of the campus. That means moving the very heavy equipment they have and it sounds like a real nightmare of organization. Anyway, they closed the workshop in January (a few weeks earlier than what we were initally told, bad surprise ...) so we had to have most of the job done by then. Indeed, almost every piece for our principal robot is done, and we have begun to build it. But for the second robot, we don't have anything ready. We haven't made the CATIA model yet, but we will do it soon. And since we won't be able to machine the pieces, we will probably print them with a 3D printer and have an almost-all-plastic robot. For the job it will do, it doesn't pose any problem.

So, for now, our main robot looks like this :




It is lacking a lot of its parts. In fact, it has just the necessary to be able to move. We had to improvise to make everything hold together, so yes, there is a lot of tape. We are waiting for some components to arrive, in order to continue to build the robot. But with this version, I could already make a first automatic control. We use a PID controller. Here, you can see the robot turning 90° :




I didn't tuned the odometry parameters, so the robot doesn't move in a straight line when asked to, but makes a slightly curved line. It is, for example, because we entered in the code a value for the odometry wheels, which is not exact, and the two wheels may have slightly different diameters. So while both wheels think they went over the same distance, one did in fact travel a longer path, hence the curved line. This type of uncertainties cause errors that happen every time and that we can predict, so we call them systematic errors. There a few ways to correct them, and I will explain how we do it when it will be done. But for now, I am waiting so that I will not have to tune the parameters too many times, because each time the robots changes (the global mass, the mass center ...), they have to be set again. Still, don't worry, I still have a lot of things to do, including coding the functions that will allow the robot to move its actuators. 


Wednesday, January 7, 2015

Building robots

As I mentioned, I am part of the robotics club in my engineering school, cleverly named "Supaero Robotik Club". Our goal is to participate to the Eurobot Challenge (and win, as much as possible). There is a national selection, that takes place every year in La Ferté Bernard around the end of May. If you don't know about it, you can check their website, or let me explain it to you : each team can have two robots, of specified maximum sizes, that participate in matches. Each match opposes two teams (so between two and four robots), on a 3m*2m table, and they have to perform some specified actions. The theme and the actions change every year. This year, the theme is "Robotmovies". The robots have to move plastic cups full of polystyren balls, they have to pile wood cylinder, to close some "cinema claps", to lay some "carpets" on stairs, and to climb those stairs.

We are a team of 6 student, each with our own assignment : strategy, mechanics, electronics, actuators telemetry, and automation. I am myself responsible for the last one : I have to design and set the control system of the robots. I have access to the work already done in the club and I get help from a few previous members.

As soon as the rules were public, we made a replica of the official table in our premises.


The next steps were defining our strategy, the mechanical solution for each task. Then the "mechanic" of our team had to make Catia files for the robots (although right now, we only have one …).

The biggest of last year's robot (2014), named
"Kapit"
We have a few sponsors (Akka, Thales), who financially help us and enable us to make high-functioning robots. Fortunately, we can machine the majority of the metal pieces in the workshop of our school. Right now, we have almost finished machining all the pieces for the first (and also the biggest) robot and we hope to see it move soon.

Each year, almost 200 teams meet up in La Ferté Bernard to compete. It is a great occasion to meet people with the same interests and enthusiasm for robotics. And seeing the other robots, how ingeniously they were made, how a small group of people from a not-so-well-known university has such great ideas, is infinitely inspiring.

If you're interested, you can watch some of the matches on Youtube.