Microcontroller - Fundamentals of Robots
Microcontroller - Fundamentals of Robots
This field overlaps with electronics, computer science, artificial intelligence, mechatronics, nanotechnology
and bioengineering.
What is Intelligence? The ability of a system to calculate, reason, perceive relationships and analogies,
learn from experience, store and retrieve information from memory, solve problems, comprehend
complex ideas, use natural language fluently, classify, generalize, and adapt new situations.
Applications of AI
AI has been dominant in various fields such as:
Gaming AI plays crucial role in strategic games such as chess, poker, tic-tac-toe, etc.,
where machine can think of large number of possible positions based on heuristic
knowledge.
AketchescoBenz A TVET Trainer Kenya Coast National Polytechnic 11/10/2019 1|Page
Natural Language Processing It is possible to interact with the computer that understands
natural language spoken by humans.
Expert Systems There are some applications which integrate machine, software, and
special information to impart reasoning and advising. They provide explanation and advice
to the users.
Vision Systems These systems understand, interpret, and comprehend visual input on the
computer. For example,
o A spying aeroplane takes photographs which are used to figure out spatial
information or map of the areas.
o Doctors use clinical expert system to diagnose the patient.
o Police use computer software that can recognize the face of criminal with the stored
portrait made by forensic artist.
Speech Recognition Some intelligent systems are capable of hearing and comprehending
the language in terms of sentences and their meanings while a human talks to it. It can
handle different accents, slang words, noise in the background, change in human’s noise
due to cold, etc.
Handwriting Recognition The handwriting recognition software reads the text written on
paper by a pen or on screen by a stylus. It can recognize the shapes of the letters and
convert it into editable text.
Intelligent Robots Robots are able to perform the tasks given by a human. They have
sensors to detect physical data from the real world such as light, heat, temperature,
movement, sound, bump, and pressure. They have efficient processors, multiple sensors
and huge memory, to exhibit intelligence. In addition, they are capable of learning from
their mistakes and they can adapt to the new environment.
Classes of Robot
Most of physical robots fall into one of the three categories:
• Manipulators/robotic arms which are anchored to their workplace and built usually from
sets of rigid links connected by joints.
• Mobile robots which can move in their environment using wheels, legs, etc.
• Hybrid robots which include humanoid robots are mobile robots equipped with
manipulators.
Laws of Robotics
Asimov proposed the three "Laws of Robotics" and later added a 'Zeroth law' as given below:
Law Zero:
A robot may not injure humanity, or, through inaction, allow humanity to come to harm.
Law One:
A robot may not injure a human being, or, through inaction, allow a human being to
come to harm, unless this would violate a higher order law.
Law Two:
A robot must obey orders given to it by human beings, except where such orders would
conflict with a higher order law.
Law Three:
A robot must protect its own existence as long as such protection does not conflict with a
higher order law.
Aspects of Robotics
o Power Supply - The working power to the robot is provided by batteries, hydraulic, solar
power, or pneumatic power sources.
o Actuators - Actuators are the energy conversion device used inside a robot. The major
function of actuators is to convert energy into movement.
Robot Locomotion
Locomotion is the method of moving from one place to another. The mechanism that makes a
robot capable of moving in its environment is called as robot locomotion.
There are many types of locomotion's:-
o Wheeled
o Legged
o Tracked slip/skid
o Combination of legged and wheeled locomotion
Legged locomotion
o It comes up with the variety of one, two, four, and six legs. If a robot has multiple legs then
leg coordination is required for locomotion.
o Legged locomotion consumes more power while demonstrating jump, hop, walk, trot,
climb up or down etc.
o It requires more number of motors for accomplish a movement. It is suited for rough as
well as smooth terrain where irregular or too smooth surface makes it consume more
operational power. It is little difficult to implement because of stability issues.
The total number of possible gaits (a periodic sequence of release and lift events for each of the
total legs) a robot can travel depending upon the number of robot legs.
Slip/Skid Locomotion
In Slip/Skid locomotion the vehicles use tracks as available in a tank. The robot is steered by
moving tracks with different speeds in the same or opposite direction. It offers stability because of
large contact area of ground and track.
Controller
The controller is the part of a robot that coordinates all movements of the mechanical system. It
also receives input from the immediate environment through various sensors. The heart of the
robot’s controller is generally a microprocessor linked to input/output and monitoring devices. The
commands issued by the controller activate the motion control mechanism, consisting of various
controllers, amplifiers, and actuators.
An actuator is essentially the prime movers providing linear force and motion. Conventional:
Pneumatics, hydraulics. It can be a motor or valve that converts power into robot movement. This
movement is initiated by a series of instructions, called a program, stored in the controller’s
memory.
End Effector
The end effector acts as the hand of the robotic arm. It is often composed of two claws, though
sometimes three, that can open or close on command. It can also spin on the wrist, making
maneuvering material and equipment easy.
It is a device attached to the wrist of the manipulator for the purpose of grasping, lifting,
transporting, maneuvering, or performing operations on a workpiece. The end effector is one of the
most important components of a robot system. The robot’s performance is a direct result of how
well the end effector meets the task requirements. The area within reach of the robot’s end effector
is called its work envelope.
The wrist provides one, two, or three axes of motion relative to the arm itself. The motions are:
• Pitch - motion in the vertical plane
• Yaw - motion in the horizontal plane
• Roll - a rotary motion
Additionally, the wrist serves as the mounting point for a variety of devices. These 'end effectors'
are either hand, or gripping devices, or job specific tools.
Sensors
- Sensors are the parts that sense and can detect objects or things like heat and light and
convert the object information into symbols or in analog or digital form and then robot
reacts according to the information provided by the sensory system. The sensors used in
robotics are;
o Vision Sensors: Camera, Frame Grabber, Image processing unit
o Proximity Sensors: distance is estimated between the robot and the object.
o Proprioceptive Sensors: are responsible for monitoring self-maintenance and
controlling internal status. This includes battery monitoring, current sensing, and
heat monitoring.
o Logical Sensors
Drives
Drives are essentially the motors in between joints that control the movement and maneuvers. They
typically use belts similar to what is found in car engines.
A variety of electric motors provide power to robots making them move with various programmed
motions. AC /DC motors can be used
Power Supply
The power supply provides the energy to drive the controller and actuators. It may convert ac
voltage to the dc voltage required by the robot’s internal circuits, or it may be a pump or
compressor providing hydraulic or pneumatic power. The three basic types of power supplies are
electrical, hydraulic, and pneumatic.
AketchescoBenz A TVET Trainer Kenya Coast National Polytechnic 11/10/2019 7|Page
The most common energy source available, where industrial robots are used, is electricity. The
second most common is compressed air, and the least common is hydraulic power. These primary
sources of energy must be converted into the form and amount required by the type of robot being
used. The electronic part of the control unit, and any electric drive actuator, requires electrical
power.
A robot containing hydraulic actuators requires the conversion of electrical power into hydraulic
energy through the use of an electric, motor-driven, hydraulic pump. A robot with pneumatic
actuators requires compressed air, which is usually supplied by a compressor driven by an electric
motor.
Advantages
- 3 linear axes
- Easy to visualize
- Rigid structure
Advantages
- 2 linear axes, 1 rotating axis
- Can reach all around itself
- Reach and height axes rigid
Disadvantages
- Cannot reach above itself
- Base rotation axis is less rigid than a linear axis
- Will not reach around obstacles
Advantages
- 1 linear axis, 2 rotating axes
- Long horizontal reach
Disadvantages
- Cannot reach around obstacles
- Generally has short vertical reach
Advantages:
- 3 rotating, axes
- Can reach above or below obstacles
- Largest work area for least work space
- Two or four ways to reach a point
Disadvantage:
- Difficult to program off-line
- The most complex manipulator
Advantages:
- Motors can be proximal:
- higher bandwidth,
- easier to control
Disadvantage:
- Generally less motion
- kinematics can be challenging
Work Envelope
- The work envelope or work volume is defined as the space within which the robot cans
manipulator the end of its wrist. The shape of work volume is determined by the type of robot
configuration.
The work envelope defines the space around a robot that is accessible for the end effector or
gripper. As a robot moves around the limits of its reaches it traces out a specific shape. The
Cylindrical robot in the last image has a visible work area of a cylinder. A Cartesian robot sweeps
out a rectangular volume, a polar a partial sphere
Robot Classification
Robots are classified based on the following:
1. Arm Configuration: And this includes
o Cartesian Coordinate.
o Cylindrical Coordinate.
o Spherical Coordinate.
o Scara Coordinate.
o Revolute Coordinate.
3. Field of Applications:
o Industrial Robot.
o Medical Robot
o Space Robot
o Military Robot
o Aerial Robot
o Etc
4, Tooling Application
o Painting Robot
o Welding Robot
o Gluing Robot
o Deburring Robot
o Etc
Electric Drives
Small and medium size robots are usually powered by electric drives via gear trains using
servomotors and stepper motors. Most commonly used are dc motors, although for larger robots,
ac motors may be utilized. A new design based on direct drives (without gear trains) is being
developed.
Advantages:
- Better accuracy & repeatability
- Require less floor space
- More towards precise work such as assembly applications
Hydraulic Drives
Larger robots are usually powered by hydraulic drives . Hydraulic drive system can provide
rotational motion (rotary vane actuators) and linear motion (hydraulic pistons).
Advantages:
- More strength-to-weight ratio
- Can also actuate at a higher speed
Disadvantage:
- Require large floor space
- Tendency to oil leakage
Pneumatic Drive
Generally used For smaller robots that possess fewer degrees of freedom (2- 4 joint motions). They
are limited to pick-and-place tasks with fast cycles. Pneumatic drive system can be applied to the
actuation of piston devices to provide linear motions. Rotational motions can be achieved by rotary
actuators
Advantages:
- Cheaper & lower technology options for control of speed.
- Safe to use and Light in weight
Disadvantage:
- Require large floor space
- Tendency to oil leakage
Each joint on the robot introduces a degree of freedom. Each of can be a slider, rotary, or
other type of actuator. Robots have 5 or 6 degrees of freedom: 3 of the degrees of
freedom allow positioning in 3D space, while the other 2or 3 are used for orientation of
the end effector. 6 degrees of freedom are enough to allow the robot to reach all positions
and orientations in 3D space. 5 D.O.F requires a restriction to 2D space, or else it limits
orientations. 5 D.O.F robots are used for handling tools such as arc welders.
The robot tends to have a fixed and limited geometry. The work envelope is the boundary of
5. Speed
Refers either to the maximum velocity that is achievable by the TCP, or by individual joints.
This number is not accurate in most robots, and will vary over the workspace as the geometry of
the robot changes.
6. Weight Carrying Capacity (Payload)
The payload indicates the maximum mass the robot can lift before either failure of the robots, or
dramatic loss of accuracy. It is possible to exceed the maximum payload, and still have the robot
operate, but this is not advised. When the robot is accelerating fast, the payload should be less
than the maximum mass. This is affected by the ability to firmly grip the part, the robot structure
and the actuators. The end of arm tooling should be considered part of the payload.
Key features of Robots
i. Quality-offer a characteristic property that defines the apparent individual nature of
something or service rendered. They offer high quality services.
ii. Serviceability- The quality of being able to provide good service.
iii. Safety- The state of being certain that adverse effects will not be caused by some
agent under defined conditions. It a device designed to prevent injury or accidents.
iv. Modularity- Constructed with standardized units or dimensions for flexibility and
variety in use.
v. Dexterity- Skillful performance or ability without difficulty and without using hands.
AketchescoBenz A TVET Trainer Kenya Coast National Polytechnic 11/10/2019 15 |
Page
Robot Drive Systems
There are three basic drive system used in available robots:
1. Hydraulic drive:
They give a robot great speed and strength. These systems can be designed to actuate
linear or rotational joints. The main disadvantage of a hydraulic system is that it occupies
floor space in addition to that required by the robot.
2. Electric drive:
An electric system provides a robot with less speed and strength and that is why electric
drive systems are adopted for smaller robots and thus robots supported by electric drive
systems are more accurate, exhibit better repeatability, and are cleaner to use.
3. Pneumatic drive:
They are generally used for smaller robots. These robots, with fewer degrees of freedom,
carry out simple pick-and-place material handling operations.
Assignment
a) Read and make notes of the following
i) Generating the path of motion for the manipulator
ii) Robot feedback devices
iii) Co-ordinate transformation
iv) Safety controls
b) Discuss the following key features of Robots
i) Serviceability
ii) Safety
ii) Quality
2. Walkthrough method
In this method the programmer manually moves the robots arm and hand through the motion
sequence of the work cycle. Each movement is recorded into memory for subsequent playback
during production. The speed with which the movements are performed can be controlled
independently so that the programmer does not have to worry about the cycle time during the
walk through. The main concern is getting the position sequence correct. The walk through
method would be appropriate for spray painting and arc welding.
3. Lead-through method
The lead-through method makes use of a teach pendant to power drive the robot through its
motion sequence. The teach pendant is a small hand held device with switches and dials to
control the robots physical movements. Each motion is recorded into memory for future
playback during work cycle. The lead through method is very popular among robot programming
methods because of its ease and convenience.
Advantages of this programming include:
- It is easy and no special programming skills or training
Disadvantages of this programming include:
- it is not practical for large or heavy robots
- High accuracy and straight-line movements are difficult to achieve
- it is difficult to edit out unwanted operator moves
- it is difficult to incorporate external sensor data
- it is difficult to synchronization with other machines or equipment in the work cell
- A large amount of memory is required
Textual Statements
Language statements include basic motion statement lke:
MOVE P1
Commands the robot to move from its current position to a position and orientation defined by
the variable name P1.The point p1 must be defined. The most convenient method way to define
P1 is to use either powered lead through or manual leads through to place the robot at the desired
point and record that point into the memory.
HERE P1 OR LEARN P1
These are used in the lead through procedure to indicate the variable name for the point. What is
recorded into the robot’s control memory is the set of joint positions or coordinates used by the
controller to define the point. For example, (236,157,63,0,0,0). The first values give joint
positions of the body and arm and the last three values (0,0,0) define the wrist joint positions.
MOVES P1
It denotes movement that is to be made using straight line interpolation. The suffix‘s’ designates
a straight line motion.
DMOVE (4,125)
Suppose the robot is presently at a point defined by joint coordinates (236,157,63,0,0,0) and it
is desired to move joint 4from 0 to 125. DMOVE represents a delta move. Approach and depart
statements are useful in material handling operations.
SPEED 75 the manipulator should operate at 75% of the initially commanded velocity where the
initial speed is given in a command that precedes the execution of the robot program. For
example,
SPEED 0.5 MPS
EXECUTE PROGRAM1
This indicates that the program named PROGRAM1 is to be executed by the robot at a speed of
0.5m/sec.
End Effectors
An End effector can be defined as a device which is attached to the robot’s wrist to perform a
specific task. The task might be work part handling, spot welding, spray painting, or any of a
great variety of other functions. The possibilities are limited only by the imagination and
ingenuity of the application engineers who design robot systems. The end effectors are the
special purpose tooling which enables the robot to perform a particular job. For purpose
organization, we will divide the various types of end effectors into two categories: grippers and
tools.
1. Grippers:
- These are used to grasp and hold an object and place it at a desired location. Grippers can
be classified as;
Mechanical grippers
Vacuum or suction cups
Magnetic grippers
Adhesive grippers
Hooks, Scoops, and so forth.
2. Tools:
- A robot is required to manipulate a tool to perform an operation on a work part. Here the
tool acts as end-effectors. Spot-welding tools, arc-welding tools, spray painting nozzles,
and rotating spindles for drilling and grinding are typical examples of tools used as end-
effectors.
2. Interlocks
An interlock is the feature of work cell control which prevents the work cycle sequence from
continuing until a certain conditions or set of conditions has been satisfied. In a robotic work
cell, they are two types: outgoing and incoming. The outer going interlock is a signal sent from
the workstation controller to some external machine or device that will cause it to operate or not
to operate for example this would be used to prevent a machine from initiating its process until it
was commanded to process by the work cell controller, an incoming interlock is a single from
some external machine or device to the work controller which determines whether or not the
programmed work cycle sequence will proceed.
Robotic Sensors
The robot must take on more human like senses and capabilities in order to perform the task in a
satisfactory way. These senses and capability includes vision and hand eye coordination, touch,
and hearing. The types of sensors used in robotics are grouped into three categories;
1. Vision sensors
3. Proximity sensors
Proximity sensors are used to sense when one object is close to another object. On a robot, the
proximity sensors would be located n or near the end effectors. This sensing capability can be
engineered by means of optical proximity devices, eddy-current proximity detectors, magnetic
field sensors, or other devices. In robotics, proximity sensors might be used to indicate the
presence or absence of a work part or other object.
4. Voice sensors
Voice programming can be defined as the oral communication of commands to the robot or other
machine. The robot controller is equipped with a speech recognition system which analyzes the
voice input and compares it with a set of stored word patterns. When a match is found between
the input and the stored vocabulary word the robot performs some actions which correspond to
the word. Voice sensors could be useful in robot programming to speed up the programming
procedure.
Robot Applications
There is a need to replace human labour by robots in:
• Work environment hazardous for human beings
Advantages of Robots
• Robotics and automation can increase productivity, safety, efficiency, quality, and
consistency of Products
• Robots can work in hazardous environments
• Robots need no environmental comfort
• Robots work continuously without any humanity needs and illnesses
• Robots have repeatable precision at all times
• Robots can be more accurate than humans at milli or micro inch accuracy.
• Robots and their sensors can have capabilities beyond that of humans.
• Robots can process multiple stimuli or tasks simultaneously, humans can only one.
• Robots replace human workers who can create economic problems.
Disadvantages of Robots
• Robots lack capability to respond in emergencies, this can cause:
_ Inappropriate and wrong responses
_ A lack of decision-making power
_ A loss of power
_ Damage to the robot and other devices
_ Human injuries
• Robots may have limited capabilities in;
_ Degrees of Freedom
_ Dexterity
_ Sensors
_ Vision systems
_ Real-time Response
• Robots are costly, due to;
_ Initial cost of equipment and Installation Costs
_ Need for peripherals and Need for training
_ Need for Programming