Servo Based 5 Axis Robotic Arm Project Report
Servo Based 5 Axis Robotic Arm Project Report
Servo Based 5 Axis Robotic Arm Project Report
Chapter 1
Introduction
The word robot is derived from the Czechoslovakian term robota which is generally
translated as forced labor. This means that the original conception of a robot, as far the
etymology of the word is concerned, was to be a capable servant. It was first used in the
play by the Czechoslovakian author Karel Capek entitled R.U.R. (Rossum's Universal
Robots). In the play, robots were portrayed as small, artificial and anthropomorphic
creatures strictly obeying their master's orders. From this humble conception, many
authors began getting inspirations from the concept of a robot. The most famous of all
the authors that wrote about robots is Isaac Asimov. He was the one who formulated the
four laws of robots:
1. A robot may not injure humanity, or through inaction, allow humanity to come to
harm.
2. A robot may not injure or harm a human being, or through inaction, allow a
human being to come to harm.
3. A robot must obey orders given to it by human beings, except where such orders
would conflict the 0th or 1st law.
4. A robot must protect its own existence as long as such protection does not
conflict with the previous laws. As time passed, people began formulating an
encompassing definition of a robot.
As currently defined, robots exhibit three key elements:
1. Programmability, implying computational or symbolic manipulative capabilities
that a designer can combine as desired (a robot is a computer)
2. Mechanical capability, enabling it to act on its environment rather than merely
function as a data processing or a computational device (a robot is a machine).
3. Flexibility in that it can operate using a range of programs and manipulates and
transport materials in a variety of ways.
This kind of description does not sway too far from what really most robots in the world
are doing. Most robots used nowadays are designed for heavy, repetitive manufacturing
work. They are specifically designed to handle certain tasks that are difficult, dangerous,
or to boring to human beings. Robots can do more work more efficiently than humans
can since robots are precise. They always do the same task with such precision over and
over no matter how long they have worked. Robots nowadays are becoming more and
more important in most industries of the world.
The most common of all these manufacturing robots is the robot arm. A typical robot
arm is made up of seven segments joined by six joints. Usually a servo motor is used in
order to track the movement of the robot arm. The reason for this is quite obvious since
servo motors are designed to move in exact increments unlike DC motors. With such
configurations, a computer may be able to control or manoeuvre the robot very
precisely, repeating exactly the same environment over and over again.
A robotic arm is a robotic manipulator, usually programmable, with similar functions to
a human arm. Servo motor is used for joint rotation. It has about same number of
degree of freedom as in human arm. Humans pick things up without thinking about the
steps involved. In order for a robot or a robotic arm to pick up or move something,
someone has to tell it to perform several actions in a particular order from moving
the arm, to rotating the wrist to opening and closing the hand or fingers. .So, we
can control each joint through computer interface
ROBO INDIA | www.roboindia.com
Some advanced robot arms make use of sensors like motion and pressure sensors in
order for it to detect foreign obstacles and avoid breaking or dropping what it is
carrying. Robot arm also vary with the type of end effector that they are using. The kind
of end effector that a particular robot arm is using is very much dependent on the kind
of task the robot is designed for:
1. Blowtorches for auto assembly lines robots.
2. Drills for metal application robots.
3. Spray paints for decoration oriented robots.
4. For welding purpose.
5. For pick and place applications.
1.1 Specifications
Our robotic arm is having following features and specification.
1. Degree of Freedom: 5
2. Payload Capacity(Fully Extended) : 100gm
3. Maximum Reach(Fully Extended) : 25cm
4. Rated speed(Adjustable) : 0-0.3 m/s
5. Joint speed(Adjustable) : 0-60 rpm
6. Hardware interface : USB
7. Control Software : computer interface(GUI)
8. Shoulder Base Spin : 180
9. Shoulder Pitch : 180
10. Elbow Pitch : 180
11. Wrist Pitch : 180
12. Wrist spin: 180
13. Gripper Opening(Max) : 8cm
Chapter 2
Objective
The main objectives of the project are (1) to be able to design and construct a robot arm,
and (2) to be able to control the robot arm using a computer through a keyboard and
mouse. The first object is very straightforward it requires the modern designing
capacities. The complete robotic arm was first designed and assembled in designing
software. We have used Wildfire ProEngineer to design 3D model of the robot. The
model is designed as per the actual dimensions of the robot. After designing and
assembling the robot in ProE, Drawings are exported. Our objective is to construct
physical parts of the robot and them assemble them as we assembled in the ProE. The
second objective requires a working knowledge of PC to hardware communication.
Additional hardware components aside from the robot arm like opt isolator circuits and
limit switches will be implemented in order to facilitate the safe control of the arm.
An additional objective will be to program the robot arm to do a simple task. This
option, if to be implemented with accuracy and precision, requires a more challenging
task of familiarizing the science of kinematics both forward and reverse kinematics.
However, the implementation used for the automation of this robot arm is time-based.
This means that when automating the robot arm, a program records the length of time
ROBO INDIA | www.roboindia.com
of a certain joint from moving from one position to another. This kind of automation,
however, is not very accurate or precise since it doesnt take into consideration the
actual load that the arm is carrying.
Chapter 3
Methodology
The following block diagram explains working of the system, later we shall discuss all of
the components of the diagram.
Chapter 4
Parts designing and assembly
This chapter elaborate the designing of robotic arm parts and assembling them in
Wildfire ProEngineer.
4.1 Introduction to ProE
Pro/ENGINEER Tool Design Option(TDO) is the essential 3D CAD tool for professional
designers who need to rapidly create higher quality mold inserts, casting cavities, and
patterns. Using Pro/ENGINEER Tool Design Options powerful parametric surfacing
capabilities, engineers can easily create even the most complex parting surfaces with
unprecedented ease. By automating many time-consuming, complex processes,
Pro/ENGINEER TDO enables us to focus less on tedious tasks and more on creating
innovative, top quality tool designs. Easy Interfaces for Mold and Casting
Pro/ENGINEER Tool Design Option features a variety of 3D CAD tools specifically
engineered to accelerate the design of molds and castings. With its robust functionality
and two easy-to-use process-driven GUIs one for molds and one for castings
engineers can quickly develop inserts, casting cavities and patterns, regardless of the
complexity of geometry. Since the 3D models we create in Pro/ENGINEER automatically
reference your mold and casting designs in Pro/ENGINEER TDO, any changes we make
ROBO INDIA | www.roboindia.com
are instantly reflected in our tooling and patterns, which further speeds up the product
development process.
4.1 Designing servo
46
B (mm)
40
C (mm)
41
D (mm)
20
E (mm)
55
F (mm)
29
44.2
B (mm)
40
C (mm)
41
D (mm)
20
E (mm)
55
F (mm)
29
46
B (mm)
41
C (mm)
42
D (mm)
21
E (mm)
56
F (mm)
29
10
11
12
13
14
15
16
17
18
19
20
21
Chapter 5
The parts & Interfacing
We have seen the designing and assembly of the parts in ProE. Here we will have
detailed discussion about the parts used in robotic arm.
5.1. Servo
A Servo is a small device that has an output shaft. This shaft can be positioned to specific
angular positions by sending the servo a coded signal. As long as the coded signal exists
on the input line, the servo will maintain the angular position of the shaft. As the coded
signal changes, the angular position of the shaft changes. In practice, servos are used in
radio controlled airplanes to position control surfaces like the elevators and rudders.
They are also used in radio controlled cars, puppets, and of course, robots.
22
23
24
is longer than 1.5ms, the shaft turns closer to 180 degrees. So we generate the desired
pulse with the help of microcontroller.
Black
Red
White or yellow
25
26
27
capabilities, 512 bytes EEPROM, 1K byte SRAM, 32 general purpose I/O lines, 32
general purpose working registers, a JTAG interface for Boundary scan, On-chip
Debugging support and programming, three flexible Timer/Counters with
compare modes, Internal and External Interrupts, a serial programmable USART,
a byte oriented Two-wire Serial Interface, an 8-channel, 10-bit ADC with optional
differential input stage with programmable gain (TQFP package only), a
programmable Watchdog Timer with Internal Oscillator, an SPI serial port, and
six software selectable power saving modes. The Idle mode stops the CPU while
allowing the USART, Two-wire interface, A/D Converter, SRAM, Timer/Counters,
SPI port, and interrupt system to continue functioning. The Power-down mode
saves the register contents but freezes the Oscillator, disabling all other chip
functions until the next External Interrupt or Hardware Reset. In Power-save
mode, the Asynchronous Timer continues to run, allowing the user to maintain a
timer base while the rest of the device is sleeping. The ADC Noise Reduction
mode stops the CPU and all I/O modules except Asynchronous Timer and ADC, to
minimize switching noise during ADC conversions. In Standby mode, the
crystal/resonator Oscillator is running while the rest of the device is sleeping.
This allows very fast start-up combined with low-power consumption. In
Extended Standby mode, both the main Oscillator and the Asynchronous Timer
continue to run. The device is manufactured using Atmels high density nonvolatile memory technology. The On chip ISP Flash allows the program memory
to be reprogrammed in-system through an SPI serial interface, by a conventional
non-volatile memory programmer, or by an On-chip Boot program running on
the AVR core. The boot program can use any interface to download the
application program in the Application Flash memory. Software in the Boot Flash
section will continue to run while the Application Flash section is updated,
providing true Re ad-While-Write operation. By combining an 8-bit RISC CPU
with In-System Self-Programmable Flash on a monolithic chip, the Atmel
ATmega16 is a powerful microcontroller that provides a highly-flexible and costeffective solution to many embedded control applications. The ATmega16 AVR is
supported with a full suite of program and system development tools including:
C compilers, macro assemblers, program debugger/simulators, in-circuit
emulators, and evaluation kits.
ROBO INDIA | www.roboindia.com
28
GND: Ground.
29
RESET: Reset Input. A low level on this pin for longer than the minimum
pulse length will generate a reset, even if the clock is not running.
AVCC: AVCC is the supply voltage pin for Port A and the A/D Converter. It
should be externally connected to VCC, even if the ADC is not used. If the
ADC is used, it should be connected to VCC through a low-pass filter.
AREF: AREF is the analog reference pin for the A/D Converter.
30
Serial link is used also for Infrared communication, now many devices such as laptops &
printers can communicate via inferred link.
5.3.2 Communication methods
There are two methods for serial communication, Synchronous & Asynchronous.
5.3.2.1 Synchronous serial communication:
In Synchronous serial communication the receiver must know when to read the next
bit coming from the sender, this can be achieved by sharing a clock between sender and
receiver.
In most forms of serial Synchronous communication, if there is no data available at a
given time to transmit, a fill character will be sent instead so that data is always being
transmitted. Synchronous communication is usually more efficient because only data
bits are transmitted between sender and receiver, however it will be more costly
because extra wiring and control circuits are required to share a clock signal between
the sender and receiver.
31
32
5.5 Software
The software we have got, is very easy to use. It requires the comport no. to
the robotic arm controller is attached. The complete operations of the arm
con be controlled through the drag bar or by entering value in the text box.
This software provide axis wise control.
33
Chapter 6
The Construction
Till now we have seen all of the parts, design and assembly of the robot. Now we can
construct the robotic arm as per our designs. We took out the drawings and
manufactured the parts from aluminium sheet and ACP sheet.
Then assembled these parts as we have seen in the ProE assembly. Here we are show
some pic of the assembly.
34
Fig.36 | After connecting link rod 1 and link rod 2 to the base.
Gripper is equipped with micro servo, two gears and some kinematic links. The bottom
view shows all these in gripper assembly.
35
36
Chapter 7
References
1. Atmega 16 data sheet.
2. USB to serial data sheet.
3. Futaba servo mannuals.
4. PWM Generation guide from Atmel.
37