51
View with images and charts Automation and Robotics Robot: Robot is a software controllable mechanical device that uses sensors to guide its end effectors through programmed motion in a work space in order to manipulate physical object. Robot Classification: (Drive Technology) Electric Drive Hydraulic Drive Electric Drive: Most robot manipulators today use electric drive in the form of DC or Servomotors, DC stepper motor etc. Hydraulic Drive: Hydraulic drive is preferred when high speed manipulation of substantial loads is molten steel handling or auto body part handling etc. Work Envelop Geometric: The gross work of a robot is defined as locus of points in three dimensional spaces that can be reached by the wrist. As a consequence the geometry of work envelops is determined by the sequence of joints used for first three axes. Six types of robot joints are possible. However only two basic types are commonly used in industrial robots, they are listed below. Types Notati on Symbol Description Revolut e R Rotary about an axis Prismat ic P Linear motion along an axis Simplest Robot List: Cartesian Robot

Automation & Robotics

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Automation & Robotics

View with images and charts

Automation and Robotics

Robot: Robot is a software controllable mechanical device that uses sensors to guide its end effectors through programmed motion in a work space in order to manipulate physical object.

Robot Classification: (Drive Technology) Electric Drive Hydraulic Drive

Electric Drive: Most robot manipulators today use electric drive in the form of DC or Servomotors, DC stepper motor etc.

Hydraulic Drive: Hydraulic drive is preferred when high speed manipulation of substantial loads is molten steel handling or auto body part handling etc.

Work Envelop Geometric: The gross work of a robot is defined as locus of points in three dimensional spaces that can be reached by the wrist. As a consequence the geometry of work envelops is determined by the sequence of joints used for first three axes. Six types of robot joints are possible. However only two basic types are commonly used in industrial robots, they are listed below.

Types Notation Symbol DescriptionRevolute R Rotary about an axis

Prismatic P Linear motion along an axis

Simplest Robot List:

Cartesian Robot Cylindrical Robot Spherical Robot SCARA Robot Articulated Robot

Cartesian Robot:

Page 2: Automation & Robotics

Fig: Cartesian Robot

In the Cartesian Robot the three major axes are all prismatic and the three sliding joints corresponding to moving the wrist up and down, in and out and back and forth.

The work envelops and work volume that this configuration generates is a rectangular box. When a Cartesian co-ordinate robot is mounted above in a rectangular frame, it is referred to as a gantry robot.

Cylindrical Robot: If the first joint of a Cartesian Robot is replaced by a revolute joint, this produces a cylindrical robot. The cylindrical robot joining the arm back and forth about a vertical base axis.

Page 3: Automation & Robotics

Fig: Cylindrical Robot and its work envelop geometry

The prismatic joint then move the wrist up and down along a vertical axis and in and out along a radial axis. There will be some minimum radial position. The work envelope generates by this configuration is volume between the two vertical concentric cylinders.

Spherical Robot: If the second joint of a cylindrical co-ordinate robot is replaced with a revolute joint, this produces spherical co-ordinate robot. The first revolute joint joining the arm back and forth about a vertical base axis, where second revolute joint pitches the arm up and down about horizontal shoulder axis. The prismatic joint moves the wrist radially in and out. The work envelope generated in this case is the volume between the two vertical concentric spheres.

Page 4: Automation & Robotics

Fig: Spherical Robot

SCARA Robot: SCARA (Selective Compliance Assembly Robot Arm). The two revolute joint and one prismatic joint. The axis of all three joints are vertical. The first revolute joint swing the arm back and forth about the base axis. The second revolute joint swing the fore arm back and forth along a vertical elbow axis. The third prismatic joint slides the wrist up and down.

Page 5: Automation & Robotics

Fig: SCARA Robot

Articulated Robot: When the last remaining prismatic joint is replaced by revolute joint, this produces an articulated robot. An articulated robot is the dual of Cartesian Robot. The articulated robot is the most arthromorphic configuration, that is if most closely resembles, the anatomy of the human arm. Articulated robot are also called revolute robot. The first revolute joint swing the arm back and forth about a vertical base axis. The second revolute joint pitches the arm up and down about a horizontal axis. The third joint pitches the fore arm up and down about a horizontal elbow axis. These motion creates a complex work envelope.

Page 6: Automation & Robotics

Fig: Articulated Robot

Example: Determine the work space ‘X’ of a 2 – arm hinge mechanism. The configuration

space is given by

Display the workspace graphically.

Page 7: Automation & Robotics

Fig: Given Configuration Space.

According to the given configuration the work space is shown graphically as shown below.

Page 8: Automation & Robotics

Motion Control Method

Motion Control Method: In motion control method the two types of movements as listed below:

Point to point motion. Continuous path motion.

Point to point motion: When the tool moves to a sequence of discrete point on the work space. For example spot welding is an application of point to point motion.

Continuous path motion: The end effectors must follow a prescribed path in 3D space and the speed of along the path may vary. For example arc welding.

Application of Robot: Material handling Spot welding Material removing Arc welding Spray painting and finishing Mechanical assembly Inspection and testing

Basic Kinematics of Constrained Rigid Bodies:

Degree of Freedom of a Rigid body in a Plane:

The degree of freedom (DOF) of a rigid body is defined as a number of independent movements it has.

To determine the DOF of this body in a two dimensional plane. There are 3 DOF. The bar can translated along X axis, translated along Y axis, and rotated about it centroid.

Degree of Freedom of a rigid body in space:

Page 9: Automation & Robotics

An unrestrained rigid body in space has six degree of freedom. Three translating motions along the X,Y and Z axis and three rotary motions around the X,Y and Z axis respectively.

Kinematic Constraints:We can hinder the motion of an independent rigid bodies with kinematic constrains. Kinematic constrains are constraints between rigid bodies that result in the decrease of the degrees of freedom of a rigid body system.

Lower Pairs in Planar Mechanism:

Fig: A planar revolute pair

Page 10: Automation & Robotics

A rigid body in a plane has only three independent motions – two translations and one rotary. So introducing either a revolute pair or a prismatic pair between two rigid bodies removes two degree of freedom.

Lower Pair in Special Mechanism:

A spherical pair keeps two spherical centers together. Two rigid bodies together. Two rigid bodies connected by this constraint will be able to rotate relatively around X, Y, Z axes, but there will be no relative translation along any of their axes. Therefore a spherical pair removes three degree of freedom in special mechanism.

A Planar Pair:

Page 11: Automation & Robotics

A plane pair keeps the surface of two rigid bodies together. Two bodies connected by this kind of pair will have two independent translation motions in the plane and a rotary motion around the axis that is perpendicular to the plane. Therefore a plane pair removes three degree of freedom is special mechanism. Here in the figure the body has 3 DOF.

Gruebler’s Equation:

WhereTotal degree of freedom

Number of link Number of joint 0

Example 01: Find the degree of freedom of the given mechanism in Fig: 01.

Page 12: Automation & Robotics

Example 02: Find the degree of freedom of the given mechanism in Fig: 02.

Fig: 02

Example 03: Find the degree of freedom of the given mechanism in Fig: 03.

Fig: 03

Fixed and Movable Coordinate:

Page 13: Automation & Robotics
Page 14: Automation & Robotics

Problem: Suppose the co-ordinates of the point P with respect to the mobile co-ordinate

frame are measured and found to be . What are the

co-ordinates of P with respect to the fixed co-ordinate frame f with the body in the position?

[Given ]

Page 15: Automation & Robotics

Fundamental Rotation:Rotation Matrix:

If the mobile coordinate frame M is obtained from a fixed coordinate frame F by rotating M about one of the unit vector of F, then the resulting coordinate transformation matrix is called a fundamental rotation matrix.

Example

Page 16: Automation & Robotics

There is a simple consistant pattern to the structure of the three fundamental rotation matrix.

Page 17: Automation & Robotics

The Kth row and Kth column of are identical to the Kth row and Kth column of the

Identity Matrix I, in the remaining submatrix, the diagonal terms are , while the off diagonal terms are , where is the angle of rotation. The sign of the diagonal

terms above the diagonal is for the Kth fundamental rotation matrix.

Problem: Suppose the mobile coordinate frame M is rotated about the axis of the fixed

coordinate frame F. Let radius be the amount of rotation. Suppose P is a point whose

coordinates in the mobile M frame are . What are the

coordinates of P in the fixed coordinate frame F.

Then

Kinematic of a Particle:

Page 18: Automation & Robotics

General 3D motion in a Cartesian Co-ordinates

Problem: Determine the velocity and acceleration of a particle in a Cartesian co-ordinate

Page 19: Automation & Robotics

From the Fig, we can write

Now, to find the velocity

Special case of Plane Motion:

Page 20: Automation & Robotics

Problem: a robot arm consists of two parts, which are simple supported in point A. The lower

part rotates anti clock wise with the angular speed . The upper part is powered clock

wise by a flanged engine at the intermediate hinge (angular speed ). Compute the path

and velocity of the tip S using the angle and angle at time .

(Given; )

Page 21: Automation & Robotics

Then velocity

Applying =

Ans

Problem: A vertical standing robot is rotating with the angular speed about its longitudinal axis. A second arm with length L is welded perpendicular to the axis of rotation. A third arm is connected by a hinge on its free end. Determine the position vector and velocity vector.

Page 22: Automation & Robotics

The system can be shown as below:

To find the position vector

Page 23: Automation & Robotics

Automation:

Automation robotization or Industrial or numerical control is the use of control system, such as computers to control industrial machinery and process replacing human operators.

Automation greatly reduce the need for human sensory and mental requirements as well. Automation plays an increasingly important role in the global economy end in the daily experience.

Automation Tools: ANN – Artificial Neural Network DCS – Distributed Control System HMI – Human Machine Interface LIMS – Laboratory Information Management System MES – Manufacturing Execution System PAC – Programmable Automation Controller PLC – Programmable Logic Controller SCADA – Supervisory Control And Data Acquisition

PLC:

Programmable Logic Controller is a digital computer used for Automation of Industrial process, such as control of machinery or factory assembly lines. The PLC is designed for multiple inputs and output arrangements.

PLC Component:

Processor or CPU (Central Processing Unit)

Page 24: Automation & Robotics

Rack or Mounting Input Assembly Output Assembly Power Supply Programming Unit or device or PC/Software

Programming Unit (Memory)

Volatile Non volatile

Block diagram of PLC

Basic Operation of a PLC:

The operation of a PLC completes three processes:

a) Scans or reads from the input device.b) Executes or solves the program logic.

Page 25: Automation & Robotics

c) Update or write to the output device.

A system engineer or PLC programmer will first create program logic in a programming device (PC). This logic can be written in ladder logic or FBD (Functional Block Diagram), Instruction list, Sequential Function Chart or any other languages. The programmer will then download the program to the PLC. This temporarily connecting the programmer to the PLC. Once the program is installed or downloaded to the CPU, it is not necessary for the PC to remain connected.

Relay:A relay is a simple device that uses a magnetic field to control a switch. When a voltage is supplied to the input coil the resulting current creates a magnetic field. The magnetic field pulls a metallic switch towards it and the contacts touch, closing the switch. The contact that closes when the coil is energized is called Normally Open (N.O).

Relay Application:

Relays are remote control electrical switches that are controlled by another switch or a computer as in a power train control module. Relays allow a small current flow circuit to

Page 26: Automation & Robotics

control a higher current circuit. Several designs of Relays are in use today, 3-pin, 4-pin, 6-pin etc.

Relay Operation:

A 4-pin relay has a control circuit and a load circuit. The control circuit has a small control coil while the load circuit has a switch. The coil controls the operation of the switch.

Relay Energized (ON):

Current flow through the control circuit coil (1 and 3) creates a small magnetic field which causes the switch to close pins 2 and 4. the switch, which is a part of the load circuit is used to control an electrical circuit that may connect to it. Current now flows through pins 2 and 4 when the relay is energized.

Relay De-energized (OFF):

Page 27: Automation & Robotics

Fig: A 4-pin NO Relay in OFF condition

When current stops flowing through control circuit pins 1 and 3, the relay becomes de-energized. Without the magnetic field, the switch opens and current is prevented from flowing through pins 2 and 4. The relay is now OFF.

Relay Design ID:

Relays are either Normally Open or Normally Closed. Normally Open (N.O) relays have a small switch that remains open until energized, while Normally Closed (N.C) relays are closed until energized. Relays are always shown in de-energized position (no current flow through the control circuit).

Normally Open relays are the most common vehicle however either can be used in automotive application.

Actual Relay Design

Page 28: Automation & Robotics

Fig: Actual Relay Design

Current flows through the control coil, which is wrapped around an iron core. The iron core intensifies the magnetic field. The magnetic field attracts the upper contact arm and pulls it down, closing the contacts and allowing power from the power source to go to the load.Relay Variation:

BOOLEAN LOGIC DESIGN:

Basic Operations: AND, OR, NOT

SOME Complex Operators: Exclusive OR – XOR (EOR)

Page 29: Automation & Robotics

Not AND – NANDNot OR – NOR

AND Operation:

X = A.BA B X0 0 00 1 01 0 01 1 1

OR Operation:

X = A+BA B X0 0 00 1 11 0 11 1 1

Page 30: Automation & Robotics

NOT Operation:

A X0 11 0

XOR Operation:

A B X0 0 00 1 11 0 11 1 0

Basic Axioms of a Boolean Algebra: Idempotent:

Associative:

Commutative:

Distributive:

Identity:

Complement:

Demorgan’s : Example: Reduce the given equation and also show the Logic Operation:

Page 31: Automation & Robotics

The Logic Operation of the given equation is given below as reduced equation.

Example: Reduce the given Logic Operation shown in Fig:01 and show the reduced Logic Operation and Ladder Diagram:

Fig: 01

From the Logic it can be written

Then

According to the solution, the Logic Operation is given below

Page 32: Automation & Robotics

According to the solution, the Ladder Diagram is given below

Example: In a waste treatment plant (shown in Fig: 01) the system design is such that if all three sensors give sense only then the toxic waste will enter into the burner. If any of the one of the sensor does not sense then the waste will not enter into the burner. Then show the truth table, Logic Operation and Ladder Diagram of the plant:

Fig: 01 Waste Treatment Plant

Page 33: Automation & Robotics

According to the description of the Waste treatment plant, the truth table is given below:

A B C Q0 0 0 00 0 1 00 1 0 00 1 1 01 0 0 01 0 1 01 1 0 01 1 1 1

From the truth table we have

Then the Logic Operation is as below:

Therefore the Ladder Diagram is as below:

Example: In a waste treatment plant (shown in Fig:01) the system design is such that if any two sensors among the three give sense then toxic waste will not enter into the burner. Then show the truth table, Logic Operation and Ladder Diagram of the plant:

According to the description of the Waste treatment plant, the truth table is given below:

A B C Q

Page 34: Automation & Robotics

0 0 0 00 0 1 00 1 0 00 1 1 11 0 0 01 0 1 11 1 0 11 1 1 1

From the truth table we have

Then the Logic Operation is as below:

Therefore the Ladder Diagram is as below:

Page 35: Automation & Robotics

The above system can be reduced as such:

Then the Logic Operation is as below:

Therefore the Ladder Diagram is as below:

Page 36: Automation & Robotics

Example: (I) A heating oven with two bays can heat one ingot in each bay. When the heater is ON, it provides enough heat for two ingots. But if only one ingot is present in the oven may become too hot. So a fan is used to cool the oven when it passes a set temperature.(II) A sucker is fitted in the system along with a preset temperature. When the fan is running and the temperature sensor gives sense, then the sucker will be ON.

Then show the truth table, Logic Operation and Ladder Diagram for both the case:

LetIngot 1 – AIngot 2 – BFan - QTemperature Sensor for Sucker – TSucker - S

(I) According to the description of the oven, the truth table is given below:

A B C0 0 00 1 11 0 11 1 0

From the truth table we have

Then the logic operation will as below:

Page 37: Automation & Robotics

Hence the Ladder Diagram is as below:

(II) According to the description of the oven, the truth table is given below:

Q T S0 0 00 1 01 0 01 1 1

From the truth table we have

Then the logic operation will as below:

Hence the Ladder Diagram for the complete system is as below:

Page 38: Automation & Robotics

Burglar Alarm: Consider the design of a Burglar Alarm for a house. When activated to encourage the unwanted guest to leave. This alarm be activated if an unauthorized intruder is detected by window sensor and a motion sensor detector. The window sensor is effectively a loop of wire that is a piece of thin metal foil that incircles the window. If the window is broken that foil breaks breaking the conductor. This behaves like a normally closed switch. The motion sensor is designed so that when a person is detected the output will go ON. As with any alarm an activate/deactivate switch is also needed.

Then show the Truth Table, Boolean Algebra, Logic Operation and Ladder Diagram.

LetA = Alarm and Light Switch (1 = ON)W = Window/Door sensor (1 = OFF)M = Motion sensor (0 = OFF)S = Alarm activate switch (1 = ON)

According to the description of the system, the truth table is given below:

S M W A0 0 0 00 0 1 00 1 0 00 1 1 01 0 0 11 0 1 01 1 0 11 1 1 1

Hence we have

So the Logic Operation is as below:

Page 39: Automation & Robotics

Therefore the Ladder Diagram will be as below:

PLC Input Card:

Fig: PLC Input Card

Page 40: Automation & Robotics

PLC Output Module:

MICROCONTROLLER:

Micro-Controller: Microprocessor based controller called Micro-Controller. It is also consists of RAM, ROM, CPU and I/O ports. it’s like a baby computer but used for special purpose. The processor used in a computer is not built with RAM, ROM and I/O ports the chip itself. Microcontroller is a Microcomputer in a single chip. The RAM, ROM, I/O and timer, counter are all embedded together on one chip. There are 8 bits, 16 bits, 32 bits micro-controller made by various companies.

For application, a microcontroller alone is not enough. Beside a microcontroller, we need a program that would be executed and a few more elements which make up a interface logic towards the elements of regulation.

Page 41: Automation & Robotics

Program writing is a special field of work with microcontrollers and is called ‘Programming’.

There are three type of microcontroller chip. Small range – (12 bit) Mid range – (14 bit) Large range – (16-32 bit)

Pin Diagram of microcontroller PIC-16F84A

Fig: Pin diagram of PIC16F84A

Pins on PIC-16F84A microcontroller have the following meaning:

Pin no.1 RA2 Second pin on port A. Has no additional function.Pin no.2 RA3 Third pin on port A. Has no additional function.Pin no.3 RA4 Fourth pin on port A. TOCK1 which functions as a timer is also found on this pin.Pin no.4 MCLR Reset input and Vpp programming voltage of a microcontroller.Pin no.5 Vss Ground of power supply.Pin no.6 RB0 Zero Pin on port B. Interrupt input is an additional function.Pin no.7 RB1 First Pin on port B. No additional function.Pin no.8 RB2 Second Pin on port B. No additional function.Pin no.9 RB3 Third Pin on port B. No additional function.Pin no.10 RB4 Fourth Pin on port B. No additional function.Pin no.11 RB5 Fifth Pin on port B. No additional function.Pin no.12 RB6 Sixth Pin on port B. ‘Clock’ line in program mode.Pin no.13 RB7 Seventh Pin on port B. ‘Data’ line in program mode.Pin no.14 Vdd Positive power supply pole.Pin no.15 OSC2 Pin assigned for connecting with an oscillator.Pin no.16 OSC1 Pin assigned for connecting with an oscillator.

Page 42: Automation & Robotics

Pin no.17 RA0 Zero pin on port A. No additional function.Pin no.18 RA1 First pin on port A. No additional function.Register File Map:

Note: To use any one port of (RA or RB) as input, make it ‘1’ and make it ‘0’ in order to use it as output.Example: To make RA1 and RA2 as input

Binary – 00000110Hex – 06

Program:BSF 0X03,5 (To enter Bank1)MOVLW b’00110 (For Hex 0X06)MOVWF 0X85 (For TRIS A)BCF 0X03,5 (To return Bank0)

Page 43: Automation & Robotics

A complete set of program to make an LED ‘ON’ and ‘OFF’ simultaneously:

STATUS EQU 0X03TRIS A EQU 0X85TRIS B EQU 0X86PORT A EQU 0X05PORT B EQU 0X06

BSF STATUS,5MOVLW 0X00MOVWF TRIS ABCF STATUS,5

STARTMOVLW 0X02 HMOVWF PORT ACALL DELAYMOVLW 0X00 HMOVWF PORT ACALL DELAYGO TO STARTEND

Page 44: Automation & Robotics

Inductive Sensor:

Fig: Inductive Sensor

Inductive Sensors use currents induced by magnetic fields to detect nearby metal objects. The inductive sensor uses coil (an inductor) to generate a high frequency magnetic field. If there is a metal object near the magnetic field, current will flow in the object. This resulting current flow sets up a new magnetic field that oppose the original magnetic field. The net effect is that the change the inductance of the coil in the sensor. By measuring the inductance the sensor can determine when a metal have been brought near by.