API I C5 - ULisboa

11m ago
8 Views
1 Downloads
2.51 MB
53 Pages
Last View : Today
Last Download : 3m ago
Upload by : Giovanna Wyche
Transcription

IST / DEEC / API Industrial Automation (Automação de Processos Industriais) CAD/CAM and CNC http://users.isr.ist.utl.pt/ jag/courses/api1213/api1213.html Slides 2010/2011 Prof. Paulo Jorge Oliveira Rev. 2011-2013 Prof. José Gaspar Page 1

IST / DEEC / API Syllabus: Chap. 4 - GRAFCET (Sequential Function Chart) [1 weeks] . Chap. 5 – CAD/CAM and CNC [1 week] Methodology CAD/CAM. Types of CNC machines. Interpolation for trajectory generation. Integration in Flexible Fabrication Cells. Chap. 6 – Discrete Event Systems [2 weeks] Page 2

Chap. 5 – CAD/CAM and CNC IST / DEEC / API Some pointers to CAD/CAM and CNC History: http://users.bergen.org/jdefalco/CNC/history.html Tutorial: http://users.bergen.org/jdefalco/CNC/index.html e.html http://www.tarleton.edu/ gmollick/3503/lectures.htm Editors (CAD): http://www.cncezpro.com/ http://www.cadstd.com/ http://www.turbocad.com http://www.deskam.com/ http://www.cadopia.com/ Bibliography: * Computer Control of Manufacturing Systems, Yoram Koren, McGraw Hill, 1986. * The CNC Workbook : An Introduction to Computer Numerical Control by Frank Nanfarra, et al. Page 3

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Concept Tool / Methodology Prototype Nowadays, the machines work perfectly OK! the technological question is mostly about integration. Page 4

IST / DEEC / API CAD/CAM and CNC at home! Chap. 5 – CAD/CAM and CNC http://daid.github.com/Cura/ Order in the internet, receive by mail and assemble yourself! http://www.ultimaker.com/ Page 5

IST / DEEC / API Chap. 5 – CAD/CAM and CNC Brief relevant history NC 1947 – US Air Force needs lead John Parsons to develop a machine able to Produce parts describes in 3D. 1949 – Contract with Parsons Corporation to implement to proposed method. 1952 – Demonstration at MIT of a working machine tool (NC), able to produce parts resorting to simultaneous interpolation on several axes. 1955 – First NC machine tools reach the market. 1957 - NC starts to be accepted as a solution in industrial applications , with first machines starting to produce. 197x – Profiting from the microprocessor invention appears the CNC. Page 6

IST / DEEC / API Chap. 5 – CAD/CAM and CNC Evolution in brief CAD/CAM and CNC Modification of existing machine tools with motion sensors and automatic advance systems. Close-loop control systems for axis control. Incorporation of the computational advances in the CNC machines. Development of high accuracy interpolation algorithms to trajectory interpolation. Resort to CAD systems to design parts and to manage the use of CNC machines. Page 7

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Objectives To augment the accuracy, reliability, and the ability to introduce changes/new designs To augment the workload To reduce production costs To reduce waste due to errors and other human factors To carry out complex tasks (e.g. Simultaneous 3D interpolation) Augment precision of the produced parts. Advantages Reduce the production/delivery time Reduce costs associated to parts and other auxiliary Reduce storage space Reduce time to start production Reduce machining time Reduce time to market (on the design/redesign and production). Limitations: High initial investment (30k to 1500k ) Specialized maintenance required Does not eliminates the human errors completely Requires more specialized operators Not so relevant the advantages on the production of small or very small series. Page 8

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Methodology CAD/CAM To use technical data from a database in the design and production stages. Information on parts, materials, tools, and machines are integrated. CAD (Computer Aided Design) Allows the design in a computer environment. CAM (Computer Aided Manufacturing) To manage programs and production stages on a computer. Page 9

IST / DEEC / API CAD/CAM and CNC Methodology CAD/CAM CAD Object specifications GUI Interpolation CAM Object shape Interpolating set-points Trajectories generator Axis control Material removal trajectories (lines & arcs) Currents or voltages Page 10

IST / DEEC / API Chap. 5 – CAD/CAM and CNC Page 11

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Tools: Page 12

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Tools: Attention to the constraints on the materials used!. Speed of advance Speed of rotation Type of tool Page 13

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Tools: Specific tools to perform different operations. Page 14

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Tools: impact on the quality of finishing ( m) Method Flame cut Sawing Planning 50 25 12 6 3 1.5 .8 .4 .2 .1 .05 .025 .0125 0.5 Drilling Chemical machining Electrical discharge Milling Augment drilling Electron beam LASER cut Electrochemical cut Lath Electrolytic machining Extrusion “Afiar” Polishing “Quinar” Page 15

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Evolution of tools performance: Page 16

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Industrial areas of application: Aerospace Machinery Electricity (board production) Automobiles Instrumentation Moulds Page 17

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Evolution of Numerical Control Numerical Control (NC) Data on paper or received in serial port NC machine unable to perform computations Hardware interpolation Direct Numerical Control (DNC) Central computer control a number of machines DNC or CNC Computer Numerical control (CNC) A computer is on the core of each machine tool Computation and interpolation algorithms run on the machine Distributive numerical control scheduling Quality control Remote monitoring Page 18

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Numeric Control Architecture of a NC system: 1 axis Open-loop gear reference transmission table step motor Closed-loop gear reference controller transmission table encoder DA DC motor Page 19

IST / DEEC / API CAD/CAM and CNC Numeric Control Architecture of a NC system: 3 axis [http://www.kanabco.com/vms/cnc control/cnc control 03.html] Page 20

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Interpolation Motivation reference Z1(t) ? ΔZout 1bit Step Motor #1 reference Z2(t) ? ΔZout 1bit Step Motor #2 reference ZN(t) ? ΔZout 1bit Step Motor #N Note1: The references are usually very simple, e.g. Zi(t) ait bi Note2: Step motors count steps, i.e. are numerical integrators hence we have to convert Z(t) to an incremental representation pk Page 21

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Interpolation: use incremental representation Motivation from numerical integration p p(t) p Area of a function z (t ) p( )d i 1 pi t t k 0 Introducing zk, as the value of z at t k t z k i 1 pi t pk t z k 1 z k , k 1 t t z k pk t pk Δzk/Δt The integrator works at a rhythm of f 1/ t and the function p is given app. by: pk pk 1 pk To be able to implement the integrator in registers with n bits, p must verify pk 2n . In the following we will use pk and Δpk instead of zk or z(t). Page 22

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC f Implementation of a Digital Differential Analyzer (DDA) q register The p register input is 0, 1 Δp or –1 –Δp. The q register stores the area integration value qk qk 1 pk . adder z p p p register If the q register value exceeds (2n-1) an overflow occurs and z 1: z k 2 n pk Defining C f/2n, and given that f 1/ t, one has a scale factor from pk to Δzk: z k Cpk t Page 23

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC f Let p 5, Δp 0 and assume q is a 3 bits register q register adder p p z p register DDA for Linear Interpolation (1 axis): Step q z z ------------------------------------------1 5 0 2 2 1 1 3 7 1 4 4 1 2 5 1 1 3 6 6 3 7 3 1 4 8 0 1 5 9 5 5 . f t p f0 z z f0 Cpk , t k 10 4 where 8 12 C f 2n 16 5 0 1 2 Page 24

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC (a) Specifications DDA for Linear Interpolation (2 axis): (b) DDA solution (c) Results Page 25

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Exponential Deacceleration: z Cpk Cp0 e t . t The differential of p(t) is approximate Example: p(t) 15e-t Let p t p 0 e αt and p pk t Setting C , i.e. f 2n , 15 one has pk z p(t) p z p(t) 10 f 5 p p z f0 0 0 10 20 30 Time iterations 40 50 60 Page 26

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Let X R Y 2 R2 2 Circular Interpolation: or X R 1 cos t Y R sin t Example: Circumference of radius 15, centered at the origin. The differential is dX ωRsin ωt dt d Rcos ωt dY ωRcos ωt dt d Rsin ωt 0 pk p(t) Clock p p p p Rsin( t)dt X Y -5 -10 -15 Y 0 5 10 15 X Rcos( t)dt Page 27

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC Full DDA 2D Line, 2D Arc, Acceleration / Deacceleration circular p p f p p linear L X C f0 p p desacceleration L Y C Page 28

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC CNC Axes Control reference gear controller transmission table encoder DA DC motor Ts Dynamics of a control loop k2 k1 fref 1 s k DA k1 1 s kg Page 29

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC CNC Programming Steps to execute a part A) Read/interpret the technical drawings Page 30

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC CNC Programming B) Choice of the most adequate machine-tool for the several stages of machining C) Choice of the most adequate tools Relevant features: Relevant features: The material to be machined and its characteristics The workspace of a machine versus the part to be produced Standard tools cost less The tools available The quality of the mounting part is function of the number of parts to produce The mounting and the part handling Use the right tool for the job The operations that each machine can perform Verify if there are backup tools and/or stored available The options available on each machine Take into account tool aging Page 31

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC CNC Programming Page 32

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC CNC Programming D) Cutting data E) Choice of the interpolation plane, in 2D ½ machines Spindle Speed – speed of rotation of the cutting tool (rpm) Feedrate – linear velocity of advance to machine the part (mm/minute) Depth of Cut – depth of machining in z (mm) Page 33

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC CNC Programming F1) Unit system imperial –inches (G70) or international millimeters (G71). F2) Command mode* Absolute – relative to world coordinate system (G90) Relative– movement relative to the actual position (G91) * There are other command modes, e.g. helicoidal. Page 34

Chap. 5 – CAD/CAM and CNC IST / DEEC / API CAD/CAM and CNC CNC Programming G) MANUAL DATA INPUT N Sequence Number G Preparatory Functions X X Axis Command Y Y Axis Command Z Z Axis Command R Radius from specified center A Angle ccw from X vector I X axis arc center offset J Y axis arc center offset K Z axis arc center offset F Feedrate S Spindle speed T Tool number M Miscellaneous function Page 35

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Example of a CNC program N30 G0 T1 M6 N35 S2037 M3 N40 G0 G2 X6.32 Y-0.9267 M8 N45 Z1.1 N50 Z0.12 N55 G1 Z0. F91.7 N60 X-2.82 N65 Y0.9467 N70 X6.32 N75 Y2.82 N80 X-2.82 N85 G0 Z1.1 . Page 36

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Preparatory functions (inc.) G00 – GO G01 – Linear Interpolation G02 – Circular Interpolation (CW) G03 – Circular Interpolation (CCW) Page 37

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Preparatory functions (inc.) G00 – GO G01 – Linear Interpolation G02 – Circular Interpolation (CW) G03 – Circular Interpolation (CCW) Page 38

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Canned Cycles Special Cycles or Canned Cycles G81 – Drilling cycle with multiple holes G78 – Rectangular pocket cycle, used to clean a square shaped area Page 39

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Other preparatory functions G04 - A temporary dwell, or delay in tool motion. G05 - A permanent hold, or stopping of tool motion. It is canceled by the machine operator. G22 - Activation of the stored axis travel limits, which are used to establish a safety boundary. G23 - Deactivation of the stored axis travel limits. G27 - Return to the machine home position via a programmed intermediate point G34 - Thread cutting with an increasing lead. G35 - Thread cutting with a decreasing lead. G40 - Cancellation of any previously programmed tool radius compensation G42 - Application of cutter radius compensation to the right of the workpiece with respect to the direction of tool travel. G43 - Activation of tool length compensation in the same direction of the offset value G71 - Canned cycle for multiple-pass turning on a lathe (foreign-made) Page 40

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Miscellaneous functions M02 - Program end M03 - Start of spindle rotation clockwise M04 - Start of spindle rotation counterclockwise M07 - Start of mist coolant M08 - Start of flood coolant Page 41

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Tool change Note: should be of easy access, when performed manually. Page 42

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Example of CNC programming See http://www.ezcam.com/web/tour/tour.htm Page 43

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Example of CNC programming Page 44

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Advanced CNC programming languages Automatically Program Tool (APT) Developed at MIT in 1954 Derived from APT: ADAPT (IBM) IFAPT (France) MINIAPT (Germany) Compact II Autospot SPLIT Page 45

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Machine operation Rules of Security Security is essential! The eyes must be always protected. The tools and parts must be handled and installed properly. Avoid the use of large cloths Clean the parts with a brush. Never with the hands. Be careful with you and the others. Page 46

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Machine operation Verify tolerances and tools offsets for proper operation Page 47

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC Machine operation Load program Follow up machine operation Verify carefully the produced part. Page 48

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC at home! Page 49

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC at home! https://github.com/bkubicek/Marlin http://wiki.ultimaker.com/How to upload new firmware to the motherboard Page 50

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC at home! Page 51

IST / DEEC / API CAD/CAM and CNC at home! Page 52

IST / DEEC / API Chap. 5 – CAD/CAM and CNC CAD/CAM and CNC at home! Page 53

Digital Differential Analyzer (DDA) p register adder q register z p p f The p register input is 0, 1 Δpor -1 -Δp. The q register stores the area integration value q k q k 1 p k. If the q register value exceeds (2n-1) an overflow occurs and z 1: k n z k p 2 Defining C f/2n, and given that f 1/ t, one has a scale factor from p

Related Documents:

Texts of Wow Rosh Hashana II 5780 - Congregation Shearith Israel, Atlanta Georgia Wow ׳ג ׳א:׳א תישארב (א) ׃ץרֶָֽאָּהָּ תאֵֵ֥וְּ םִימִַׁ֖שַָּה תאֵֵ֥ םיקִִ֑לֹאֱ ארָָּ֣ Îָּ תישִִׁ֖ארֵ Îְּ(ב) חַורְָּ֣ו ם

api 20 e rapid 20e api 20 ne api campy api nh api staph api 20 strep api coryne api listeriaapi 20 c aux api 20 a rapid id 32 a api 50 ch api 50 chb/e 50 chl reagents to be ordered. strips ref microorganisms suspension inoculum transfer medium i

Latest API exams,latest API-571 dumps,API-571 pdf,API-571 vce,API-571 dumps,API-571 exam questions,API-571 new questions,API-571 actual tests,API-571 practice tests,API-571 real exam questions Created Date

3 API Industry Guide on API Design Apiary - Apiary jump-started the modern API design movement by making API definitions more than just about API documentation, allowing API designers to define APIs in the machine-readable API definition format API blueprint, then mock, share, and publish

May 01, 2014 · API RP 580 API RP 580—Risk-Based Inspection API RP 581 API RP 581—Risk-Based Inspection Technology API RP 941 API RP 941—Steels for Hydrogen Service at Elevated Temperatures and Pressures in Petroleum Refineries and Petrochemical Plants API RP1 API Recommended Practices. API

API RP 4G Section 3 API RP 54 Section 9.3.17 API RP 54 Section 9.3.18 API RP 54 Section 9.7 API RP 54 Section 9.2.1 API RP 54 Section 9.3.8 API RP 54 Section 9.3 API RP 54 Section 5.5.1 API RP

Division 1 & 2, ANSI B16.5, API RP 14E, API RP 14C and API RP 14J, API RP 520 Part 1 & 2, API 521, API 526, API 2000, API 1104 and NACE MR-01-75 Select the appropriate ANSI / API pressure/temperature ratings for pipe flanges, valves, and fittings Analyze piping systems so as to determine piping “spec breaks”

Inspection & Testing: API 598 Flange Dimensions: ANSI/ASME 16.5 (1/2” - 10”) Face-to-Face: ANSI/ASME B16.10 Fire Safe: API 607/BS 6755 3-Piece Trunnion Ball Valves - API 6A Basic Design: API 6A Inspection and Testing: API 6A Flange Dimensions: API 6A Face-to-Face: API 6A Fire Safe: API 607/BS 6755