Decimus the wall follower

IMG_2667 We often tell beginners that they can learn a lot by building a non-contact wall following micromouse. If it can keep track of where it is and knows when it is in the centre of the maze, most of the hard problems have been solved. To get to that stage, you need working sensors, reliable motor control and good information about the maze and the mouse’s position in the maze…

(more…)

Continue ReadingDecimus the wall follower

Decimus speed feed forward

As set up for the last post, my micromouse Decimus is performing reasonably well on the ground. So far. The data plots show some features that are a little bit curious. However, my concerns over the apparent error in the endpoint were a little misleading. The recorded error is derived from the integral of the set speed and the total count from the wheel encoders. Thus, it does not represent an actual error on the ground…

(more…)

Continue ReadingDecimus speed feed forward

Decimus data – 2

With new tyres and a tweak to the acceleration profilers it is time to grab some data from Decimus again. The tyre seem to give me reliable grip up to 4m/s/s. They will probably manage more but I seem to have other control issues then. In any case, a dusty maze will soon put paid to that. For this trial, the mouse was commanded to move forward 4 squares with no limit on its top speed…

(more…)

Continue ReadingDecimus data – 2

More new tyres

The Pit Shimizu tyres arrived today.  I had to order them from Hong King and they took a week or so to arrive. These are  PS-0300 according to the label and have 15° Shore hardness. This is a bit harder than the PN racing set that came the other day…

Continue ReadingMore new tyres

Sensor alignment

IMG_2514 For consistent results, the sensors on a micromouse need to be carefully aligned and then fixed in place. In a perfect world, the emitters would all have the same radiation pattern and would generate the same amount of illumination for a given current. Well, that is never going to happen without hand-picking the devices. That would take a long time so we make do with what we have and work around their limitations. Similarly, the detectors have variations to cope with as well. The first step is to get the emitters lined up and pointing where they should…

(more…)

Continue ReadingSensor alignment

Tyre stretcher

IMG_2510 These new soft tyres are so soft that it is difficult to get them onto the wheels without stretching them way out of shape. No matter how hard I try, they still run unevenly. Some of that is due to the tyre itself but mostly it is just a question of trying to spread the tyre evenly. After several attempts, I gave up and decided to make a small tool to help me with the job…

(more…)

Continue ReadingTyre stretcher

New tyres

IMG_2506 That was quick. One of the new sets of tyres just arrived. They are the PN racing 8 degree slicks. I ordered them 3 days ago from Kenon Hobby in the US. These tyres certainly are soft and sticky so I put a pair straight on the test rig and compared them to the tyres I have now. They seem to have about 20% more grip than the current ones. This was encouraging so I mounted them on the micromouse. That is when the first little issue came up…

(more…)

Continue ReadingNew tyres

Encoder/Motor trouble

This micromouse thing is a bit tricky. I have not been happy with the accuracy of the results I have been getting with Decimus. Occasionally, a move is significantly shorter, or longer than intended. Looking at the code does not help – either the code is fine or I just follow the same thought process leading to the same errors every time I look. There is, however, something odd about the encoders.

(more…)

Continue ReadingEncoder/Motor trouble

Tyres and traction

IMG_2504-1 It is true, I am losing my grip. A while ago I posted a link to a Japanese site demonstrating the grip available from a particular micromouse. A common way of doing this is to lock the wheels and place the mouse on a tilting surface. As the slope of the surface is increased, the downforce available to the tyres is progressively reduced until the mouse slips. Part of the downforce is lost due to the angle alone and is proportional to the tangent of the slope.

(more…)

Continue ReadingTyres and traction

Decimus performance graphs

Time to do some tuning of the motion control parameters in Decimus. First I wanted to get some idea of how it is behaving with the initial settings. I have added a simple flight recorder function. A 4 kB buffer can hold up to 2000 integers. These are placed in the buffer on every timer tick. Thus I can record one second of two integers. this isn’t much but it is all I have available on the processor. Any future mouse will have to have a bigger data buffer.

(more…)

Continue ReadingDecimus performance graphs