Mechatronics

An acrylic robot arm for learning robotics by drilling a board

Jun 1, 20154 min read
Yellow acrylic robot arm with a drill bit at its tip, on a black base
Undergraduate thesis: Torres Cuadros, Carlos Gustavo. Diseño e implementación de un brazo robótico de bajo costo para la introducción a la robótica educativa. Universidad de los Andes, 2015.

This project designed, simulated and built an acrylic robot arm that a student can assemble from a manual, and programmed it for a concrete task: drilling a board at the coordinates the user types. The arm performs the task, with a position error between 0.5 and 1 cm, which is too much for drilling a circuit board but enough to show the complete chain of a robot, from design to inverse kinematics.

Context

Educational robotics has two costs: the equipment and reprogramming it. Commercial robots usually come prepared for one task, and changing it requires additional investment. The proposal was an arm that the institution can manufacture, whose program is open to inspection and which performs tasks similar to those of an industrial setting, such as moving an object or drilling a board.

Design

The arm has five degrees of freedom: rotating base, shoulder, forearm, wrist and the rotation of the drill. The intended workspace has a radius between 35 and 45 cm.

CAD model

Final design in Autodesk Inventor

To check the structure, the drilling force was estimated. Since no specific cutting energy data were found for acrylic or for circuit-board material, the lowest value in the table for metals was used, that of zinc alloys. With a micromotor at 3000 rpm, the calculation gives a force close to 8.8 N. Under that load, the structural analysis gives a minimum safety factor of 1.86, at the base brackets and at the shafts of the shoulder servomotors, which support the whole arm.

The dynamics were simulated in SimMechanics. Each joint was driven with a sinusoidal signal and the required torque was measured, with the arm half extended and fully extended.

Required torque

Torque at the shoulder, arm and wrist during the simulated motion

Joint Torque with the arm extended
Shoulder 15 kg·cm
Arm 3.5 kg·cm
Wrist 0.87 kg·cm

With those values, 10 kg·cm servomotors were chosen, two of them at the shoulder, where the required torque exceeds that of a single motor.

Construction

The structure is laser-cut acrylic, chosen for its balance of strength, weight and cost. The links at each level are aligned with threaded rods and nuts.

Parts

Cutting files for the structure and the base

Arm in motion

The arm in one of the positions reached from the interface

An Arduino controls the servomotors and the drill micromotor, and the whole system is powered by a 6 V battery. The thesis includes a step-by-step assembly manual with the parts list.

Program

The interface was built in MATLAB and offers two tasks. In the first, one slider per joint moves the arm. This task was mainly useful for checking the alignment of the servomotors.

In the second, the user types the height of the base and the X and Y position of the point to be drilled. The program solves the inverse kinematics geometrically: it computes the rotation of the base and then the shoulder and forearm angles that take the tip to that distance, and the wrist angle that points the bit towards the board.

Results

The test used an acrylic plate on a support about 4.5 cm high, aligned with a sheet of graph paper. With the coordinates 4, 4, 4 the arm lowered to a position close to the requested one and drilled the plate while the support was held in place.

Drilling

The arm over the plate during the test

Result

Hole in the acrylic plate

The error between the requested and the reached position was between 0.5 and 1 cm.

What is missing

The author identifies three sources of error. Calibration starts by placing all links at 90°, and that reference is hard to set exactly. The whole structure rests on the shaft of the base servomotor, which introduces play that the plastic supports reduce but do not eliminate. And the drill chuck, made on a lathe, came out off-center, so the bit traces a circle instead of spinning on its axis.

Control is open loop: the servomotors do not report their position and nothing corrects the error. Drilling a circuit board, which was the example application, was not tested. The arm was not evaluated with students either, so its teaching value is a design intention and not a result. The document does not report the final cost.

How it fits in Robiolab

This is one of the first undergraduate theses advised by the group, earlier than its focus on bioinspired robotics, and the relation is one of method. The workflow it uses, with a CAD model, dynamic simulation to size actuators, rapid fabrication and an interface that hides the kinematics, is the same one later applied to more complex mechanisms, such as the actuator selection for a goat leg. The interest in robots as a teaching tool reappears in the learning assistant.

Educational roboticsRobot armInverse kinematicsServomotorsLaser cutting