Lecture Slides

Download Report

Transcript Lecture Slides

Advanced Manufacturing Systems Design © 2000 John W. Nazemetz Lecture 7 Topic : Numerical Control, Robotics, and Programmable Controllers Segment A Topic: History and Definitions

ADVANCED MANUFACTURING SYSTEMS DESIGN Numerical Control, Robotics and Programmable Controllers

History and Definitions Slide 2 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Overview

Numerical Control and RoboticsHistoryDefinitions

Slide 3 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics -

A Brief History (1)

----

Toys, etc. (Hard Programming)

1725

punched card/blocks to control looms

1936

“Building Block” Automation Concept

1941-5

Music Boxes, Clocks, Mechanical Falcon (France) Used “decks” of Ford Motor Co. Introduction of Feedback/Control Mechanisms Developed for Fire Control in US and Briish Navies Slide 4 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics -

A Brief History (2)

1947

First Computers Developed

1947

Parsons Jig/Borer Coupled with Computer (Did Not Function)

1949

DeVol Develops Recording and Playback Capabilities

1951

USAF Contract with MIT for NC Development

1951

JWN born Slide 5 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics -

A Brief History (3)

1952

First Parts Cut at MIT on Modified Cincinnati HydroTel

1952

MIT Demonstrates NC to USAF

1954

to Reduce Aircraft Production

19551956

USAF Solicits Proposal for NC Use USAF Authorizes NC Equipment Purchases (GFE) MIT Develops NC Program for MIT Whirlwind Computer Slide 6 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics -

A Brief History (4)

1956

Automatic Programmed Tool (APT) Introduced

1960

First Commercial Robot Application

1964

ADAPT (Version of APT) Introduced

Late 1960’s

Versions of NC Languages Introduced (COMPACT II, etc.) Slide 7 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics -

A Brief History (5)

1970’s

Graphical Aids Developed

1980’s Personal Computer Versions of

NC Developed (Computer Assisted Numerical Control Programming)

1980’s

Robotic Applications Spread Slide 8 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Numerical Control – Definitions (1)

Running a Machine Tool By Tape to

Make It Produce More for Less (Bendix Industrial Controls NC Handbook)

A System in which Actions are

Controlled by The Direct Insertion of Numerical Data at Some Point With At Least Some Portion of the Data Automatically Interpreted (Electronics Industries Association (EIA)) Slide 9 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Numerical Control – Definitions (2)

A Technique for Automatically

Controlling Machine Tools, Equipment, or Processes by a Series of Coded Instructions (American Society of Tool and Manufacturing Engineers )

A Technique that Provides Prerecorded

Information in a Symbolic Form Representing the Complete Instructions for the Operation of a Machine (Computer aided Manufacturing International (CAM-I)) Slide 10 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Numerical Control – Definitions (3)

A Form of Programmable Automation In

Which the Process is Controlled by Numbers, Letter, and Symbols which Form the Program of Instructions for a Particular Workplace or Job (Mikell Groover ) Slide 11 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Numerical Control - Advantages for Design

Less Expensive, More Accurate

Prototypes

Better Adherence to SpecificationsBetter Assessment of Production

Times/Costs

“Impossible” Parts Can be MadeIntegration/Reuse of Computer Models

From Design In Manufacturing Slide 12 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Numerical Control --

Advantages for Manufacturing (1)

Greater FlexibilityShapePart VolumesIncreased AccuracyMore Operations from a Single Set-UpLess Manufacturing Time VariabilityBetter SchedulingIncreased Capacity

Slide 13 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Numerical Control --

Advantages for Manufacturing (2)

Greater Machine UtilizationReduced Tooling CostsReduced Tool CostsReduced Flow TimeReduced Workpiece HandlingGreater SafetyImproved Integration

Slide 14 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Numerical Control and Robotics

Essentially the Same ThingSame Basic TechnologiesServo Mechanisms and Feedback for PositioningNC => Machine Tool Movement (Fixture(Table), Tool,

Part)

Robotics => Arm Movement (Fixture (Arm), Tool, Part)Different PsychologySolve Different Manufacturing ProblemsNC => Technological and Ergonomic ProblemsRobotics => Economic and Ergonomic Problems

Slide 15 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Robotics - Definition

A programmable, multi-functional

manipulator designed to move materials, parts, tools, or special devices through variable programmed motions for the performance of a variety of tasks - Robotics Institute of America Slide 16 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Robotics - Advantages

Cost per Hour3 Shifts, Same Capital InvestmentAble to Work in Monotonous JobsAble to Work In Hazardous

Environments

ConsistentPathsTimeQuality

Slide 17 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Applicability

Long Series of Operations Where an

Error in the Sequence Would Destroy the Value of the Part

Wide Variety of Parts/Sequences on the

Same Equipment

Complex Sequences of OperationsHuman Operation Impractical Due to

Health or Psycho-Motor Requirements Slide 18 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Advanced Manufacturing Systems Design © 2000 John W. Nazemetz Lecture 7 Topic : Numerical Control, Robotics, and Programmable Controllers Segment A Topic: History and Definition END OF SEGMENT

Advanced Manufacturing Systems Design © 2000 John W. Nazemetz Lecture 7 Topic : Numerical Control, Robotics, and Programmable Controllers Segment B Topic: Types and Control

Numerical Control and Robotics - Classification

Numerical ControlType of Control SystemNumber of Axes/Degrees of FreedomType and Number of ToolsRoboticsType of Control SystemDegrees of Freedom/Number of AxesType of JointsConfiguration

Slide 21 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Basic Types

Open LoopClosed LoopIncrementalAbsolutePoint to PointContinuous PathDNCDirect Numerical

Control

Distributed

Numerical Control

CNCComputer Numerical

Control

Adaptive Control

Slide 22 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics -- Types

Number of AxesNumerical Control2, 2 ½ , 3, 3 ½ , 4, 4 ½, 5, 6 Axis MachinesTranslational and Rotational AxesRobots[Arm, Hand] [1,1], [3,0], [3,1], [3,2], [3,3]Rotational, Linear, TranslationalAlso – “Named” Configurations

Slide 23 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC Axes

Part or Tool Movement½ Axis When Axis Movement Limited (Must

complete move Before Other Axes Can Move (e.g., Drill – Must Move Up/Down with Table Stopped.

Slide 24 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC Axes

Lathe Movement (Top View – 2 Axis)

Workpiece Head Turret Slide 25 Tool and Tool Post (Index Rotation) Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC Axes

Machining Center Movement (Top View)Tool or Table Movement (2-6 Axis)Translation and Rotation

Slide 26 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Robot Axes

Joint (Rotational) and Link (Linear)

Movement Slide 27 R-R Robot R–R-L Robot Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Robots – Named Configurations

Polar (R

HORIZ, R VERT,

Cylindrical

Linear)

(R

HORIZ, Translate VERT,

Cartesian

Linear IN/OUT )

(R

HORIZ,

Jointed

Translate VERT, Translate IN/OUT )

(R

HORIZ, R BASE, R ARM ) Slide 28 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Robots – Wrist

Wrist(Roll, Pitch, and Yaw)

Slide 29 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Basic Components (1)

Program Prep/InputGUI and Data ImportSyntax CheckingGraphic SimulationMachine Control UnitSignals to ServosError Detection

Slide 30 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Basic Components (2)

Servo Mechanisms

“Motion Components”Electrical, Hydraulic, or PneumaticMachine ToolExecutes Programmed Movements,

Commands Slide 31 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Basic Components (3)

Feedback Unit(s)“Optional”Internal to Machine ToolPositionMonitoring of ProcessTemperatureForces

Slide 32 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Physical Problems

InertiaStatic (UnderShoot)Dynamic (OverShoot)Torque/Speed (Acceleration/Deceleration)Control/ResolutionMeasurement/Causation of Small

Movements

Deflection of ComponentsError Buildup (Robots)

Slide 33 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Physical Components (1)

MovementLead Screws/CylindersOptical Comparitors/EncodersProcess SensorsAccelerometersTemperatureContact SensorsTorqueVibration, etc.

Slide 34 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Physical Components (2)

Process ControlInterlocksProcess Control Programs (Robots)Part InterfacesHands (Robots)PneumaticMagneticFingeredFixtures (NC)

Slide 35 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Physical Components (3)

Prime MoversPneumatic (Robotic, NC Tooling and

Controls)

Electrical (NC and Robotic)Hydraulic (Robotic and NC, e.g. Punch)

Slide 36 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC -- Physical Control (1)

Components and ControlStepping MotorsLead Screws (Rotational to Translational)Encoders“Read” Rotations, Portions of RotationCan be 200 “pulses/rotation” or moreGear Lear Screw or Table to Encoder Potentiometer to Count Revolutions

Slide 37 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC -- Physical Control (2)

Components and Control (Resolution

Example)

Lead Screws (20 Threads/Inch)Encoders (200 Pulses/Revolution)Resolution = 1/20 x1/200 = 1/4000 inch

= .00025 inch Slide 38 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC -- Physical Control (3)

Components and Control (Resolution

Example)

Stepping Motor (1.8

o per step)

Geared 10:1Controllable Step = 1/(200x10) = 1/2000

= .0005 inch

Axes Error is Independent

Slide 39 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Robot -- Physical Control

Components and Control (Resolution

Example)

Same as NCMeasures Rotation of JointDeflection a ProblemCantilever Loading of ArmAccumulation of Errors

Slide 40 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

NC and Robotics - Programming

“Manual NC Part Programming”Punch or Key in N, M, G, S, X, Y, Z, T, I, J

Commands

These Constitute the “Assembly Language”

for NC

“Computer Assisted NC Programming”Native Language Commands Which are

Translated into Assembly Language

GUI Plus Keyboard to Develop Assembly

Language Slide 41 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Computer Assisted NC and Robotic Programming

INITIALIZATION CAD MODEL MOVEMENT CUTTER LOCATION SYNTAX TOOL CHANGES PART CHANGES POSTPROCESSOR GRAPHICAL VERIFICATION MACHINE TOOL Slide 42 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Slide 43

Command Comparison

Type Point Lines Circles Planes Surfaces Origin APT P1= Point/x,y,z COMPACT II DPT1, x, y, z VAL HERE p1 SET p1 = POINT (x, y,z) - L1= Line/p1, p2 C1= Circle/p1, r PL1= Plane/p1,p2,p3 S1= Ssurf/Gensur, c1, c2, … Crspl, cc1, cc2, … Abs. Set DLN1, pt1, pt2 DCIR1, pt1, r DPLN1, pt1, pt2, pt3 TABCYL, pt1, Slope(30cw), pt2, … Abs. Set BASE, x, y, z - - - Abs. Set SET ref = FRAME (p1, p2, p3, p4) Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Slide 44

Command Comparison

Type Tool Movement APT COMPACT II CUTTER/t1 LOADTL/t1 [,length] ATCHG, tool1, xx GLX, zz GLZ, ss FPM, ff IPR, .rr TLR MTCHG, … GOLFT/ l1 GORGT/ l1 GOFWD/l1 GOBACK/l1 GODLTA/l1 GOON/l1 GOPAST/l1 GOTO/p1 GOUP/p1 GODOWN/p1 MOVE, pt1 MOVEC, {to} ln1, {to} ln2 DRILL, … BORE, … MILL, … THRD, … CUT, … Computer Integrated Manufacturing Systems VAL SET hand = TOOL (x,y,z, a,b,c) MOVE, pt1 MOVES, pt1 APPRO, pt1 DEPART, pt1 OPEN OPENI CLOSE CLOSEI © 2000 John W. Nazemetz

Command Comparison

Type Variables Sensors (I/O) Looping Start (Tool) APT V1/value - ?

Miscellaneous COOLNT/ option RAPID FEDRAT/… SPINDL/… FROM/p1 COMPACT II VAL DVAR1 = value SET V1 = value - Label GOTO label MACROS SENSOR (n) OUTPUT(-n) FOR loops IF, THEN, ELSE MACHIN, … OFFLNx/xx XS, zz ZL ICON, ...

OCON, … SETUP, xa, ya, za GRASP SPEED TIMER(t) WAIT GO, pt1 HOME Slide 45 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Numerical Control Programming -- Beyond Postprocessors

EIA Standard 494 - “32 Bit Binary CL

Exchange Input Format for Numerically Controlled Machine Tool”

Machine IndependentAllows Machine InterchangeabilityPossible Because of

de facto Standard Assembly Language Standard for NC Assembly Language (CL files)

Not Possible or Likely in Robotics -- No

Slide 46 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Advanced Manufacturing Systems Design © 2000 John W. Nazemetz Lecture 7 Topic : Numerical Control, Robotics, and Programmable Controllers Segment B Topic: Types and Control END OF SEGMENT

Advanced Manufacturing Systems Design © 2000 John W. Nazemetz Lecture 7 Topic : Numerical Control, Robotics, and Programmable Controllers Segment C Topic: Programmable Logic Controllers

ADVANCED MANUFACTURING SYSTEMS DESIGN Numerical Control, Robotics, and Programmable Controllers

Programmable Logic Controllers Slide 49 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Overview

DefinitionPhysical Structure and ComponentsProgrammingDigital LogicLadder LogicUseMotion ControlProcess Control

Slide 50 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Programmable Controllers - Definition

An programmable, industrially hardened

microprocessor with extensive, modular I/O capabilities that are electrically isolated from the microprocessor. Volatile memory is usually safeguarded by battery backup.

Slide 51 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Programmable Controllers - Physical Structure

Slide 52 MICRO PROCESSOR BATTERY KEYBOARD Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Programmable Controllers – Relays/Transistors (1)

Control Circuit i S Normally Open Relay Energize Control Circuit To Close N Slide 53 Source Output Circuit Computer Integrated Manufacturing Systems Load © 2000 John W. Nazemetz

Programmable Controllers – Relays/Transistors (2)

Control Circuit i N Normally Closed Relay Energize Control Circuit to Open S Slide 54 Source Output Circuit Computer Integrated Manufacturing Systems Load © 2000 John W. Nazemetz

Programmable Controllers – Module Control (2)

PLC Control Circuit Relay Circuit N LED i LED from PLC closes Relay Circuit (Normally Closed or Open) Which, in turn, Activates Output Circuit S Slide 55 Source Output Circuit Computer Integrated Manufacturing Systems Load © 2000 John W. Nazemetz

Programmable Controllers - Programming Symbols

Digital Logic Ladder Logic AND AND INPUT OR OR OUTPUT NOT NOT Slide 56 TIMER Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Programmable Controllers - Programming

Define Entities in the SystemDevelop Logical RelationshipsSet up Digital and/or Ladder DiagramsUse Computer Aided Programming to

check Syntax, Simulate Operation Slide 57 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

PLCs - Programming Example Definition

Farmer Jones Problem (1)Farmer Jones has just been approached for

lodging by a Traveling Salesman whose car has broken down. It is 100 miles to the nearest town with a motel. Farmer Jones’ daughter has expressed (positive) interest in the salesman, and his dog, Killer, has also expressed (negative) interest in the salesman.

Slide 58 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

PLCs - Programming Example Definition

Farmer Jones Problem (2)Farmer Jones has a smart house and a

smart barn. This allows him to receive a set of signals indicating who is where on the farm (he modified the cow ID tags!).

Develop the digital logic he needs in order

to be advised of all potentially undesirable situations.

Slide 59 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Programming Example

Farmer Jones Problem (3)Step 1 – Identify all potentially undesirable

situations

Salesman and Killer alone together in either the

barn or the house.

Salesman and Daughter alone together in either

the barn or the house.

Slide 60 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Programming Example

Farmer Jones Problem (4)Step 2 – Define InputA high (1) signal will indicate the individual is in

the barn.

A low (0) signal will indicate the individual is in

the house.

Slide 61 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Programming Example

Farmer Jones Problem (5)Step 3 – Program Salesman/Daughter “Problems”

Farmer (1) Killer (1) Salesman (0) Daughter (0) Salesman (1) Daughter (1) Farmer (0) Killer (0) Slide 62 (1) (1) (1) (1) Computer Integrated Manufacturing Systems Alarm © 2000 John W. Nazemetz

Programming Example

Farmer Jones Problem (6)Step 4 – Program Salesman/Killer “Problems”

Farmer (1) Daughter (1) Salesman (0) Killer (0) Salesman (1) Killer (1) Farmer (0) Daughter(0) Slide 63 (1) (1) (1) (1) Computer Integrated Manufacturing Systems Alarm © 2000 John W. Nazemetz

Programming Example

Farmer Jones Problem (7)Step 5 – Program Ladder Logic for Salesman/Killer

“Problems” with 30 second delay.

Salesman/Daughter Problem (House (0)) Salesman/Daughter Problem (Barn (1)) Salesman/Killer Problem (House (0)) F D K S F D K S F D K S Salesman/Killer Problem (Barn (1)) F D K S Slide 64 Computer Integrated Manufacturing Systems Timer 30 sec.

Alarm © 2000 John W. Nazemetz

PLCs and NC and Robots

All CNCs and Robots Use PLCsTwo FunctionsMotion ControlProcess Control

Slide 65 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Motion Control

Send Pulse Train to Stepping MotorsControl RotationControl Speed

Slide 66 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Process Control

Input Signal to Controller (On/Off)Sensors Used to Detect Physical State Done ContinuouslyState of Signals Indicates StatusCan be Interrupt Signal (e.g. Alt/Cntr/Del)Can be Polled (Cyclic Program Review)Action Taken when AppropriateOften Done in BackgroundLatching Circuit (Read like Memory Location)

Slide 67 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Motion and Process Control

Within Program, Check Status of

Process

Machine LoadingCheck Status of Machine Door (Open) Before

Robot Moves in to Remove/Load Part

Check Part is in/out of Chuck/Robot Hand Before

Moving

Path/Location ControlCheck Status of Position Sensors (Within

Tolerance/Not) And Activate Correction Subroutine or Next Move Slide 68 Computer Integrated Manufacturing Systems © 2000 John W. Nazemetz

Advanced Manufacturing Systems Design © 2000 John W. Nazemetz Lecture 7 Topic : Numerical Control, Robotics, and Programmable Controllers Segment C Topic: Programmable Logic Controllers END OF SEGMENT