Professional Documents
Culture Documents
Robotic Arm Final Project
Robotic Arm Final Project
Submitted By
Supervisor
First and foremost, we would like to dedicate our thanks to Allah the merciful and great for giving us the
wisdom that helped us doing this project, our thanks extend to our families for supporting us throughout our
university time, last and most important we thank Dr. Abdul Wahab Ibrahim Alhami for his guidance and
help throw-out the project process. We also would like to express our greatest gratitude to the academic
committee of electrical engineering department.
ii
ABSTRACT
Today, technology is developing in the same direction in line with rapidly increasing of human
needs. The work done to meet these needs makes life easier every day, and these studies are
concentrated in robotics studies. Actually in recent year’s scientists use the word "Robot" to mean
any man-made machine that can perform work or other action normally performed by humans,
accuracy of work and doing thing that people can’t do in addition robot can work in dangerous
regions that human can’t work in it because of all these reason robot became one of the most popular
thing that scientists still persevere to make it better by finding new controllers and designs that make
robot more efficient and more reliable and in our project we have built a robot arm with 5 DOF
(degree of freedom). In fact there are several methods were implemented to make a 5-DOF
manipulator capable of performing pick-and-place operations. but the problem is that all the
controller is relentless that mean if we need to change the program of the arm we have to reboot and
write or designs another one and upload it to arm robot this way apparently is not efficient, on
balance we choose a different and unconventional method to control the robot arm by using image
i
الملخص
تمحورت الدراسة الحالية حول تصميم و برمجة الذراع األلية و التصميم الذراع يضمن حركة الذراع بكل حرية في محاور الستة
لكي يعمل بسالسة و تنفذ العمليات و المهام البسيطة بشكل دقيق .يعمل علي ذلك بفضل المحركات السيرفو التي تقوم بعملية
ربط األذرع لتأدية العمل بشكل ممتاز و يكون المتحكم هو الذي يقوم بتحريك المحركات السيرفو لكي يعمل علي عدة وضعيات
مختلفة
ضا للكشف
تتم عملية برمجة الذراع بواسطة متحكم ATMEGA-328Pباستخدام برمجة .Arduinoتُستخدم مقاييس الجهد أي ً
عن زاوية الدوران واإلشارات المرسلة إلى وحدة التحكم .يمكن التحكم في الذراع اآللية بواسطة أزرار تسجل وتخزن كل حركة
تقوم بها الذراع .في عالم اليوم تم العثور على هذه الذراع تعود بالنفع العام .هذه األنواع من األسلحة ممتازة في تنوع تطبيقاتها
المتاحة في عدة مجاالت أخرى.
TABLE OF CONTENTS
ACKNOWLEDGEMENTS i
ii
ABSTRACT.........................................................................................................................................................ii
TABLE OF CONTENTS.....................................................................................................................................v
LIST OF FIGURES.............................................................................................................................................vi
LIST OF ABBREVIATIONS...........................................................................................................................viii
CHAPTER 1.........................................................................................................................................................1
INTRODUCTION................................................................................................................................................1
1.1 Introduction to Robotic Control Systems.....................................................................................................2
1.2 Definitions......................................................................................................................................................2
1.4 Objectives of the Research........................................................................................................................4
1.6 Expected results..............................................................................................................................................5
1.7 Project requirements.......................................................................................................................................5
1.8 Organization in this project............................................................................................................................5
Chapter 2: Robotic Arms......................................................................................................................................5
Chapter 3: Modern Control Systems....................................................................................................................5
Chapter 4: Project assembly.................................................................................................................................6
Chapter 5: Results, Conclusion and Future work.................................................................................................6
References............................................................................................................................................................6
CHAPTER 2.........................................................................................................................................................7
Robotic Arms........................................................................................................................................................7
2.1 Background.....................................................................................................................................................8
2.2 State of Art.....................................................................................................................................................9
2.2.1 The growth and evolution of the robotic arm............................................................................................11
2.2.2 from automata to the Industrial Revolution...............................................................................................15
2.1.4 Robots of the World’s Fair........................................................................................................................17
2.2 Early modern robots and robotic arms.........................................................................................................18
2.1.4.2 Speed Governor......................................................................................................................................18
2.3 The robotic arm and work principle.............................................................................................................20
2.3.1 Shoulder joint............................................................................................................................................20
2.3.2 Elbow joint................................................................................................................................................21
2.3.3 Wrist joint..................................................................................................................................................21
2.3.4 Hand..........................................................................................................................................................21
2.4 Process of study............................................................................................................................................22
2.5 Process Methodology...................................................................................................................................22
iii
2.6 Advantages and Disadvantages of robotic arm............................................................................................23
Chapter 3 Software Hardware............................................................................................................................24
3.1 Design of Robotic Arm................................................................................................................................25
3.2 Servo Motor..................................................................................................................................................26
3.2.1 Theory of DC Servo Motor.......................................................................................................................28
3.2.2 DC Servo Motor Theory............................................................................................................................29
3.2.3 Armature Controlled DC Servo Motor Theory.........................................................................................31
3.2.4 Permanent Magnet DC Servo Motor.........................................................................................................32
3.3 Deriving State Equations for a DC Servo Motor..........................................................................................32
3.3.1System Model 32
3.3.2 Developing the State Equations 33
3.4 Potentiometer................................................................................................................................................34
3.5 Five degrees of freedom...............................................................................................................................40
3.6 MINI-360 Step down converter....................................................................................................................41
3.6.1 Features 41
3.6.2 Additional information 41
3.7 DESIGN IMPLEMENTATION...................................................................................................................45
LIST OF FIGURES
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..1 prototype of the old robotic arm............11
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..2 de Vaucanson’s flute player, details of the
finger mechanism are included............................................................................................................................................................. 16
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..3 Jaquet-Droz’s 1774 lady musician,
reproduced with permission................................................................................................................................................................. 16
iv
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..4 von Kempelen’s Turk, chess player with
illustrated left arm mechanisms............................................................................................................................................................ 17
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..5 Nicola Tesla’s 1898 remote controlled
robotic vessel....................................................................................................................................................................................... 18
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..6 Early modern robotic arms: left, the
Pollard painting arm; right, Unimate....................................................................................................................................................19
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..7 From left to right, Rancho Arm, 1963;
Minsky’s Tentacle Arm, 1968; the Stanford Arm, 1969; Silver Arm, 1974.........................................................................................20
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..8 Degrees-of-freedom in the robotic arm
and the musculoskeletal system of the human equivalent.....................................................................................................................20
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..9 process block of SCARA arm robot.......22
Figure 10 process methodology........................................................................................................................................................... 22
Figure 11 shows the image of a servo motor........................................................................................................................................26
Figure 12 DC servo motor.................................................................................................................................................................... 26
Figure 13 Big Servo Motor.................................................................................................................................................................. 27
Figure 14 G9 Servo Motor.................................................................................................................................................................. 28
Figure 15 Block diagram of a Servo motor..........................................................................................................................................28
Figure 16 Separately Excited DC Servo Motor....................................................................................................................................29
Figure 17 Field controlled DC servo motor.........................................................................................................................................30
Figure 18 knee point of magnetizing saturation curve.........................................................................................................................30
Figure 19 knee point of magnetizing saturation..................................................................................................................................32
Figure 20 The terms Ra and La are the resistance................................................................................................................................33
Figure 21 Simulation Diagram for The DC Servo Motor.....................................................................................................................34
Figure 13 Potentiometer description.....................................................................................................................................................35
Figure 14 Potentiometer Circuit Diagram...........................................................................................................................................35
Figure 15 Arduino UNO...................................................................................................................................................................... 36
Figure 16 Arduino Uno microcontroller board (back view).................................................................................................................37
Figure 17 Arduino Power Supply......................................................................................................................................................... 38
Figure 18 ATmega328P – Memory......................................................................................................................................................38
Figure 19 Interface Arduino Uno Program...........................................................................................................................................39
Figure 16 Five degrees of freedom....................................................................................................................................................... 40
Figure 17 Robot Arm........................................................................................................................................................................... 41
Figure 31 step-down converter............................................................................................................................................................. 42
Figure 32 step down converter circuit diagram....................................................................................................................................42
Figure 33 efficency vs current.............................................................................................................................................................. 43
Figure 34 voltage vs current................................................................................................................................................................. 43
Figure 35 Efficency vs current............................................................................................................................................................. 44
Figure 36 Voltage Vs current............................................................................................................................................................... 44
Figure 37 Circuit Description............................................................................................................................................................... 45
Figure 38 Robotic Arm Design........................................................................................................................................................... 45
Figure 39 shoulder............................................................................................................................................................................... 46
Figure 40 Elbow................................................................................................................................................................................... 46
Figure 41 Wrist.................................................................................................................................................................................... 47
Figure 42 claw..................................................................................................................................................................................... 47
Figure 43 Potentiometer Controller...................................................................................................................................................... 48
v
LIST OF ABBREVIATIONS
ABBREVIATIONS
CPU Central processing unit
SM Signal modules
CP Communication processor
NO Normally open
NC Normally close
HMI Human machine interface
RTUs Remote terminal units
MPI z Multi point interface
I In put
Q Out put
PB Push Button
AC Alternating current
DC Direct Current
PC personal computer
AI Analog Input
AO Analog output
DI Digital Input
DO Digital output
I/O Input/output
PS Power Supply
vi
CHAPTER 1
INTRODUCTION
1
1.1 Introduction to Robotic Control Systems
1.2 Definitions
The state:
Outputs produced by a robotic system are called states. Usually it is denoted by x, and the
state depends on its previous state, the stimulus (signal) applied to the actuator, and the
physical properties of the environment. A state can be any pose, velocity, velocity,
angular velocity, force, etc.
Estimate
Robots cannot determine the exact x-state, but they can estimate it using sensors
attached to them. These estimates are denoted by y. It is the responsibility of the robotics
engineer to choose sensors that are good enough or calibrate them well so that they can
produce y~x.
2
Reference
The target state we want to reach, denoted by r.
Error
The difference between the baseline and the estimate is called error.
Control Signal
The stimulus produced/output by the controller is called the control signal, denoted by
u. Dynamic - It is also known as the factory/system model of the system and it dictates
how the system behaves under non-static conditions.
Dynamics
Are affected by the environment, which may change or not always be linear.For
example, floor type (concrete/wood), air resistance, slope, etc. It is always the main
responsibility of the engineer to build a controller that reacts and outputs a control
signal u such as e~0 & x~r
This research aim to implement the movement of objects based on their location which
has been collected in following objectives:
1. Attempting to localize modern robotics technology in many life applications in
Libya.
2. Design a robotic automatic intelligent approach SCARA arm with recorded options
system,
Nowadays, robotic arms are being used in several applications to minimize human errors
and increase the efficiency, productivity, precision of operations. In addition, A robotic
arm is a machine similar to a human hand; it consists of links attached in series or
parallel. It can be controlled by programming it to perform a specific task.
One of the most important advantages of introducing a robotic arm in many uses is that it
can work in crucial conditions like high temperatures, pressures where it’s risky for
humans to work. Since a manipulator comes under Flexible Automation, it can be
updated and modified easily. There are several types of robotic arms
4
Cylindrical – assembly operations, handling machine tools, spot welding,
and die-casting.
Design and implementation of a low-cost system with the simplest concepts to implement
sorting effectively, saving time and labor.
5
Chapter 4: Project assembly
To Construct the Structure of the arm the researcher going to connect many complex
electronic devices. In this implementation, Such as variable resistances, servomotor,
Arduino UNO, Power Supply, Push Buttons, led lamps.
In addition, we are going to discuss all of these electronic components and their behavior
in this chapter.
References
6
CHAPTER 2
Robotic Arms
7
2.1 Background
An automated arm is a sort of mechanical arm, typically programmable, with
comparative capabilities to a human arm; the arm might be the entirety of the component
or might be important for a more intricate robot. The connections of such a controller are
associated by joints permitting either rotational movement (like in an enunciated robot) or
translational (straight) displacement the connections of the controller can be considered
to shape a kinematic chain. The end of the kinematic chain of the controller is known as
the end effectors and it is similar to the human hand. Be that as it may, the expression
"mechanical hand" as an equivalent word of the automated arm is frequently prohibited.
A robot controller is the component of a robot that is responsible for the control and
manipulation of the robot's end effectors. A robot controller can be used with either a
mechanical or an electrical end effectors. Mechanical end effectors include grippers,
force sensors and motors.
The end effectors of an automated arm can be anything from a simple gripper to a
complex robotic hand that allows the controller to perform fine motor skills. The type of
end effectors used will depend on the task being performed by the robot and what
materials are being manipulated.
8
Fig. 2.1 Robotic arm
However FPGA is a suitable solution in this issue because it has the ability of the
synchronous parallel processing and the high-speed operation. Firstly, the
forward/inverse kinematics for SCARA robot is derived in this paper.[1]
Zhihao Feng and all [2019].SCARA robot has the advantage of high flexibility, high
Horizontal surface flexibility and good rigidity of lead Hammer. It is very suitable for
sorting, packaging and so on.
9
thanh-trung nguyen and all [2020] in this research, the differntial evolution (de)and
particle swarm optimization (PSO) Algorithms as well as the proposed DE and PSO (pro
de and pro pso) Algorithms with searching space improvements were applied to solve the
inverse kinematic (ik) problem of 5 degree of freedoms (DOF) SCARA robot [3]
Mohammed Almesai [2022], today, technology is moving in the same direction based on
the rapid growth of human needs. The work done to meet these needs to make everyday
life easier has focused on research in robotics. In fact, in recent years, scientists have
been using the word "robot" to refer to any man-made machine that can automatically or
remotely perform jobs or other actions that humans normally perform, because robots are
ubiquitous machines because of their work. Precision and doing things humans can't,
robots can work in dangerous areas where humans can't, and for these reasons, and robots
have become one of the favorite things for scientists. Persistently improving it by finding
new controllers and designs to make the robot more efficient and reliable, in our project
we built a robotic arm with 5 DOF (Degrees of Freedom)
In the nearly 100 years since Czech playwright Karel Čapek borrowed the phrase “robot”
from his brother Josef and introduced it to the lexicon, the relationship between man and
machine has become endlessly complex and world-defining. And robotic limbs in are a
particularly great example of this. Most of our modern innovations have been shaped by
the fact that, nearly 60 years ago, someone figured out a way to program a machine to
function like an arm—redefining the role of industry in the process. With tonight’s
Tedium, we’re going to go out on a limb here and tell you all about this fundamental
device. We’re getting bendy up in this joint.
“So far, our application of universal transfer devices has been rather smooth. It does
present a training requirement, the need for new skills because there will be a great force
of technical specialists to operate and maintain the machines. We’ve moved slowly in this
area.”
10
workforce by avoiding the phrase entirely, using instead the double-speakian term
“universal transfer devices.” By the time Guy was using the term, the world had
coalesced around calling automations industrial machines “robots.” But while cryptic,
variations of the phrase could be found in the original patent for the robotic arm.
Figure Error! Use the Home tab to apply 0 to the text that you want to appear
here..1 prototype of the old robotic arm
A Unimate device, used the Automated Manufacturing Research Facility at the National
Institute of Standards and Technology.
11
robotic arms both locally and at a distance. The robotic arm is the end-effector of robotic
systems and currently is the hallmark feature of the da Vinci Surgical System making its
entrance into surgical application. But, despite the potential advantages of this computer-
controlled master–slave system, robotic arms have definite limitations. Ongoing work in
robotics has many potential solutions to the drawbacks of current robotic surgical
systems.
Like the growth of Apple two decades later, the birth of the industrial robotics needed
two men to succeed. And both were, at first, hesitant to call the thing a robot. George
Devol was the man who invented the robotic arm and whose name is on the patent that
was filed for in 1954 and granted in 1961. But it was Joseph Engelberger, the man who
cofounded the company Unimation, who sold that invention, the Unimate, to the
industrial world.
12
Although surgical robotics is in its infancy, the rapid proliferation of surgical systems
attests to the fact that this technology is here to stay and that we urologists should brace
ourselves for the next wave of technology that will yet again change the way we work
[2]. Many in practice are rather startled by the rapid insurgence of this sophisticated
technology into the armamentarium of clinical practice. Many are overawed by the
sophistication of the equipment that underlies the computer-enhanced technology that
lurks “under the hood” of the da Vinci Surgical System (Intuitive Surgical, Sunnyvale,
CA, USA). Yet one finds such suppositions are unfounded if one simply looks back on
the steady progress leading to our current situation.
13
This is a historical overview of the history of the prime robotic surgical end-effector, the
robotic arm. It is hoped that such an overview will better prepare the urologist to
appreciate the pedigree of the sophisticated apparatus we are currently using and,
potentially, anticipate the modifications and evolution this technology has for every
aspect of urologic surgical practice. History is fascinating in that insights and trends can
be used to emphasize ongoing basic research efforts and develop an enlightened opinion
of the overall meaning of this technology to us as urologists.
The approach in this historical review will be a bit different from that in other published
accounts of robotic technology that is increasingly proliferating [3]. The robotic arm will
be the sole topic of this investigation and will be dissected rather like the human arm.
Some context will be added for literary interest but the focus will be on a sequential
timeline of development and how we arrived at a piano-wire based, seven degrees-of-
freedom surgical system for urology that is now sweeping across the United States. The
attempt is to thoroughly paint a scenario of human aspiration to achieve an augmented,
human-like effector that would provide all of the advantages of mechanization and
eliminate all of the potential disadvantages of the human actuator. Historical attempts
before modern electrical systems will be investigated first. The joints of mechanical
systems anthropomorphically reflect the human arm. The shoulder joint of modern
mechanical arms will be addressed next. The elbow joint followed by the wrist will then
be evaluated. Finally, the hand will be explored in all of the iterations to the present,
which in some ways is the bridge from the past to present day surgical systems.
Where will all of this technology end you might ask? This technology, although in its
infancy, has a historical legacy that is almost as intriguing as the software and hardware
that now underlies these technological wonders. At the conclusion of this article, “cutting
edge” basic research that is merging digital technology and robotics with neuroscience
and cognitive research in what is often referred to as brain–machine interface systems
will be presented. These fusion areas were the ultimate goals of those who began, so long
ago, to dream of mechanical systems that would aid and relieve the ardors of labor and
augment human performance. Nowhere in medicine is this more necessary than in
14
surgery, where a deftly executed, minimally invasive procedure can alleviate so much
pain and suffering [4]. When all is said and done, a well crafted tale can infuse a better
understanding of the potential of these enabling technologies than a scientific review of
the same. As the saying goes, “Chronology is the last refuge of the feeble minded and the
only resort for historians.”
15
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..2 de Vaucanson’s flute player,
details of the finger mechanism are included
Others followed in Vaucanson’s wake. Most significant were the Swiss clock-making
family named Jaquet-Droz. In 1774, the father, Pierre, with his son Henri-Louis, began to
execute three life-sized automata with particular emphasis on their human-like
capabilities. It is likely that the village surgeon helped with the development of the arms
and hands of these androids. These craftsmen made every attempt to simulate a real
human’s anatomy. They created an artist, a writer, and a musician. The musician played a
clavichord by applying pressure to the keys with her fingertips (Fig. 3).
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..3 Jaquet-Droz’s 1774 lady
musician, reproduced with permission
The final automaton of interest in this series is Wolfgang von Kempelen’s chess player,
often called the Turk [13]. It was constructed in 1769 for the Empress Maria Therese.
The Turk was an elaborate hoax with a human operator concealed inside the complex
cabinetry underneath the chessboard. The automaton though, had an ingenious system of
mechanisms that automated the chess player’s left arm and hand. The chess player was a
carved-wood figure that sat behind a wooden chest dressed in Turkish garb. The head
16
moved on his neck, the eyes moved in their sockets, but the left arm and hand were
magnificently orchestrated. The Turk engendered a wide variety of writings about the
possibility of animating human reason and human activities. The mechanics of the arm
were controlled by the “director”, the name given by those who knew that the games
were human-controlled. Kempelen had designed a pantograph, a device that enabled the
director to steer the automaton’s left arm from inside of the chest (Fig. 4). The limb
would first be raised, then the hand would center over the desired chess piece to be
moved. The arm would lower towards the piece and a collar would be turned to allow the
end of a lever in his hand make the Turk’s fingers grasp the chess piece. The automaton’s
fingers were wooden and during a match, the hand was placed inside a glove so it could
grasp the chess pieces with more agility. Each finger had its own series of cables
connected to the director’s pantograph.
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..4 von Kempelen’s Turk, chess
player with illustrated left arm mechanisms
17
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..5 Nicola Tesla’s 1898 remote
controlled robotic vessel
Now, with the advent of electronics and the incorporation of solid-state transistors instead
of vacuum tubes, the evolution of the microcircuit and more rapid computer systems, the
stage was set for early modern robotic arm evolution. The first “position controlling
apparatus” was patented in 1938 by Willard Pollard (Fig. 8). This was a spray finishing
robotic arm that had five degrees-of-freedom and an electrical control system. Although
Pollard [17] never built his arm, his design and interest in an industrial application for
automated robotic arms would spur on the ingenuity of others. Harold A. Roselund [18],
working for De Vilbiss, developed another sprayer that was indeed manufactured. Both
arms were very sophisticated for their time, and each solved movement at the respective
joints in unique ways; the electronic controller systems lacked the fidelity required to
make them broadly utilizable, however. The modern era of robotics was launched by the
intrepid use of these two, little known arms developed in the late 1930s.
The speed governor has the full control over the elevator’s speed. So if there is a problem
with the elevator that makes it move too fast, the first mechanism inside the speed
governor trips one or more of the braking system.
18
Moreover, it can cut off the power from the lift motor. If this fails in making the elevators
slow down, the other mechanism will allow the arms inside the governor to fly up even
further to stop the elevator from moving [9].
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..6 Early modern robotic arms:
left, the Pollard painting arm; right, Unimate
Unimate introduced its first robotic arm in 1962 (Fig. 8) [19]. The arm was invented by
George Devol and marketed by Joseph Engelberger. The first industrial arm was installed
at the General Motors plant in Ternstedt, New Jersey, for automated diecasting.
Ultimately, approximately 8,500 units were sold. Industrial robots graduated from the
laboratory to the factory [20]. It is interesting that in this process the robotic arm’s
movements and the degrees-of-freedom incorporated nautical terms for robotics—pitch,
yaw, and roll.
Engelberger developed the first robotics company, called Unimation (from Devol’s
Universal Automation robot), to sell their two-ton robotic arm, the Unimate. Unimation
eventually sold 8,500 Unimates. Kawasaki bought the license to manufacture industrial
robot arms from Unimation in 1966. Competition came quickly, the Cincinnati-based
Milacron appeared, and by 1963 AMF Hermatool brought out their commercially
available Versatran industrial robot which Japan imported in 1967. A whole host of
academic centers became interested in the applications of microelectronics and the
potential for these robotic arms (Fig. 9). A Stanford Research Institute investigator,
Victor Scheinman, began working on electrically powered articulated arms that could
move through six axes, which he called the Stanford arm. More complex tasks could now
be given to the robotic arms. Marvin Minsky, then from MIT, built a robotic arm for the
office of Naval Research, for possible underwater exploration. Twelve single-degree-of-
freedom joints were used to actuate this electro-hydraulic high-dexterity arm. Scheinman
continued his work on robotic arms and, with backing from General Motors, Unimation
developed Scheinman’s technology into a Programmable Universal Machine for
Assembly (PUMA).
19
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..7 From left to right, Rancho Arm,
1963; Minsky’s Tentacle Arm, 1968; the Stanford Arm, 1969; Silver Arm, 1974
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..8 Degrees-of-freedom in the
robotic arm and the musculoskeletal system of the human equivalent
20
2.3.2 Elbow joint
The elbow joint provides extension, retraction, reach-around, and angular reorientation of
the wrist and hand. Classically, the elbow provides 150° of pitch. Many types of
mechanical elbow joint have been used in robotic arm manufacture. These include
telescoping, revolute (subdivided by drive-train), intermediate, remote, and direct. Of
these mechanical types, the revolute is most similar to the human arm. The telescoping
was an early type of robotic arm joint, it deviates much from the human anatomic concept
and applications have been limited.
2.3.4 Hand
The hand is a "separated" end-effector of the mechanical arm that characterizes the
reason and the limit of the arm. The hand is a performing multiple tasks instrument fit for
different capabilities, for instance getting a handle on, controlling, and pushing. A
mechanical hand has numerous control issues, both engine and tactile discernment.
Numerous colleges are at present examining this point, more so than in industry.
21
2.4 Process of study
Figure Error! Use the Home tab to apply 0 to the text that you want to appear here..9 process block of SCARA arm
robot
22
2.6 Advantages and Disadvantages of robotic arm
Advantages
1. Increase productivity
2. Use equipment effectively
3. Reduce working costs
4. Flexibility at work
5. Get the job done in the shortest time
6. Provide good returns on investment
7. Better accuracy in performance
8. Ability to work in risky ways and make it more safe
Disadvantages
1. Cause unemployment for manual workers
2. High initial cost
3. designed Arm to perform specific tasks and not comparable to the human
hand
4. Difficulty programmed to perform Accurate tasks
5. Needed a large number of sensors and high accuracy to perform the
Complex tasks
6. And other technical problems, "especially in the fields of artificial
intelligence and Machine vision" .
7. When the Robotic arm break down the production line will go off in the
factories.
23
Chapter 3 Software Hardware
24
3.1 Design of Robotic Arm
The Robotic Arm is built using a Microcontroller, specifically an ATMEGA328p
Microcontroller programmed with Arduino. This method is based on the interfacing of
servos and potentiometers. The Arduino board is used to do this assignment.
Potentiometers are very significant. Potentiometers are built into the remote, and servos
are coupled to the body of the robotic arm. The potentiometer is responsible for
converting mechanical motion into electrical motion. As a result, when the remote is
moved, the potentiometers generate electrical pulses that are sent to the Arduino board.
After that, the board analyses the potentiometer signals and eventually encodes them into
the necessary digital pulses, which are subsequently transmitted to the servomotors This
servo will react in response to the pulses that result in the arm's moment.
A servo motor is seen in Figure 3.1. It comprises of a motor attached to a sensor for
position feedback through a reduction gearbox. It also comes with a rather complex
controller, which is often a separate module created exclusively for use with servo
motors.
In brief, the microcontroller connects all of the components listed below. A partial list of
components is as follows:
1. Servo motors
2. Potentiometers
3. Atmega 328p.
4. Arduino Deumilanove "IDE"
5. Push buttons
6. Step down converter
7. LED
8. Power supply
25
Figure 11 shows the image of a servo motor
26
Figure 12 DC servo motor
Servo engines are measured in kilograms per centimeter (kg/cm); most typical servo
engines are measured at 3 kg/cm, 6 kg/cm, or 12 kg/cm. This kg/cm value tells you how
much weight your servo engine can raise at a certain spacing. For example, a 6 kg/cm
Servo engine should be able to hoist 6 kilograms if the heap is hanging 1cm away from
the engine shaft; the greater the spacing, the lower the weight conveyance limit. A servo
engine's position is determined by its electrical pulse, and its hardware is installed
adjacent to the engine.
A servo is an error sensing feedback control that is used to improve a system's
performance. Servo or RC Servo Motors are DC motors that have a servo mechanism for
accurate angular position control.
RC servo motors typically have a rotational limit of 90° to 180°. However, servos do not
rotate indefinitely. Their rotation is limited to the set angles.
Servos are precision positioning devices. They are utilized in robotic arms and legs,
sensor scanners, and remote control toys such as RC helicopters, aircraft, and vehicles.
The following are the specs for the large Servomotor that was used:
Weight- 55g
Dimension- 40.7*19.7*42.9mm
Stall torque- 10kg/cm
Operating speed-0.20sec/60degree(4.8v)
Operating voltage 4.8-7.2V.
Temperature range 0-55 degrees.
27
Figure 13 Big Servo Motor
28
Figure 15 Block diagram of a Servo motor
The field is regulated below the knee point of the magnetizing saturation curve. The
MMF changes linearly with excitation current at that point on the curve. That is, the
torque created in the DC motor is exactly proportional to the field current below the knee
point of the magnetizing saturation curve.
30
Figure 18 knee point of magnetizing saturation curve
From general torque equation of DC motor it is found that, torque T ∝ φIa. Where, φ is
field flux and Ia is armature current. But in field controlled DC servo motor, the armature
is excited by constant current source , hence Ia is constant here. Hence, T ∝ φ
Because the field of this DC servo motor is stimulated by an amplified error signal, the
torque, or rotation of the motor, may also be regulated by an amplified error signal. If the
constant armature current is big enough, each little variation in field current results in a
proportional change in torque on the motor shaft.
The rotational direction may be adjusted by altering the polarity of the field.
The rotational direction can also be changed by employing a split field DC motor.
The field winding is separated into two halves, with one half wound clockwise.
The opposite half is coiled in an anticlockwise fashion. The incorrect signal is magnified.
feed to the point where these two portions of the field meet, as indicated below The
magnetic field Both halves of the field winding opposite each other in the field.
The magnetic field intensity of one side of the motor dominates the other during
operation, depending on the value of the amplified error signal passed between these
halves. As a result, the DC servo motor rotates in a certain direction based on the
amplified error signal voltage.
The fundamental drawback of field control DC servo motors is that the dynamic reaction
to error is slower due to the inductive field circuit's larger time constant.
31
Because the field is an electromagnet, it is essentially a highly inductive circuit; thus, if
the error signal voltage suddenly changes, the current through the field will return to its
steady state value within a given length of time, depending on the time constant of the
field circuit. As a result, field control DC servo motor arrangements are most commonly
employed in tiny servo motor applications.
The primary benefit of employing a field control technique is that the motor is controlled
by a field. The required regulating power is substantially lower than the rated power of
the motor.
Again, the field flux is greatest at saturation. As previously stated, the typical torque
equation of a DC motor is torque T ∝ φIa. Now if φ is large enough, Every small change
in armature current Ia will result in a significant change in motor torque. As a result, the
servo motor becomes extremely sensitive to armature current.
32
The time constant of armature winding is minimal enough because the armature of a DC
motor is less inductive and more resistive. Because of the abrupt shift in armature
voltage, this creates a rapid change in armature current.
As a result, the dynamic reaction of an armature controlled DC servo motor is
substantially faster than the dynamic response of a field controlled DC servo motor.
The motor's rotational direction may be simply adjusted by reversing the polarity of the
error signal.
33
Va(t )=Raia(t )+ La dia (t) /dt+ Kb dθ(t )/dt(2)
Where Kb is the motor’s back EMF constant. The equations for the mechanical side of
the system are
J d 2θ( t)/dt 2+ B dθ(t )/dt =Tapp(t ) withTapp (t)=KT ia(t)(3)
J d 2θ( t)/dt 2+ B dθ(t )/dt =KT ia(t )(4)
Where Tapp is the applied torque, and KT is the torque constant that relates the torque to
the armature current.
34
Figure 21 Simulation Diagram for The DC Servo Motor
Example With these definitions for the state variables, and defining
u(t) = Va(t) and y(t) = θ(t), the state and output equations are:
x 1(t)=−( Ra/La) x 1(t) – (Kb/ La) x 3( t)+(1/ La)u (t)(7)
x 2(t)=x 3(t)(8)
x 3 (t)=−( B/J ) x 3 (t)+(KT /J ) x 1(t )( 9)
y ( t ) =x 2 ( t ) (10)
3.4 Potentiometer
A potentiometer (also known as a pot or potmeter) is a three-terminal variable
resistor in which the blockage is physically altered to regulate the advancement of
electric flow. Potentiometers can be used to split voltage. To utilize the
potentiometer as a voltage divider, connect all three pins. One of the outer pins is
GND, the other is Vcc, and the central pin is the voltage output. The pins are
described in Fig. 3.3.
35
Figure 22 Potentiometer description
When employed as a voltage divider, the location of the wiper affects the output
voltage. Figure 3.4 depicts the circuit diagram.
The output voltage can be calculated using the Eq (1) obtained from Ohm’s Law.
R2
V out =V cc × (3.1)
R 1 + R2
36
air conditioner to DC connector or battery. The Uno differs from all previous
boards in that it does not use the FTDI USB-to-sequential driver chip. Rather, it
incorporates an ATmega8U2 that has been customized to function as a USB-to-
sequential converter. "Uno" means "one" in Italian and was chosen to
commemorate the upcoming release of Arduino 1.0. The Arduino Uno and
rendition 1.0 will be the reference forms moving forward. Figure 4 depicts the
look of the Arduino Uno board.
37
Figure 25 Arduino Uno microcontroller board (back view)
The Uno is the most recent in a series of USB Arduino sheets, and the reference
model for the Arduino stage; for a look at previous forms, check the Arduino
sheets file. The Arduino Uno specifications are shown in Table 1.
Programming
The Arduino Uno can be programmed with the (Arduino Software (IDE)).The
ATmega328 on the Arduino Uno comes preprogrammed with a bootloader that allows
you to upload new code to it without the use of an external hardware programmer. It
communicates using the original STK500 protocol.
Power
The Arduino Uno board can be powered via the USB connection or with an external
power supply. The power source is selected automatically. External (non-USB) power
38
can come either from an AC-to-DC adapter (wallwart) or battery. The adapter can be
connected by plugging a 2.1mm center-positive plug into the board's power jack.
Leads from a battery can be inserted in the GND and Vin pin headers of the POWER
connector.
Memory
The ATmega328 has 32 KB (with 0.5 KB occupied by the bootloader). It also has
2 KB of SRAM and 1 KB of EEPROM
39
Arduino development "IDE"
The Arduino integrated development environment (IDE) is a cross-platform
application written in Java, and is derived from the IDE for the Processing
programming language and the Wiring projects. It is designed to introduce
programming to artists and other newcomers unfamiliar with software
development. It includes a code editor with features such as syntax highlighting,
brace matching, and automatic indentation, and is also capable of compiling and
uploading programs to the board with a single click. There is typically no need to
edit make files or run programs on a command-line interface
40
Arduino programs are written in C or C++ The Arduino IDE comes with a software
library called "Wiring" from the original Wiring project, which makes many common
input/output. Operations much easier. Users only need define two functions. To make a
runnable cyclic executive program:
Setup (): a function run once at the start of a program that can initialize settings.
Loop (): a function called repeatedly until the board powers off.
The degrees of freedom of robot arms are used to describe them. This number usually
relates to the number of single-axis rotating joints in the arm, with a higher number
indicating greater flexibility in tool placement. In contrast to the abstract concept of
degrees of freedom, which gauges a system's aggregate positioning capabilities, this is a
practical statistic.
41
Figure 30 Robot Arm
3.6.1 Features
42
Figure 31 step-down converter
In 3.3v
43
Figure 33 efficency vs current
44
In 5v
45
3.7 DESIGN IMPLEMENTATION
A. Circuit Design Description
To design the circuit, we use VBB application to make the circuit of the
robotic arm as seen in Fig.
B. Body Design
There are 5 parts of the body robotic arm. There are shoulder, elbow, wrist,
claw, and potentiometer controller. The configuration of these five parts is
shown in Fig.
46
1. Shoulder
We use this part to rotate from left to right, so if the potentiometer rotates
to the left, we get 0 for the potentiometer and 0 for the servo. For the inverse
It would offer the greatest value of each in that direction.then it would turn to
the right. Figure 7 shows The robotic arm's shoulder
Figure 39 shoulder
2. Elbow
This section is used to control up and down rotating the potentiometer to
the right causes the elbow to rotate downward. If it is in the other way, the
elbow will rotate up. Figure 8 shows the robotic arm's elbow.
Figure 40 Elbow
47
3. Wrist
This portion controls the claw's direction, whether it's far or close. If we
spin the servo to the right, it will move down, which indicates far. Figure 9
illustrates this.
Figure 41 Wrist
4. Claw
The target will be grabbed by the last servo motor. When the
‘potentiometer is rotated to the right, the claw becomes tighter.
However, if we rotate to the left, it will be released. Figure illustrates the
claw portion of the robotic arm.
Figure 42 claw
5. Control Design
Each servo joint is controlled by a potentiometer.
These potentiometers operate independently of one another. Figure depicts
the controller's construction.
48
Figure 43 Potentiometer Controller
49