plc robotics

63
10/25/22 Programmable Logic Controller and Robotics

Upload: plccourse

Post on 15-May-2015

13.052 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Plc Robotics

04/12/23

Programmable Logic Controller and Robotics

Page 2: Plc Robotics

04/12/23

An Industrial Automation System

• PLC coordinates all the motion• Robot is a key component

Page 3: Plc Robotics

04/12/23

A small PLC (Allen Bradley MicroLogix 1000)(Courtesy of Allen-Bradley).

Page 4: Plc Robotics

04/12/23

Definition of PLC

• PLC is a digitally operating electronic apparatus which uses a programmable memory for the internal storage of instructions by implementing specific functions such as logic sequencing, timing, counting, and arithmetic to control, through digital or analog input/output modules, various types of machines or processes.

• Modern PLC can be viewed as specialized computer– Specialized in logic control– Handle harsh and noisy environment

Page 5: Plc Robotics

04/12/23

Structures

Page 6: Plc Robotics

04/12/23

Input/output module• Analog inputs

– Flow sensors– Humidity sensors– Potentiometers– Pressure sensors– Temperature sensors

• Analog outputs– Analog meters– Analog valves and actuators– DC and AC motor drives

• Digital input/output– Bar code, encoder– Display

• Special purpose I/O– PID controller– Fast input– Network module

Page 7: Plc Robotics

04/12/23

Memory

• ROM• RAM• PROM• EPROM• etc

Page 8: Plc Robotics

04/12/23

Peripherals

• Operator console• Printer• Simulator• EPROM loader• Network communication• PC based programming software

Page 9: Plc Robotics

04/12/23

Functions of PLC

• Relay• Timer and counter• Program control• Arithmetic• Data manipulation• Data transfer• Others, such as sequencers

Page 10: Plc Robotics

04/12/23

A Relay

Page 11: Plc Robotics

04/12/23

A counter

Page 12: Plc Robotics

04/12/23

Counter timing diagram (the count value is 5)

Page 13: Plc Robotics

04/12/23

A timer

Page 14: Plc Robotics

04/12/23

Timer timing diagram (the timing value is 5)

Page 15: Plc Robotics

04/12/23

Logic control

• Control actions are taken by making decisions depending on the values associated with various inputs or variables and the control logic in the program.

• Decisions by attributes (go-nogo decision)– Is the machine turned on?– Is the gate to the work cell open?– Has the AGV arrived at the docking station?

• Decision by variables– How deep is the hole?– What is the cutting speed?– What is the required surface finish?– How many parts are to be made?

Page 16: Plc Robotics

04/12/23

Logic control

• Attribute decision can be represented by a logic variable (true or false) and its value can be determined by a logic expression

• Boolean algebra is used for logic expression

Page 17: Plc Robotics

04/12/23

Logic network diagram and ladder diagram

Page 18: Plc Robotics

04/12/23

Example 1

A robot is to be used to unload finished parts from a machine onto an AGV and to load raw parts from the AGV to the machine. Assume that there are sensors at the AGV's docking station to indicate the arrival of a vehicle and onboard sensors indicating whether the vehicle has brought a raw part to be processed as well as whether the AGV has space to carry away a finished part. Also assume there are sensors on the machine to indicate whether the machine is loaded with a part and also to signal completion of part processing. The robot is required to unload a processed part from the machine onto the AGV, pick up a new part for processing from the AGV, and load it onto the machine. The AGV is to be dispatched after completion of the cycle. Construct a ladder logic diagram for this task.

Page 19: Plc Robotics

04/12/23

Identify I/Os

• 01 AGV has arrived• 02 AGV is carrying a new part to be

processed• 03 AGV has space to store a processed part• 04 Machine has a finished part to be

unloaded• 20 Unload old part from machine onto the

AGV• 21 Pick new part from the AGV and load onto

the machine• 22 Dispatch the AGV

Page 20: Plc Robotics

04/12/23

The Ladder Diagram

Page 21: Plc Robotics

04/12/23

Features of Ladder Diagram

• A ladder logic diagram is made up of inputs and outputs connected according to the appropriate logic.

• Each rung in the ladder represents a set of logical relationships between the inputs that leads to a particular output.

• The output from one rung of the ladder could be used as an input in another rung of the same ladder.

• Except when special provisions are made, it is considered that all rungs in a given ladder logic diagram are executed simultaneously, so the order of the rungs on the ladder in general does not matter.

Page 22: Plc Robotics

04/12/23

PLC scan

Page 23: Plc Robotics

04/12/23

Example 2

Page 24: Plc Robotics

04/12/23

Identified I/Os

Page 25: Plc Robotics

04/12/23

Program

Page 26: Plc Robotics

04/12/23

Wiring diagram

Page 27: Plc Robotics

04/12/23

Example 3

During the powder metallurgy process, a punch is used to press blended metal powder into a compact inside a die. A pushbutton is used to start the process. When the start button is pressed, the die is filled with powder. The punch is then advanced and it applies pressure to the powder for a duration of 10 s, after which it is retracted. The pressed compact is then ejected from the die and the cycle repeats. The cycle can be interrupted by pressing a stop button. If the stop button is pressed, the punch is required to retract (if it had been advanced) before the process is stopped. We are required to construct a ladder logic diagram for this task.

Page 28: Plc Robotics

04/12/23

Identify I/Os

Page 29: Plc Robotics

04/12/23

Ladder Diagram

Page 30: Plc Robotics

04/12/23

Example 4

This example illustrates the use of both the timing and counting functions. Consider a production line in which parts requiring processing are brought to a machine by a conveyor. A robot is used to load parts from the conveyor onto the machine and, after the part has been processed, unload the part from the machine and place it on a pallet. The cycle time for processing each part is 10 min. The robot is to palletize the parts by placing 125 parts on each pallet. The parts are to be arranged on the pallet in five layers of 25 parts each. Once a pallet is complete, it is dispatched and a new pallet is started. An allowance of 30 s is to be made for pallet dispatching and presentation of a new pallet. Construct a ladder logic diagram to effect the required control.

Page 31: Plc Robotics

04/12/23

Identified I/Os

• 10 Machine has a part to be unloaded• 30 Load machine with a new part• 40 Unload a process part from the machine• 45 The current pallet layer is full• 48 Increment layer being palletized by 1• 50 The pallet is full-dispatch• 60 Present a new pallet• C100 Up counter with limit set to 25• C200 Up counter with limit set to 5• T250 Timer with limit set to 600 s• T300 Timer with limit set to 30 s

Page 32: Plc Robotics

04/12/23

Ladder Diagram

Page 33: Plc Robotics

04/12/23

Design methods for ladder diagram

Page 34: Plc Robotics

04/12/23

Truth table

Page 35: Plc Robotics

04/12/23

Ladder diagram for Example 10.2

Page 36: Plc Robotics

04/12/23

State diagram

Page 37: Plc Robotics

04/12/23

Rules of State Diagram

STATEi STATEi Tj i STATEj j 1=

n

+

Ti k STATEi k 1=

m

=

Informally,

State X = (State X + just arrived from another state) and has not left for another state

Formally,

where, STATEi A variable that will reflect if state i is on=

n the number of transitions to state i=

m the number of transitions out of state i=

Tj i The logical condition of a transition from state j to i=

Ti k The logical condition of a transition out of state i to k=

Page 38: Plc Robotics

04/12/23

State diagram for Example 10.4

Page 39: Plc Robotics

04/12/23

Outline

• What is industrial robot?– Classification of robot– Basic components in a robot

• Robot in Manufacturing– Typical applications– Selection of Robot

• Brief introduction to robot kinematics– Basics of robot kinematics

• Economy justification of robot

Page 40: Plc Robotics

04/12/23

1. What is robot?

• In a broad sense, any autonomous machine can be called a robot.

• Industrial robot is a general-purpose computer-controlled manipulator consisting of several rigid links.

Page 41: Plc Robotics

04/12/23

Why do we use robot?

• Flexible

• Disadvantage– Slow– Accuracy problem

Page 42: Plc Robotics

04/12/23

Types of industrial robots

• Serial manipulator

• Parallel configuration

Page 43: Plc Robotics

04/12/23

Further Classification of Serial Manipulator

• Cartesian Robot

• Gantry Robot

Page 44: Plc Robotics

04/12/23

Further Classification of Serial Manipulator

• Cylindrical Robot

Page 45: Plc Robotics

04/12/23

Further Classification of Serial Manipulator

• Spherical Robots

• Articulated Robots

Page 46: Plc Robotics

04/12/23

Further Classification of Serial Manipulator

• SCARA

Page 47: Plc Robotics

04/12/23

Robot Joints

• Prismatic joint• Revolving joint

Page 48: Plc Robotics

04/12/23

Page 49: Plc Robotics

04/12/23

Robot Working Envelope

Page 50: Plc Robotics

04/12/23

Robot classification using control methods

• Point-to-Point control• Continuous path control • Controlled path robot

Page 51: Plc Robotics

04/12/23

Forward and backward kinematics analysis

Page 52: Plc Robotics

04/12/23

Forward and backward kinematics analysis

Page 53: Plc Robotics

04/12/23

Forward and backward kinematics analysis

Page 54: Plc Robotics

04/12/23

2.1 Typical Applications

• Welding

Page 55: Plc Robotics

04/12/23

Typical Applications

• Assembly

Page 56: Plc Robotics

04/12/23

Typical applications

Deburs

Page 57: Plc Robotics

04/12/23

Assembly headlamp

Page 58: Plc Robotics

04/12/23

Robot Selection

• Size• Degree of freedom• Velocity• Actuator type• Control mode• Repeatability• Lift capacity• …

Page 59: Plc Robotics

04/12/23

Example

Page 60: Plc Robotics

04/12/23

A single machine robotic cell application

Page 61: Plc Robotics

04/12/23

Cycle time calculation example

Page 62: Plc Robotics

04/12/23

Another example: double grip robot

Page 63: Plc Robotics

04/12/23

Example