sábado, 26 de enero de 2013

Tipp 2. fixing the grippers of your third hand



When you use use a lot your "third hand" you turn the grippers to different positions quite frequently. Thus, it is possible that the fixing of the grippers wears off. They wont support in position any part / board having a certain weight. 

To solve it, I just solder them! Grippers are made on a soldable alloy. The arm is not soldable, but if you apply the soldering iron for a while, the soldering material will flow between the two parts. Once cooled, they are fixed forever!



The motor (1)


You can take 2 ways when choosing the motor. The easy one and the not so easy.


The easy one is to use a normal servomotor configured to infinite rotation (sometimes called full rotation). A normal servomotor controls the POSITION of his axis. This means, it turns until it reach his commanded POSITION. But it is possible to modify this kind of servomotor in such a way that it turns to a certain SPEED but never reaches is command position. You can do this my "fooling" the control installed into the servo. You interrupt the position feedback. Therefore, the servo keeps turning and turning but never reaches is target position.


There are different ways on how to do this. Have a look here and here.


You can also purchase a ready made continuous servo. For example here.


Working in this way allows you to directly connect the servo to your controller. No additional electronics are needed. Less wiring and therefore less complexity. This is the way I used for my first prototype.

But there is a draw backs in this approach.

Servomotors are a combination of a DC-Motor + Electronics + Gear. The included gear has a big reduction ratio. Therefore, the original motor (high-) speed is reduced to a small one at the output. This is necessary to increase the output torque of the servo. Low speed is good at the beginning as it let's you clearly see what's happening. But very soon you will want more speed.

If you purchase a DC Gear Motor, you choose the Gear ratio. So, you can select a faster or slower motor.
Have a look here to see a selection table that shows 2 motor types with different Gear Ratios.

In motor (2) I will show you the combination DC Motor + Drive. Things will be faster there!

The Wheels


This is an important choice. There are plenty of omni-wheels available on the internet, but I recommended those ones.


The contact (yellow) material is rubber, not plastic. Therefore, these wheels don't slip on nearly any surface, even over glass or similar. The elements conform a perfect circle. This allows a nice turning. There is no "bumpy" movement due to uneven sections on the wheels.


The central axis is designed to fit LEGO elements, but there is a cylindrical cavity (9 mm diameter / 8 mm deep) that allows you an easy adaption to any possible motor axis you may need to connect.


You can purchase them here: http://www.holonomicwheel.com/index.jsp



viernes, 25 de enero de 2013

Things are moving!

Yes!
After some time, here I am back again. I received the materials, I put them all together... and this is the result:



I created an App to control it via Bluetooth. I used App Inventor to write it.( http://appinventor.mit.edu/ ) Here you can see it on working:




Give me some more time and I will explain you the parts & processs, bit to bit!

viernes, 11 de enero de 2013

Tipp1: Prepare an easy power plug

Hello:

Sometimes you need to prepare a plug to connect different battery packs to a certain connection plug. If you use an intermediate "Easy plug" with just 2 connections you may change the polarity. To avoid this risk, I prepare them using a 3 pins header / socket in this way:


If you connect the 2 sides correctly, everything works fine.

But if you connect them in the wrong way, nothing happens! Just the 0Volts are connected.


Furthermore, you can easily recognize what's the right way.

jueves, 27 de diciembre de 2012

Let`s do the Maths!

Let me tell you one thing: I'm not a mathematician. But to implement an holonomic platform, you must  understand first how it moves.

We will consider a platform with 3 wheels. In this case, 3 wheels are mounted in a circle, at 120 degrees one from the other.

Like in this one:

Moving lineally:
Let's analyze first how to move lineally. As you can see, this kind of platform can move in any direction. So, there is no front / rear part. It can move in any direction (0 to 360 degreees) from his start point. Image yourself looking forward and walking forward, but a little to the left each step.

In order to make a lineal movement, each wheel of our platform must turn at a certain speed. The sum of the 3 speed vectors will determine the direction and speed of our platform.

See what happens with a graphic:






Our requested Speed has a certain magnitude and a certain angle. (Remember polar coordinates?) In our case, we want to move at a velocity of 10, with an angle of 15º. To achieve this movement, our wheels (the thick colored vectors) must provide the indicated speeds. (6,44 for the wheel 1, 1,725 for the 2nd and 4,714 for the 3rd.) If we add those vectors together we see that they created the requested speed.

It is interesting to see that wheel 1 is moving in the opposite direction of wheels 2 and 3. Furthermore, the speed of Wheel 1 is equal to the sum of wheels 2 and 3. This is necessary to avoid momentum. If this is not accomplished, the platform will turn.

We don't need to calculate the direction of each wheel: they are mounted fix at certain degrees. So, how can we calculate the speed of each wheel?

This is the formula:
Speed_Whl(n) = 2/3 Rq_Speed cos(Rq_Angle - Whln_Angle)

Speed_Whl(n) = Speed of the Wheel n
Rq_Speed = Total Requested Speed
Rq_Angle = Requested Moving Angle
Whln_Angle = Angle of that wheel (0, 120 or 240 degrees)

In our case:
Speed Whl(1) = 2/3 . 10 . cos (15 - 0)     = 6,4395
Speed Whl(2) = 2/3 . 10 . cos (15 - 120) = -1,7255
Speed Whl(3) = 2/3 . 10 . cos (15 - 240) = -4,714

The sign will determine the turning direction of the wheel.

You can take your calculator and try the formula with the values on the graphic above or, even better, you can go one step further and simulate it!

I use Geogebra for simulating this kind of systems. You can download the program here: http://www.geogebra.org/cms/en. It's light, it's easy and yes, it's for free!

Here you can download my simulation. Just install Geogebra and then load the simulation. If you click and drag the point representing the requested speed you will see the changes in the rest of the values.

Turning:
Turning is easy. All you have to do is to apply a certain speed to all 3 Wheels, in the same direction. The platform will turn around his center point.

Mixed Movement:
It is perfectly possible to apply both types of movement at once. As a result, the platform will describe a circle with a big radius.
Zero turning & Lineal Speed  make the platform move in a line.
Zero Lineal Speed & Turning Speesd makes the platform turn around his center point.
Any other combination creates a proportional circular movement.

I went a little fast on this topic, but I hope you understand this explanation!

martes, 25 de diciembre de 2012

First Decisions



Hello again:

The first thing I  must do is to decide what type of vehicle I want to build. I would like to create something funny, but not too complex. I'm not a mechanical geek, I just like to program and to put hardware together.

So, I decided to create an holonomic platform with 3 wheels. If you don't know exactly what kind of moving platform I'm speaking about, just Google  the words "Omniwheel" or "Mecanum Wheel" and you will find thousand of examples.

I choose to use 3 wheels omni-platform for a number of reasons:
1.- There are nearly no mechanical parts. This vehicleis able to move in any direction and turn without any mechanical joint.

2.- It's funny to see it moving.

3.- 3 wheels  means 3 contact points with the ground. This is a warranty of uniform ground contact, never mind if the ground is 100% even or not. I shouldn't pay attention to wheels adjustment or leveling.

4.- 3 is the minimum amount for an omni- platform. You can use more wheels, but more wheels implies more motors, more drivers... so 3 is great for simplicity and for cost.

I will use Arduino as controller. There are tons of information in internet, gigas of examples, thousand pieces of additional hardware ready to be plugged together. It is easy to program (C like). It has an spartan interface that doesn't offer too much, but it's very easy to learn and quite efficient anyway.