Numerical control: Difference between revisions
Asilvering (talk | contribs) m Removing link(s) Wikipedia:Articles for deletion/Wireless DNC closed as soft delete (XFDcloser) |
|||
Line 1: | Line 1: | ||
{{Short description|Computer control of machine tools}} |
|||
:'''''CNC''' redirects here. For other uses, see [[CNC (disambiguation)]].'' |
|||
{{Redirect|CNC}} |
|||
{{Redirect|Numerics|the field of computer science|Numerical analysis}} |
|||
[[File:CNC machine.jpg|thumb|A CNC machine that operates on wood]] |
|||
[[File:Wheel Machining.jpg|thumb|CNC machines typically use some kind of coolant, typically a water-miscible oil, to keep the tool and parts from getting hot.]] |
|||
[[File:Cnc lathe.png|thumb|A CNC [[metal lathe]] with the door open.]] |
|||
In [[machining]], '''numerical control''', also called '''computer numerical control''' ('''CNC'''),<ref>{{Cite web|title=What Is A CNC Machine? |url=https://cncmachines.com/what-is-a-cnc-machine|access-date=2022-02-04|website=CNC Machines }}</ref> is the [[automation|automated control]] of tools by means of a [[computer]].<ref>{{Cite web |date=2024-10-28 |title=Automation - Numerical Control, Robotics, Manufacturing {{!}} Britannica |url=https://www.britannica.com/technology/automation/Numerical-control#ref390752 |access-date=2024-10-31 |website=www.britannica.com |language=en}}</ref> It is used to operate tools such as [[drill]]s, [[lathe]]s, [[Milling (machining)|mills]], [[Grinding machine|grinders]], [[CNC router|routers]] and [[3D printer]]s. CNC transforms a piece of material ([[metal]], [[plastic]], wood, ceramic, stone, or composite) into a specified shape by following coded programmed instructions and without a manual operator directly controlling the machining operation. |
|||
[[File:Small CNC Turning Center.jpg|thumb|220px|A CNC Turning Center.]] |
|||
[[File:CNC panel.jpg|thumb|upright|220px|Siemens CNC panel.]] |
|||
A CNC machine is a motorized maneuverable tool and often a motorized maneuverable platform, which are both controlled by a computer, according to specific input instructions. Instructions are delivered to a CNC machine in the form of a sequential program of machine control instructions such as [[G-code]] and M-code, and then executed. The program can be written by a person or, far more often, generated by graphical [[computer-aided design]] (CAD) or [[computer-aided manufacturing]] (CAM) software. In the case of 3D printers, the part to be printed is "sliced" before the instructions (or the program) are generated. 3D printers also use G-Code.<ref name=":1">{{Cite web |last=3ERP |date=2022-06-24 |title=What is CNC Milling and How Does it Work: Everything You Need to Know - 3ERP |url=https://www.3erp.com/blog/cnc-milling-everything-you-need-to-know/ |access-date=2022-06-30 |website=Rapid Prototyping & Low Volume Production |language=en-US}}</ref> |
|||
'''Numerical control''' ('''NC''') refers to the automation of [[machine tool]]s that are operated by abstractly programmed commands encoded on a storage medium, as opposed to manually controlled via handwheels or levers or mechanically automated via cams alone. The first NC machines were built in the 1940s and 50s, based on existing tools that were modified with motors that moved the controls to follow points fed into the system on paper tape. These early servomechanisms were rapidly augmented with analog and digital computers, creating the modern '''computer numerical controlled''' ('''CNC''') machine tools that have revolutionized the design process. |
|||
CNC offers greatly increased productivity over non-computerized machining for repetitive production, where the machine must be manually controlled (e.g. using devices such as hand wheels or levers) or mechanically controlled by pre-fabricated pattern guides (see [[Pantograph#Milling machines|pantograph mill]]). However, these advantages come at significant cost in terms of both capital expenditure and job setup time. For some prototyping and small [[batch production|batch]] jobs, a good machine operator can have parts finished to a high standard whilst a CNC workflow is still in setup. |
|||
In modern CNC systems, end-to-end component design is highly automated using [[Computer-aided design|CAD]]/[[Computer-aided manufacturing|CAM]] programs. The programs produce a computer file that is interpreted to extract the commands needed to operate a particular machine, and then loaded into the CNC machines for production. Since any particular component might require the use of a number of different tools - drills, saws, etc. - modern machines often combine multiple tools into a single "cell". In other cases, a number of different machines are used with an external controller and human or robotic operators that move the component from machine to machine. In either case the complex series of steps needed to produce any part is highly automated and produces a part that closely matches the original CAD design. |
|||
In modern CNC systems, the design of a mechanical part and its manufacturing program are highly automated. The part's mechanical dimensions are defined using CAD software and then translated into manufacturing directives by CAM software. The resulting directives are transformed (by "[[post processor]]" software) into the specific commands necessary for a particular machine to produce the component and then are loaded into the CNC machine. |
|||
== History == |
|||
=== Earlier forms of automation === |
|||
==== Cams ==== |
|||
Since any particular component might require the use of several different tools – [[drill]]s, [[saw]]s, [[Touch_probe| touch probes]] etc. – modern machines often combine multiple tools into a single "cell". In other installations, several different machines are used with an external controller and human or robotic operators that move the component from machine to machine. In either case, the series of steps needed to produce any part is highly automated and produces a part that meets every specification in the original CAD drawing, where each specification includes a tolerance. |
|||
The automation of machine tool control began in the 1800s with [[cam]]s that "played" a machine tool in the way that cams had long been playing [[musical box]]es or operating elaborate [[cuckoo clock]]s. [[Thomas Blanchard]] built his gun-stock-copying lathes (1820s-30s), and the work of people such as [[Christopher Miner Spencer]] developed the [[turret lathe]] into the [[screw machine]] (1870s). Cam-based automation had already reached a highly advanced state by [[World War I]] (1910s). |
|||
==Description== |
|||
However, automation via cams is fundamentally different from numerical control because it cannot be abstractly programmed. There is no direct connection between the design being produced and the machining steps needed to create it. Cams can encode information, but getting the information from the abstract level of an [[engineering drawing]] into the cam is a manual process that requires sculpting and/or [[machining]] and [[File (tool)|filing]]. At least two forms of abstractly programmable control had existed during the 1800s: those of the [[Jacquard loom]] and of [[mechanical computer]]s pioneered by [[Charles Babbage]] and others. These developments had the potential for [[Technological convergence|convergence]] with the automation of machine tool control starting in that century, but the convergence did not happen until many decades later. |
|||
Motion is controlling multiple axes, normally at least two (X and Y),<ref>[http://www.mmsonline.com/articles/key-cnc-concept-1the-fundamentals-of-cnc Mike Lynch, "Key CNC Concept #1—The Fundamentals Of CNC", ''Modern Machine Shop'', 4 January 1997]. Accessed 11 February 2015</ref> and a tool spindle that moves in the Z (depth). The position of the tool is driven by direct-drive [[stepper motors]] or [[servo motor]]s to provide highly accurate movements, or in older designs, motors through a series of step-down gears. [[Open-loop control]] works as long as the forces are kept small enough and speeds are not too great. On commercial [[metalworking]] machines, closed-loop controls are standard and required to provide the accuracy, speed, and [[repeatability]] demanded. |
|||
The worlds first [http://www.cranfieldprecision.com/history3.php CNC Cam grinding machine was produced by [http://www.cinetic-landis.co.uk Landis Lund] with a Crankfield Precision [http://www.cranfieldprecision.com/cnc-control-system.php CNC Control System]. The grinding of camshafts by numerical control revolutionised the automative industry in terms of productivity and product quality. |
|||
=== |
===Parts description=== |
||
As the controller hardware evolved, the mills themselves also evolved. One change has been to enclose the entire mechanism in a large box as a safety measure (with safety glass in the doors to permit the operator to monitor the machine's function), often with additional safety interlocks to ensure the operator is far enough from the working piece for safe operation. Most new CNC systems built today are 100% electronically controlled. |
|||
The application of [[hydraulics]] to cam-based automation resulted in tracing machines that used a stylus to trace a template, such as the enormous [[Pratt & Whitney]] [http://www.keller.com/kellermachine/ "Keller Machine"], which could copy templates several feet across.<ref name=a112/> Another approach was "record and playback", pioneered at [[General Motors]] (GM) in the 1950s, which used a storage system to record the movements of a human machinist, and then play them back on demand. Analogous systems are common even today, notably the "teaching lathe" which gives new machinists a hands-on feel for the process. None of these were numerically programmable, however, and required a master machinist at some point in the process, because the "programming" was physical rather than numerical. |
|||
CNC-like systems are used for any process that can be described as movements and operations. These include [[laser cutting]], [[welding]], [[friction stir welding]], [[ultrasonic welding]], flame and [[plasma cutting]], [[bending]], spinning, hole-punching, pinning, gluing, fabric cutting, sewing, tape and fiber placement, routing, picking and placing, and sawing. |
|||
=== Servos and selsyns === |
|||
One barrier to complete automation was the required tolerances of the machining process, which are routinely on the order of thousandths of an inch. Although it would be relatively easy to connect some sort of control to a storage device like punch cards, ensuring that the controls were moved to the correct position with the required accuracy was another issue. The movement of the tool resulted in varying forces on the controls that would mean a linear output would not result in linear motion of the tool. The key development in this area was the introduction of the [[servo]], which produced highly accurate measurement information. Attaching two servos together produced a selsyn, where a remote servo's motions was accurately matched by another. Using a variety of mechanical or electrical systems, the output of the selsyns could be read to ensure proper movement had occurred. |
|||
==History== |
|||
The first serious suggestion that selsyns could be used for machining control was made by Ernst F. W. Alexanderson, a Swedish immigrant to the U.S. working at [[General Electric]] (GE). Alexanderson had worked on the problem of torque amplification that allowed the small output of a [[mechanical computer]] to drive very large motors, which GE used as part of a larger [[gun laying]] system for [[US Navy]] ships. Like machining, gun laying requires very high accuracies, less than a degree, and the motion of the gun turrets was non-linear. In November 1931 Alexanderson suggested to the Industrial Engineering Department that the same systems could be used to drive the inputs of machine tools, allowing it to follow the outline of a template without the strong physical contact needed by existing tools like the Keller Machine. He stated that it was a "matter of straight engineering development."<ref>James Brittain, "Alexanderson: Pioneer in American Electrical Engineering", Johns Hopkins University Press, 1992, ISBN 0-8018-4228-X, pp. 210-211</ref> However, the concept was ahead of its time from a business development perspective, and GE did not take the matter seriously until years later, when others had pioneered the field. |
|||
{{Main article|History of numerical control}} |
|||
The first CNC machines were built in the 1940s and 1950s, based on existing tools that were modified with motors that moved the tool or part to follow points fed into the system on [[punched tape]].<ref name=":1" /> These early [[servomechanism]]s were rapidly augmented with analog and digital computers, creating the modern CNC machine tools that have revolutionized machining processes. |
|||
== Today == |
|||
=== Parsons and the invention of NC === |
|||
Now the CNC in the processing manufacturing field has been very extensive, not only the traditional [[Milling (machining)|milling]] and [[turning]], other machines and equipment are also installed with the corresponding CNC, which makes the manufacturing industry in its support, greatly improving the quality and efficiency. Of course, the latest trend in CNC<ref>{{Cite web |last=CapableMaching |title=CNC Machining Industry: new & important trend |url=https://capablemachining.com/cnc-machining-industry/ |website=}}</ref> is to combine traditional [[Machining|subtractive manufacturing]] with [[3D printing|additive manufacturing]] (3D printing) to create a new manufacturing method<ref>Chang Y C, Pinilla J M, Kao J H, et al. Automated layer decomposition for additive/subtractive solid freeform fabrication[C]. 1999 International Solid Freeform Fabrication Symposium, 1999.</ref> - hybrid additive subtractive manufacturing (HASM).<ref>{{Cite journal |last=W. Grzesik/ |date=2018 |title=HYBRID ADDITIVE AND SUBTRACTIVE MANUFACTURING PROCESSES... |url=https://bibliotekanauki.pl/articles/99525.pdf |journal=Journal of Machine Engineering |volume=18 |issue=4 |pages=5–24|doi=10.5604/01.3001.0012.7629 }}</ref> Another trend is the combination of [[Artificial intelligence|AI]], using a large number of [[sensor]]s, with the goal of achieving [[Flexible manufacturing system|flexible manufacturing]].<ref>L.C. Moreira, W. Li, X. Lu, M.E. Fitzpatrick Supervision controller for real-time surface quality assurance in CNC machining using artificial intelligence Comput. Ind. Eng., 127 (2019), pp. 158-168</ref> |
|||
The birth of NC is generally credited to [[John T. Parsons]],<ref>The International Biographical Dictionary of Computer Pioneers refers to Parsons as "the father of computerized milling machines", and the Society of Manufacturing Engineers awarded him a citation for "conceptualization of numerical control marked the beginning of the second industrial revolution."</ref> a machinist and salesman at his father's machining company, Parsons Corp. In 1942 he was told that [[helicopter]]s were going to be the "next big thing" by the former head of [[Ford Trimotor]] production, Bill Stout. He called [[Sikorsky Aircraft]] to inquire about possible work, and soon got a contract to build the wooden stringers in the rotor blades. After setting up production at a disused furniture factory and ramping up production, one of the blades failed and it was traced to the spar. As at least some of the problem appeared to stem from spot welding a metal collar on the stringer to the metal spar, so Parsons suggested a new method of attaching the stringers to the spar using adhesives, never before tried on an aircraft design.<ref name=f>''Father''</ref> |
|||
==Examples of CNC machines== |
|||
But that development led to Parsons to wondering about the possibility of using stamped metal stringers instead of wood, which would be much easier to make and stronger too. The stringers for the rotors were built to a design provided by Sikorsky, which was sent to them as a series of 17 points defining the outline. Parsons then had to "fill in" the dots with a [[french curve]] to generate an outline they could use as a template to build the jigs for the wooden versions. But how to make a tool able to cut metal with that shape was a much harder problem. Parsons went to visit Wright Field to see Frank Stulen, who was the head of the Rotary Ring Branch at the Propeller lab. Stulen concluded that Parsons didn't really know what he was talking about, and realizing this, Parsons hired him on the spot. Stulen started work on 1 April 1946 and hired three new engineers to join him.<ref name=f/> |
|||
{| class="wikitable" |
|||
|- |
|||
! CNC machine !! Description !! Image |
|||
|- |
|||
| [[Milling (machining)|Mill]] || Translates programs consisting of specific numbers and letters to move the spindle (or workpiece) to various locations and depths. Can either be a Vertical Milling Center (VMC) or a Horizontal Milling Center, depending on the orientation of the spindle. Many use [[G-code]]. Functions include: face milling, shoulder milling, tapping, drilling and some even offer turning. Today, CNC mills can have 3 to 6 axes. Most CNC mills require placing the workpiece on or in them and must be at least as big as the workpiece, but new 3-axis machines are being produced that are much smaller.|| |
|||
|- |
|||
| [[Lathe]] || Cuts workpieces while they are rotated. Makes fast, precision cuts, generally using [[Cutting tool (machining)#Cutting tools with inserts (indexable tools)|indexable]] tools and drills. Effective for complicated programs designed to make parts that would be unfeasible to make on manual lathes. Similar control specifications to CNC mills and can often read [[G-code]]. Generally have two axes (X and Z), but newer models have more axes, allowing for more advanced jobs to be machined. Most modern lathes have live tooling, allowing for limited milling operations to take place without having to remove the part from the lathe spindle. Second operations can be completed by using a sub-spindle, which is co-axial to the main spindle, but faces the other direction. This allows the part to be removed from the main spindle, and for additional features to be machined in the back side of the part.|| |
|||
|- |
|||
| [[Plasma cutter]] || Involves cutting a material using a [[plasma torch]]. Commonly used to cut steel and other metals, but can be used on a variety of materials. In this process, gas (such as [[compressed air]]) is blown at high speed out of a nozzle; at the same time, an electrical arc is formed through that gas from the nozzle to the surface being cut, turning some of that gas to [[Plasma (physics)|plasma]]. The plasma is sufficiently hot to melt the material being cut and moves sufficiently fast to blow molten metal away from the cut.|| [[File:CNC Plasma Cutting.ogv|thumb|CNC plasma cutting]] |
|||
|- |
|||
| [[Electric discharge machining]] || (EDM), also known as spark machining, spark eroding, burning, die sinking, or wire erosion, is a manufacturing process in which the desired shape is obtained using electrical discharges (sparks). Material is removed from the workpiece by a series of rapidly recurring [[Electric current|current]] discharges between two electrodes, separated by a [[dielectric fluid]] and subject to an electric [[voltage]]. One of the electrodes is called the tool electrode, or simply the "tool" or "electrode", while the other is called the workpiece electrode, or "workpiece". |
|||
EDM can be broadly divided into "sinker" type processes, where the electrode is the positive shape of the resulting feature in the part, and the electric discharge erodes this feature into the part, resulting in the negative shape, and "wire" type processes. Sinker processes are rather slow as compared to conventional machining, averaging on the order of 100mm<sup>3</sup>/min,<ref>{{Cite journal |last1=Klocke |first1=F. |last2=Schwade |first2=M. |last3=Klink |first3=A. |last4=Veselovac |first4=D. |date=2013-01-01 |title=Analysis of Material Removal Rate and Electrode Wear in Sinking EDM Roughing Strategies using Different Graphite Grades |journal=Procedia CIRP |series=Proceedings of the Seventeenth CIRP Conference on Electro Physical and Chemical Machining (ISEM) |volume=6 |pages=163–167 |doi=10.1016/j.procir.2013.03.079 |issn=2212-8271|doi-access=free }}</ref> as compared to 8x10<sup>6</sup> mm<sup>3</sup>/min for conventional machining, but it can generate features that conventional machining cannot. Wire EDM operates by using a thin conductive wire, typically brass, as the electrode, and discharging as it runs past the part being machined. This is useful for complex profiles with inside 90 degree corners that would be challenging to machine with conventional methods. |
|||
|| |
|||
Stulen's brother worked at Curtis Wright Propeller, and mentioned that they were using [[punch card]] calculators for engineering calculations. Stulen decided to adopt the idea to run stress calculations on the rotors, the first detailed automated calculations on helicopter rotors.<ref name=f/> When Parsons saw what Stulen was doing with the punch card machines, he asked him if they could be used to generate an outline with 200 points instead of the 17 they were given, and offset each point by the radius of the cutting tool on a mill. If you cut at each of those points, it would produce a relatively accurate cutout of the stringer even in hard steel, and it could easily be filed down to a smooth shape. The resulting tool would be useful as a template for stamping metal stringers. Stullen had no problem doing this, and used the points to make large tables of numbers that would be taken onto the machine floor. Here, one operator read the numbers off the charts to two other operators, one each on the X and Y axis, and they would move the cutting head to that point and make a cut.<ref name=f/> This was called the "by-the-numbers method". |
|||
[[File:EDMWorkpiece.jpg|thumb|Sinker EDM. Electrolyte solution saturates the workpiece, and voltage is applied between the sinker, top, and workpiece, bottom.]] |
|||
At that point Parsons conceived of a fully automated tool. With enough points no manual working would be needed at all, but with manual operation the time saved by having the part more closely match the outline was offset by the time needed to move the controls. If the machine's inputs were attached directly to the card reader this delay, and any associated manual errors, would be removed and the number of points could be dramatically increased. Such a machine could repeatedly punch out perfectly accurate templates on command. But at the time he had no funds to develop these ideas. |
|||
|- |
|||
| Multi-spindle machine || Type of [[Automatic lathe|screw machine]] used in mass production. Considered to be highly efficient by increasing productivity through automation. Can efficiently cut materials into small pieces while simultaneously utilizing a diversified set of tooling. Multi-spindle machines have multiple spindles on a drum that rotates on a horizontal or vertical axis. The drum contains a drill head which consists of several spindles that are mounted on [[ball bearing]]s and driven by [[gear]]s. There are two types of attachments for these drill heads, fixed or adjustable, depending on whether the center distance of the drilling spindle needs to be varied.<ref>{{Cite news|url=https://www.davenportmachine.com/multi-spindle-machines/|title=Multi Spindle Machines - An In-Depth Overview|work=Davenport Machine|access-date=2017-08-25|language=en-US}}</ref> || |
|||
|- |
|||
| [[Water jet cutter]] || Also known as a "waterjet", is a tool capable of slicing into metal or other materials (such as [[granite]]) by using a jet of water at high velocity and pressure, on the order of 60,000 PSI, or a mixture of water and an [[abrasive]] substance, such as garnet powder. It is often used during the fabrication or manufacture of parts for machinery and other devices. Waterjet cutting is the preferred machining method when the materials being cut are sensitive to the high temperatures generated by other methods. It has found applications in a diverse number of industries from mining to aerospace where it is used for operations such as [[cutting]], shaping, [[carving]], and [[reaming]]. The thickness of material processable via waterjet machining is generally limited by the pressure of the waterjet, and by the dispersion of the jet as it gets further from the nozzle. Some waterjet cutters have a 5-axis cutting head, allowing for much more complex shapes to be cut, and to compensate for the angle of the kerf to leave the angled wall on the stock instead of on the finished part. ||[[File:Waterjet cutting machine.jpg|alt=Thibaut Waterjet cutting machine|thumb|[[Water jet cutter|Waterjet]] cutting machine]] |
|||
|- |
|||
| [[Punch press]] || Used to rapidly punch holes and cut thin materials. Such as sheet metal, plywood, thin bar stock, and tubing. Punch presses are generally used when a CNC mill would be inefficient or unfeasible. CNC punch presses can come in the C frame, where the sheet material is clamped onto a machining table and a hydraulic ram pushes down on the material, or they can come in a portal frame variant where bar stock/tubing is fed into the machine. |
|||
|[[File:Punch machine.jpg|thumb|Punch machine at work]] |
|||
|} |
|||
==Other CNC tools== |
|||
When one of Parsons salesmen was on a visit to Wright Field, he was told of the problems the newly-formed [[US Air Force]] was having with new jet designs. He asked if Parsons had anything to help to them. Parsons showed [[Lockheed]] their idea of an automated mill, but they were uninterested. They had already decided to use 5-axis template copiers to produce the stringers, cutting from a metal template, and had ordered the expensive cutting machine already. But as Parsons noted: |
|||
Many other tools have CNC variants, including: |
|||
{{div col begin}} |
|||
* [[3D printing]] |
|||
* [[CNC router]] |
|||
* [[Canned cycle]] |
|||
* [[Cylindrical grinder]]s |
|||
* [[Drill]]s |
|||
* [[Machine embroidery|Embroidery machines]] |
|||
* [[Glass cutter|Glass cutting]] |
|||
* [[Hot-wire foam cutter]]s |
|||
* [[Induction hardening]] machines |
|||
* [[Laser cutting]] |
|||
* [[Lathe]]s |
|||
* [[Leather cutter]] |
|||
* [[Milling (machining)|Milling machine]] |
|||
* [[Oxy-fuel welding and cutting|Oxy-fuel]] |
|||
* [[Plasma cutting|Plasma cutters]] |
|||
* [[Sheet metal|Sheet metal works]] ([[Turret punch]]) |
|||
* [[Submerged arc welding]] |
|||
* [[Surface grinding|Surface grinder]] |
|||
* [[Tube bending|Tube, pipe and wire bending machines]] |
|||
* [[Vinyl cutter]] |
|||
* [[Water jet cutter]]s |
|||
* [[CNC wood router|Wood routers]] |
|||
{{Div col end}} |
|||
==Tool/machine crashing== |
|||
<blockquote>Now just picture the situation for a minute. Lockheed had contracted to design a machine to make these wings. This machine had five axes of cutter movement, and each of these was tracer controlled using a template. Nobody was using my method of making templates, so just imagine what chance they were going to have of making an accurate airfoil shape with inaccurate templates.<ref name=f/></blockquote> |
|||
In CNC, a "crash" occurs when the machine moves in such a way that is harmful to the machine, tools, or parts being machined, sometimes resulting in bending or breakage of cutting tools, accessory clamps, vises, and fixtures, or causing damage to the machine itself by bending guide rails, breaking drive screws, or causing structural components to crack or deform under strain. A mild crash may not damage the machine or tools but may damage the part being machined so that it must be scrapped. Many CNC tools have no inherent sense of the absolute position of the table or tools when turned on. They must be manually "homed" or "zeroed" to have any reference to work from, and these limits are just for figuring out the location of the part to work with it and are no hard motion limit on the mechanism. It is often possible to drive the machine outside the physical bounds of its drive mechanism, resulting in a collision with itself or damage to the drive mechanism. Many machines implement control parameters limiting axis motion past a certain limit in addition to physical [[limit switch]]es. However, these parameters can often be changed by the operator. |
|||
Many CNC tools also do not know anything about their working environment. Machines may have load sensing systems on spindle and axis drives, but some do not. They blindly follow the machining code provided and it is up to an operator to detect if a crash is either occurring or about to occur, and for the operator to manually abort the active process. Machines equipped with load sensors can stop axis or spindle movement in response to an overload condition, but this does not prevent a crash from occurring. It may only limit the damage resulting from the crash. Some crashes may not ever overload any axis or spindle drives. |
|||
Parsons worries soon came true, and in 1949 the Air Force arranged funding for Parsons to build his machines on his own.<ref name=f/> Early work with Snyder Machine & Tool Corp proved that the system of directly driving the controls from motors failed to have the accuracy needed to set the machine for a perfectly smooth cut. Since the mechanical controls did not respond in a linear fashion, you couldn't simply drive it with a certain amount of power, because the differing forces would mean the same amount of power would not always produce the same amount of motion in the controls. No matter how many points you included, the outline would still be rough. |
|||
If the drive system is weaker than the machine's structural integrity, then the drive system simply pushes against the obstruction, and the drive motors "slip in place". The machine tool may not detect the collision or the slipping, so for example the tool should now be at 210mm on the X-axis, but is, in fact, at 32mm where it hit the obstruction and kept slipping. All of the next tool motions will be off by −178mm on the X-axis, and all future motions are now invalid, which may result in further collisions with clamps, vises, or the machine itself. This is common in open-loop stepper systems but is not possible in closed-loop systems unless mechanical slippage between the motor and drive mechanism has occurred. Instead, in a closed-loop system, the machine will continue to attempt to move against the load until either the drive motor goes into an overload condition or a servo motor fails to get to the desired position. |
|||
=== Enter MIT === |
|||
This was not an impossible problem to solve, but would require some sort of feedback system, like a selsyn, to directly measure how far the controls had actually turned. Faced with the daunting task of building such a system, in the spring of 1949 Parsons turned to the [[MIT Servomechanisms Laboratory]], a world leader in mechanical computing and feedback systems.<ref>''Numerical Control'', pg. 16</ref> During the war the Lab had built a number of complex motor-driven devices like the motorized gun turret systems for the [[B-29]] and the automatic tracking system for the [[SCR-584]] radar. They were naturally suited to building a prototype of Parsons' automated "by-the-numbers" machine. |
|||
Collision detection and avoidance are possible, through the use of absolute position sensors (optical encoder strips or disks) to verify that motion occurred, or torque sensors or power-draw sensors on the drive system to detect abnormal strain when the machine should just be moving and not cutting, but these are not a common component of most hobby CNC tools. Instead, most hobby CNC tools simply rely on the assumed accuracy of [[stepper motors]] that rotate a specific number of degrees in response to magnetic field changes. It is often assumed the stepper is perfectly accurate and never missteps, so tool position monitoring simply involves counting the number of pulses sent to the stepper over time. An alternate means of stepper position monitoring is usually not available, so crash or slip detection is not possible. |
|||
The MIT team was led by William Pease assisted by James McDonough. They quickly concluded that Parsons' design could be greatly improved; if the machine did not simply cut ''at'' points A and B, but instead moved smoothly ''between'' the points, then not only would it make a perfectly smooth cut, but could do so with many fewer points - the mill could cut lines directly instead of having to define a large number of cutting points to "simulate" it. A three-way agreement was arranged between Parsons', MIT and the Air Force, and the project officially ran from July 1949 to June 1950.<ref name=c220>''Century'', pg. 220</ref> The contract called for the construction of two "Card-a-matic Milling Machine"s, a prototype and a production system. Both to be handed to Parsons for attachment to one of their mills in order to develop a deliverable system for cutting stringers. |
|||
Commercial CNC metalworking machines use closed-loop feedback controls for axis movement. In a closed-loop system, the controller monitors the actual position of each axis with an absolute or [[incremental encoder]]. Proper control programming will reduce the possibility of a crash, but it is still up to the operator and programmer to ensure that the machine is operated safely. However, during the 2000s and 2010s, the software for machining simulation has been maturing rapidly, and it is no longer uncommon for the entire machine tool envelope (including all axes, spindles, chucks, turrets, tool holders, tailstocks, fixtures, clamps, and stock) to be modeled accurately with [[3D modeling|3D solid models]], which allows the simulation software to predict fairly accurately whether a cycle will involve a crash. Although such simulation is not new, its accuracy and market penetration are changing considerably because of computing advancements.<ref name="Zelinski_2014-03-14">{{Citation |last= Zelinski |first=Peter |date=2014-03-14 |title=New users are adopting simulation software |journal=[[Modern Machine Shop]] |url=http://www.mmsonline.com/blog/post/new-users-are-adopting-simulation-software |postscript=.}}</ref> |
|||
Instead, in 1950 MIT bought a surplus [[Cincinnati Milling Machine Company]] "Hydro-Tel" mill of their own and arranged a new contract directly with the Air Force that froze Parsons out of further development.<ref name=f/> Parsons would later comment that he " never dreamed that anybody as reputable as MIT would deliberately go ahead and take over my project."<ref name=f/> In spite of the development being handed to MIT, Parsons filed for a patent on "Motor Controlled Apparatus for Positioning Machine Tool" on 5 May 1952, sparking a filing by MIT for a "Numerical Control Servo-System" on 14 August 1952. Parsons' received [http://www.google.com/patents?id=rRpqAAAAEBAJ&dq=2820187 US Patent 2,820,187] on 14 January 1958, and the company sold an exclusive license to [[Bendix]]. [[IBM]], [[Fujitsu]] and [[General Electric]] all took sub-licenses after having already started development of their own devices. |
|||
==Numerical precision and equipment backlash== |
|||
=== MIT's machine === |
|||
Within the numerical systems of CNC programming, the code generator can assume that the controlled mechanism is always perfectly accurate, or that precision tolerances are identical for all cutting or movement directions. While the common use of [[Ball screw|ball screws]] on most modern NC machines eliminates the vast majority of backlash, it still must be taken into account. CNC tools with a large amount of mechanical [[backlash (engineering)|backlash]] can still be highly precise if the drive or cutting mechanism is only driven to apply cutting force from one direction, and all driving systems are pressed tightly together in that one cutting direction. However, a CNC device with high backlash and a dull cutting tool can lead to cutter chatter and possible workpiece gouging. The backlash also affects the precision of some operations involving axis movement reversals during cutting, such as the milling of a circle, where axis motion is sinusoidal. However, this can be compensated for if the amount of backlash is precisely known by linear encoders or manual measurement. |
|||
MIT fit gears to the various handwheel inputs and drove them with [[roller chain]]s connected to motors, one for each of the machine's three axes (X, Y and depth). The associated controller consisted of five refrigerator-sized cabinets that, together, were almost as large as the mill they were connected to. Three of the cabinets contained the motor controllers, one controller for each motor, the other two the digital reading system.<ref name=a102>''Automatic'', pg. 102</ref> |
|||
The high backlash mechanism itself is not necessarily relied on to be repeatedly precise for the cutting process, but some other reference object or precision surface may be used to zero the mechanism, by tightly applying pressure against the reference and setting that as the zero references for all following CNC-encoded motions. This is similar to the manual machine tool method of clamping a [[Micrometer (device)|micrometer]] onto a reference beam and adjusting the [[Vernier scale|Vernier]] dial to zero using that object as the reference.{{citation needed|date=November 2017}} |
|||
Unlike Parsons' original punch card design, the MIT design used standard 7-track [[punch tape]] for input. Three of the tracks were used to control the different axes of the machine, while the other four encoded various control information.<ref name=a110/> The tape was read in a cabinet that also housed six [[relay]]-based [[hardware register]]s, two for each axis. With every read operation the previously read point was copied into the "starting point" register, and the newly read one into the "ending point".<ref name=a110/> The tape was read continually and the number in the register increased until a "stop" instruction, four holes in a line, was encountered. |
|||
==Positioning control system== |
|||
The final cabinet held a clock that sent pulses through the registers, compared them, and generated output pulses that interpolated between the points. For instance, if the points were far apart the output would have pulses with every clock cycle, whereas closely spaced points would only generate pulses after multiple clock cycles. The pulses are sent into a summing register in the motor controllers, counting up by the number of pulses every time they were received. The summing registers were connected to a [[digital to analog convertor]] that output increasing power to the motors as the count in the registers increased.<ref name=a110/> |
|||
In numerical control systems, the position of the tool is defined by a set of instructions called the [[part program]]. Positioning control is handled using either an open-loop or a closed-loop system. In an open-loop system, communication takes place in one direction only: from the controller to the motor. In a closed-loop system, feedback is provided to the controller so that it can correct for errors in position, velocity, and acceleration, which can arise due to variations in load or temperature. Open-loop systems are generally cheaper but less accurate. Stepper motors can be used in both types of systems, while servo motors can only be used in closed systems. |
|||
===Cartesian coordinates=== |
|||
The registers were decremented by encoders attached to the motors and the mill itself, which would reduce the count by one for every one degree of rotation. Once the second point was reached the pulses from the clock would stop, and the motors would eventually drive the mill to the encoded position. Each 1 degree rotation of the controls produced a 0.0005 inch movement of the cutting head..<ref name=a110>''Automatic'', pg. 110</ref> The programmer could control the speed of the cut by selecting points that were closer together for slow movements, or further apart for rapid ones.<ref name=a112>''Automatic'', pg. 112</ref> |
|||
The G & M code positions are all based on a three-dimensional [[Cartesian coordinate system]]. This system is a typical plane often seen in mathematics when graphing. This system is required to map out the machine tool paths and any other kind of actions that need to happen in a specific coordinate. Absolute coordinates are what are generally used more commonly for machines and represent the (0,0,0) point on the plane. This point is set on the stock material to give a starting point or "home position" before starting the actual machining. |
|||
==Coding== |
|||
The system was publicly demonstrated in September 1952, appearing in that month's ''[[Scientific American]]''. MIT's system was an outstanding success by any technical measure, quickly making any complex cut with extremely high accuracy that could not easily be duplicated by hand. However, the system was terribly complex, including 250 [[vacuum tube]]s, 175 relays and numerous moving parts, reducing its reliability in a production setting. It was also very expensive, the total bill presented to the Air Force was $360,000.14, $2,641,727.63 in 2005 dollars.<ref>''New Technology'', pg. 47</ref> Between 1952 and 1956 the system was used to mill a number of one-off designs for various aviation firms, in order to study their potential economic impact.<ref name=o66>''Origins'', pg. 66</ref> |
|||
===G-codes=== |
|||
[[G-code]]s are used to command specific movements of the machine, such as machine moves or drilling functions. The majority of G-code programs start with a percent (%) symbol on the first line, then followed by an "O" with a numerical name for the program (i.e. "O0001") on the second line, then another percent (%) symbol on the last line of the program. The format for a G-code is the letter G followed by two to three digits; for example G01. G-codes differ slightly between a mill and lathe application, for example: |
|||
:[G00 Rapid Motion Positioning] |
|||
:[G01 Linear Interpolation Motion] |
|||
:[G02 Circular Interpolation Motion-Clockwise] |
|||
:[G03 Circular Interpolation Motion-Counter Clockwise] |
|||
:[G04 Dwell (Group 00) Mill] |
|||
:[G10 Set offsets (Group 00) Mill] |
|||
:[G12 Circular Pocketing-Clockwise] |
|||
:[G13 Circular Pocketing-Counter Clockwise] |
|||
=== |
===M-codes=== |
||
[Code Miscellaneous Functions (M-Code)]{{citation needed|date=November 2017}}. M-codes are miscellaneous machine commands that do not command axis motion. The format for an M-code is the letter M followed by two to three digits; for example: |
|||
The Air Force funding for the project ran out in 1953, but development was picked up by the Giddings and Lewis Machine Tool Co. In 1955 many of the MIT team left to form Concord Controls, a commercial NC company with Giddings' backing, producing the [[Numericord]] controller.<ref name=o66/> Numericord was similar to the MIT design, but replaced the punch tape with a [[magnetic tape]] reader that [[General Electric]] was working on. The tape contained a number of signals of different phases, which directly encoded the angle of the various controls. The tape was played at a constant speed in the controller, which set its half of the selsyn to the encoded angles while the remote side was attached to the machine controls. Designs were still encoded on paper tape, but the tapes were transfered to a reader/writer that converted them into magnetic form. The magtapes could then be used on any of the machines on the floor, where the controllers were greatly reduced in complexity. Developed to produce highly accurate dies for an aircraft skinning press, the Numericord "NC5" went into operation at G&L's plant at [[Fond du Lac, WI]] in 1955.<ref>''Cutting'', pg. 4</ref> |
|||
:[M01 Operational stop] |
|||
Monarch Machine Tool also developed an NC-controlled lathe, starting in 1952. They demonstrated their machine at the 1955 Chicago Machine Tool Show, along with a number of other vendors with punch card or paper tape machines that were either fully developed or in prototype form. These included Kearney & Trecker’s Milwaukee-Matic II that could change its cutting tool under NC control.<ref name=cut5>''Cutting'', pg. 5</ref> |
|||
:[M02 End of Program] |
|||
:[M03 Start Spindle - Clockwise] |
|||
:[M04 Start Spindle - Counter Clockwise] |
|||
:[M05 Stop Spindle] |
|||
:[M06 Tool Change] |
|||
:[M07 Coolant on mist coolant] |
|||
:[M08 Flood coolant on] |
|||
:[M09 Coolant off] |
|||
:[M10 Chuck open] |
|||
:[M11 Chuck close] |
|||
:[M12 Spindle up] |
|||
:[M13 BOTH M03&M08 Spindle clockwise rotation & flood coolant] |
|||
:[M14 BOTH M04&M08 Spindle counter clockwise rotation & flood coolant] |
|||
:[M15 BOTH M05&M09 Spindle stop and Flood coolant off] |
|||
:[M16 Special tool call] |
|||
:[M19 Spindle orientate] |
|||
:[M29 DNC mode] |
|||
:[M30 Program reset & rewind] |
|||
:[M38 Door open] |
|||
:[M39 Door close] |
|||
:[M40 Spindle gear at middle] |
|||
:[M41 Low gear select] |
|||
:[M42 High gear select] |
|||
:[M53 Retract Spindle] (raises tool spindle above current position to allow operator to do whatever they would need to do) |
|||
:[M68 Hydraulic chuck close] |
|||
:[M69 Hydraulic chuck open] |
|||
:[M78 Tailstock advancing] |
|||
:[M79 Tailstock reversing] |
|||
===Example=== |
|||
A Boeing report noted that "numerical control has proved it can reduce costs, reduce lead times, improve quality, reduce tooling and increase productivity.”<ref name=cut5/> In spite of these developments, and glowing reviews from the few users, uptake of NC was relatively slow. As Parsons later noted: |
|||
<syntaxhighlight lang="text"> |
|||
% |
|||
O0001 |
|||
G20 G40 G80 G90 G94 G54(Inch, Cutter Comp. Cancel, Deactivate all canned cycles, moves axes to machine coordinate, feed per min., origin coordinate system) |
|||
M06 T01 (Tool change to tool 1) |
|||
G43 H01 (Tool length comp. in a positive direction, length compensation for the tool) |
|||
M03 S1200 (Spindle turns CW at 1200RPM) |
|||
G00 X0. Y0. (Rapid Traverse to X=0. Y=0.) |
|||
G00 Z.5 (Rapid Traverse to z=.5) |
|||
G00 X1. Y-.75 (Rapid traverse to X1. Y-.75) |
|||
G01 Z-.1 F10 (Plunge into part at Z-.25 at 10in per min.) |
|||
G03 X.875 Y-.5 I.1875 J-.75 (CCW arc cut to X.875 Y-.5 with radius origin at I.625 J-.75) |
|||
G03 X.5 Y-.75 I0.0 J0.0 (CCW arc cut to X.5 Y-.75 with radius origin at I0.0 J0.0) |
|||
G03 X.75 Y-.9375 I0.0 J0.0(CCW arc cut to X.75 Y-.9375 with radius origin at I0.0 J0.0) |
|||
G02 X1. Y-1.25 I.75 J-1.25 (CW arc cut to X1. Y-1.25 with radius origin at I.75 J-1.25) |
|||
G02 X.75 Y-1.5625 I0.0 J0.0 (CW arc cut to X.75 Y-1.5625 with same radius origin as the previous arc) |
|||
G02 X.5 Y-1.25 I0.0 J0.0 (CW arc cut to X.5 Y-1.25 with same radius origin as the previous arc) |
|||
G00 Z.5 (Rapid traverse to z.5) |
|||
M05 (spindle stops) |
|||
G00 X0.0 Y0.0 (Mill returns to origin) |
|||
M30 (Program End) |
|||
% |
|||
</syntaxhighlight> |
|||
Having the correct speeds and feeds in the program provides for a more efficient and smoother product run. Incorrect speeds and feeds will cause damage to the tool, machine spindle, and even the product. The quickest and simplest way to find these numbers would be to use a calculator that can be found online. A formula can also be used to calculate the proper speeds and feeds for a material. These values can be found online or in [[Machinery's Handbook]]. |
|||
<blockquote>The NC concept was so strange to manufacturers, and so slow to catch on, that the US Army itself finally had to build 120 NC machines and lease them to various manufacturers to begin popularizing its use.<ref name=f/></blockquote> |
|||
==See also== |
|||
In 1958 the MIT published its report on the economics of NC. They concluded that the tools were competitive with human operators, but simply moved the time from the machining to the creation of the tapes. In ''Forces of production'' Noble claims that this was the whole point as far as the Air Force was concerned; moving the process off of the highly unionized factory floor and into the un-unionized [[white collar]] design office.<ref>''Forces''</ref> |
|||
*[[Automatic tool changer]] |
|||
*[[Binary cutter location]] |
|||
*[[CNC plunge milling]] |
|||
*[[Computer-aided technologies]] |
|||
**[[Computer-aided engineering]] (CAE) |
|||
*[[Coordinate-measuring machine]] (CMM) |
|||
*[[Design for manufacturability]] |
|||
*[[Direct numerical control]] (DNC) |
|||
*[[Electronic Industries Alliance|EIA]] [[RS-274]] |
|||
*[[Electronic Industries Alliance|EIA]] [[RS-494]] |
|||
*[[Gerber format]] |
|||
*[[Home automation]] |
|||
*[[Maslow CNC]] |
|||
*[[Multiaxis machining]] |
|||
*[[Optical tracer]] |
|||
*[[Part program]] |
|||
*[[Robotics]] |
|||
*[[Touch probe]] |
|||
*[[List of computer-aided manufacturing software]] |
|||
== |
==References== |
||
{{Reflist}} |
|||
Many of the commands for the experimental parts were programmed "by hand" to produce the [[punch tape]]s that were used as input. While the system was being experimented with, John Runyon made a number of subroutines on the famous [[Whirlwind (computer)|Whirlwind]] to produce these tapes under computer control.<ref name=o66/> Users could input a list of points and speeds, and the program would generate the punch tape. In one instance, this process reduced the time required to produce the instruction list and mill the part from 8 hours to 15 minutes. This led to a proposal to the Air Force to produce a generalized "programming" language for numerical control, which was accepted in June 1956.<ref name=o66/> |
|||
==Further reading== |
|||
Starting in September Ross and Pople outlined a language for machine control that was based on points and lines, developing this over several years into the [[APT programming language]].<ref name=o66/> In 1957 the [[Aerospace Industries Association|Aircraft Industries Association]] (AIA) and [[Air Material Command]] at the [[Wright-Patterson Air Force Base]] joined with MIT to standardize this work and produce a fully computer-conrolled NC system. On 25 February 1959 the combined team held a press conference showing the results, including a 3D machined aluminum ash tray that was handed out in the [[press kit]].<ref name=o61>''Origins'', pg. 61</ref> |
|||
* {{Citation | last = Brittain | first = James | year = 1992 | title = Alexanderson: Pioneer in American Electrical Engineering | publisher = Johns Hopkins University Press | isbn = 0-8018-4228-X | postscript =.}} |
|||
* {{Holland1989}} |
|||
Meanwhile, [[Patrick Hanratty]] was making similar developments at GE as part of their partnership with G&L on the Numericord. His language, PRONTO, beat APT into commercial use when it was "released" in 1958.<ref>[http://www.americanmachinist.com/304/Issue/Article/False/9168/Issue "The CAD/CAM Hall of Fame: Patrick J. Hanratty"], ''American Machinist''</ref> Hanratty then went on to develop [[MICR]] magnetic ink characters that were used in cheque processing, before moving to [[General Motors]] to work on the groundbreaking [[DAC-1]] CAD system. |
|||
* {{Noble1984}} |
|||
* {{Citation | last = Reintjes | first = J. Francis | year = 1991 | title = Numerical Control: Making a New Technology | publisher = Oxford University Press | isbn = 978-0-19-506772-9 | postscript =.}} |
|||
APT was soon extended to include "real" curves in 2D-APT-II. With its release, MIT reduced its focus on CNC as it moved into CAD experiments. APT development was picked up with the AIA in San Diego, and in 1962, to Illinois Institute of Technology Research. Work on making APT an international standard started in 1963 under USASI X3.4.7, but many manufacturers of CNC machines had their own one-off additions (like PRONTO), so standardization was not completed until 1968, when there were 25 optional add-ins to the basic system.<ref name=o61>''Origins'', pg. 61</ref> |
|||
*{{Citation | last = Weisberg | first = David | title = The Engineering Design Revolution | url = http://www.cadhistory.net/chapters/03_MIT_CAD_Roots_1945_1965.pdf | archiveurl = https://web.archive.org/web/20100707074750/http://www.cadhistory.net/chapters/03_MIT_CAD_Roots_1945_1965.pdf | archivedate = 7 July 2010 | url-status = dead | postscript =.}} |
|||
* {{Citation | last1 = Wildes | first1 = Karl L. | last2 = Lindgren | first2 = Nilo A. | year = 1985 | title = A Century of Electrical Engineering and Computer Science at MIT | publisher = MIT Press | isbn = 0-262-23119-0 | postscript = . | url-access = registration | url = https://archive.org/details/centuryofelectri0000wild }} |
|||
Just as APT was being released in the early 1960s, a second generation of lower-cost transistorized computers was hitting the market that were able to process much larger volumes of information in production settings. This so lowered the cost of implementing a NC system that by the mid 1960s, APT runs accounted for a third of all computer time at large aviation firms. |
|||
* Herrin, Golden E. [https://web.archive.org/web/20090427085904/http://www.mmsonline.com/columns/industry-honors-the-inventor-of-nc.aspx "Industry Honors The Inventor Of NC"], ''Modern Machine Shop'', 12 January 1998. |
|||
* Siegel, Arnold. "Automatic Programming of Numerically Controlled Machine Tools", ''Control Engineering'', Volume 3 Issue 10 (October 1956), pp. 65–70. |
|||
=== CAD meets CNC === |
|||
* {{Smid2008}} |
|||
While the Servomechanisms Lab was in the process of developing their first mill, in 1953 MIT's Mechanical Engineering Department dropped the requirement that undergraduates take courses in drawing. The instructors formerly teaching these programs were merged into the Design Division, where an informal discussion of computerized design started. Meanwhile the Electronic Systems Laboratory, the newly rechristened Servomechanisms Laboratory, had been discussing whether or not design would ever start with paper diagrams in the future.<ref name=r39>''Revolution'', pg. 3.9</ref> |
|||
* Christopher jun Pagarigan (Vini) Edmonton Alberta Canada. CNC Infomatic, ''Automotive Design & Production''. |
|||
* Fitzpatrick, Michael (2019), "Machining and CNC Technology". |
|||
In January 1959, an informal meeting was held involving individuals from both the Electronic Systems Laboratory and the Mechanical Engineering Department's Design Division. Formal meetings followed in April and May, which resulted in the "Computer-Aided Design Project". In December 1959, the Air Force issued a one year contract to ESL for $223,000 to fund the Project, including $20,800 earmarked for 104 hours of computer time at $200 per hour.<ref name=r310>''Revolution'', pg. 3.10</ref> This proved to be far too little for the ambitious program they had in mind, although their engineering calculation system, [[Automated Engineering Design|AED]], was released in March 1965. |
|||
In 1959 General Motors started an experimental project to digitize, store and print the many design sketches being generated in the various GM design departments. When the basic concept demonstrated that it could work, they started the [[DAC-1]] project with [[IBM]] to develop a production version. One part of the DAC project was the direct conversion of paper diagrams into 3D models, which were then converted into APT commands and cut on milling machines. In November 1963 a trunk lid design moved from 2D paper sketch to 3D clay prototype for the first time.<ref>Krull, pg. 53</ref> With the exception of the initial sketch, the design-to-production loop had been closed. |
|||
Meanwhile MIT's offsite [[Lincoln Labs]] was building computers to test new transistorized designs. The ultimate goal was essentially a transistorized Whirlwind known as [[TX-2]], but in order to test various circuit designs a smaller version known as [[TX-0]] was built first. When construction of TX-2 started, time in TX-0 freed up and this led to a number of experiments involving interactive input and use of the machine's [[cathode ray tube|CRT]] display for graphics. Further development of these concepts led to [[Ivan Sutherland]]'s groundbreaking [[Sketchpad]] program on the TX-2. |
|||
Sutherland moved to the [[University of Utah]] after his Sketchpad work, but it inspired other MIT graduates to attempt the first true CAD system, [[Digigraphics|Electronic Drafting Machine]] (EDM). It was EDM, sold to [[Control Data]] and known as "Digigraphics", that [[Lockheed]] used to build production parts for the [[C-5 Galaxy]], the first example of an end-to-end CAD/CNC production system. |
|||
By 1970 there were a wide variety of CAD firms including [[Intergraph]], [[Applicon]], [[Computervision]], [[Auto-trol Technology]], [[UGS Corp.]] and others, as well as large vendors like CDC and IBM. |
|||
=== Proliferation of CNC === |
|||
The price of computer cycles fell drastically during the 1960s with the widespread introduction of useful [[minicomputer]]s. Eventually it became less expensive to handle the motor control and feedback with a computer program than it was with dedicated servo systems. Small computers were dedicated to a single mill, placing the entire process in a small box. [[PDP-8]]'s and [[Data General Nova]] computers were common in these roles. The introduction of the [[microprocessor]] in the 1970s further reduced the cost of implementation, and today almost all CNC machines use some form of microprocessor to handle all operations. |
|||
The introduction of lower-cost CNC machines radically changed the manufacturing industry. Curves are as easy to cut as straight lines, complex 3-D structures are relatively easy to produce, and the number of machining steps that required human action have been dramatically reduced. With the increased automation of manufacturing processes with CNC machining, considerable improvements in consistency and quality have been achieved with no strain on the operator. CNC automation reduced the frequency of errors and provided CNC operators with time to perform additional tasks. CNC automation also allows for more flexibility in the way parts are held in the manufacturing process and the time required to change the machine to produce different components. |
|||
During the early 1970s the Western economies were mired in slow economic growth and rising employment costs, and NC machines started to become more attractive. The major U.S. vendors were slow to respond to the demand for machines suitable for lower-cost NC systems, and into this void stepped the Germans. In 1979, sales of German machines surpassed the U.S. designs for the first time. This cycle quickly repeated itself, and by 1980 Japan had taken a leadership position, U.S. sales dropping all the time. Once sitting in the #1 position in terms of sales on a top-ten chart consisting entirely of U.S. companies in 1971, by 1987 Cincinnati Milacron was in 8th place on a chart heavily dominated by Japanese firms.<ref name=r>''Recent History''</ref> |
|||
Many researchers have commented that the U.S. focus on high-end applications left them in an uncompetitive situation when the economic downturn in the early 1970s led to greatly increased demand for low-cost NC systems. Unlike the U.S. companies, who had focused on the highly profitable aerospace market, German and Japanese manufacturers targeted lower-profit segments from the start and were able to enter the low-cost markets much more easily.<ref name=r/><ref>{{Harvnb|Holland|1989}}.</ref> |
|||
=== Today === |
|||
Although modern data storage techniques have moved on from punch tape in almost every other role, tapes are still relatively common in CNC systems. This is because it was often easier to add a punch tape reader to a microprocessor controller than it was to re-write large libraries of tapes into a new format. One change that was implemented fairly widely was the switch from paper to [[mylar]] tapes, which are much more mechanically robust. [[Floppy disk]]s, [[USB flash drive]]s and [[local area network]]ing have replaced the tapes to some degree, especially in larger environments that are highly integrated. |
|||
The proliferation of CNC led to the need for new CNC standards that were not encumbered by licensing or particular design concepts, like APT. A number of different "standards" proliferated for a time, often based around [[vector graphics markup language]]s supported by [[plotter]]s. One such standard has since become very common, the "[[G-code]]" that was originally used on [[Gerber Scientific]] plotters and then adapted for CNC use. The file format became so widely used that it has been embodied in an [[Electronic Industries Alliance|EIA]] standard. In turn, G-code was supplanted by [[STEP-NC]], a system that was deliberately designed for CNC, rather than grown from an existing plotter standard. |
|||
A more recent advancement in CNC interpreters is support of logical commands, known as parametric programming. Parametric programs include both device commands as well as a control language similar to [[BASIC]]. The programmer can make if/then/else statements, loops, subprogram calls, perform various arithmetic, and manipulate variables to create a large degree of freedom within one program. An entire product line of different sizes can be programmed using logic and simple math to create and scale an entire range of parts, or create a stock part that can be scaled to any size a customer demands. |
|||
As digital electronics has spread, CNC has fallen in price to the point where hobbyists can purchase any number of small CNC systems for home use. It is even possible to [http://hackedgadgets.com/2007/06/21/home-made-cnc-machine/ build your own]. |
|||
== Description == |
|||
Modern CNC mills differ little in concept from the original model built at MIT in 1952. Mills typically consist of a table that moves in the Y axis, and a tool chuck that moves in X and Z (depth). The position of the tool is driven by motors through a series of step-down gears in order to provide highly accurate movements, or in modern designs, direct-drive [[stepper motor]]s. |
|||
As the controller hardware evolved, the mills themselves also evolved. One change has been to enclose the entire mechanism in a large box as a safety measure, often with additional safety interlocks to ensure the operator is far enough from the working piece for safe operation. Mechanical manual controls disappeared long ago. |
|||
CNC-like systems are now used for any process that can be described as a series of movements and operations. These include [[laser cutting]], [[welding]], friction stir welding, [[ultrasonic welding]], flame and [[plasma cutting]], bending, spinning, pinning, gluing, fabric cutting, sewing, tape and fiber placement, routing, picking and placing (PnP), and sawing. |
|||
=== Tools with CNC variants === |
|||
* [[Drill]]s |
|||
* [[Electrical discharge machining|EDMs]] |
|||
* [[Lathe (tool)|Lathes]] |
|||
* [[Milling machine]]s |
|||
* [[CNC wood router|Wood routers]] |
|||
* [[Sheet metal|Sheet metal works]] (Turret Punch) |
|||
* Wire bending machines |
|||
* [[Hot-wire foam cutter]]s |
|||
* [[Plasma cutting]]s |
|||
* [[Water jet cutter]]s |
|||
* [[Laser cutting]] |
|||
* [[Oxy-fuel welding and cutting|Oxy-fuel]] |
|||
* [[Surface grinder]]s |
|||
* [[Cylindrical grinder]]s |
|||
== References == |
|||
{{reflist}} |
|||
==== Bibliography ==== |
|||
{{refbegin}} |
|||
* [http://www.sme.org/cgi-bin/find-articles.pl?&01aum042&ME&20010802&&SME& "The Father of the Second Industrial Revolution"], ''Manufacturing Engineering'', Volume 127 Number 2 (August 2001) |
|||
* Herrin, Golden E. [http://www.mmsonline.com/columns/industry-honors-the-inventor-of-nc.aspx "Industry Honors The Inventor Of NC"], ''Modern Machine Shop'', 12 January 1998. |
|||
* {{cite book | last = Holland | first = Max | = Max Holland | title = When the Machine Stopped | publisher = Harvard Business School Press | location = Boston | year = 1989 | isbn = 978-0-87584-208-0 }} |
|||
* Krull, F.N. "The origin of computer graphics within General Motors", ''Annals of the History of Computing'', IEEE, Volume 16 Issue 3, (Fall 1994) pp. 40. |
|||
* {{citation | last = Noble | first = David F. | authorlink = David F. Noble | year = 1984 | title = Forces of production: a social history of industrial automation | publisher = Knopf | location = New York | isbn = 978-0-394-51262-4 | id = {{LCCN|83||048867}} }}. |
|||
* Pease, William. "An Automatic Machine Tool", ''Scientific American'', September 1952, pp. 101-115. |
|||
* Reintjes, J. Francis. "Numerical Control: Making a New Technology", Oxford University Press, 1991. |
|||
* Ross, Douglas. [http://ied.unipr.it/silve/meaz/origini-APT.pdf "Origins of the APT language for automatically programmed tools"], ''ACM SIGPLAN Notices'', Volume 13 Issue 8 (August 1978), pp. 61-99. |
|||
* Siegel, Arnold. "Automatic Programming of Numerically Controlled Machine Tools", ''Control Engineering'', Volume 3 Issue 10 (October 1956), pp. 65-70. |
|||
* Vasilash, Gary. [http://www.autofieldguide.com/columns/0498stic.html "Man of Our Age"], ''Automotive Design & Production''. |
|||
* Weisberg, David. [http://www.cadhistory.net/ "The Engineering Design Revolution"]. |
|||
* Wildes, Karl L., and Lindgren, Nilo A. "A Century of Electrical Engineering and Computer Science at MIT", MIT Press, 1985, ISBN 0-262-23119-0. |
|||
* William Makely, [http://www.cuttingtoolengineering.com/pdf/2005/0508-50anniversary.pdf "Numbers Take Control: NC Machines"], ''Cutting Tool Engineering'', Volume 57 Number 8 (August 2005) |
|||
* Heinrich Arnold, [http://www.google.com/search?q=The%20recent%20history%20of%20the%20machine%20tool%20industry%20and%20the%20effects%20of%20technological%20change "The recent history of the machine tool industry and the effects of technological change"], LMU, November 2001 |
|||
{{refend}} |
|||
== See also == |
|||
*[[Computer-aided design]] (CAD) |
|||
*[[Computer-aided engineering]] (CAE) |
|||
*[[Computer-aided manufacturing]] (CAM) |
|||
*[[Coordinate-measuring machine]] (CMM) |
|||
*[[G-code]] |
|||
*[[STEP-NC]] |
|||
*[[Direct Numerical Control]] (DNC) |
|||
*[[Design for Manufacturability for CNC machining]] |
|||
*[[Gordon S. Brown]] |
|||
== External links == |
|||
{{commonscat}} |
|||
* {{Commons category-inline|Computer numerical control}} |
|||
<!--===========================({{NoMoreLinks}})=============================== |
|||
<!--===========================({{No more links}})============================= |
|||
| DO NOT ADD MORE LINKS TO THIS ARTICLE. WIKIPEDIA IS NOT A COLLECTION OF | |
| DO NOT ADD MORE LINKS TO THIS ARTICLE. WIKIPEDIA IS NOT A COLLECTION OF | |
||
| LINKS. If you think that your link might be useful, do not add it here, | |
| LINKS. If you think that your link might be useful, do not add it here, | |
||
Line 178: | Line 227: | ||
| Links that have not been verified WILL BE DELETED. | |
| Links that have not been verified WILL BE DELETED. | |
||
| See [[Wikipedia:External links]] and [[Wikipedia:Spam]] for details | |
| See [[Wikipedia:External links]] and [[Wikipedia:Spam]] for details | |
||
===========================({{ |
===========================({{No more links}})============================= --> |
||
{{Metalworking |
{{Metalworking navbox|machopen}} |
||
{{Robotics}} |
|||
[[Computer numerical control]] |
|||
{{Authority control}} |
|||
{{DEFAULTSORT:Numerical Control}} |
|||
[[Category:CNC, CAD, and CAM]] |
|||
[[Category: |
[[Category:Numerical control| ]] |
||
[[Category:Articles containing video clips]] |
|||
[[fr:Machine-outil à commande numérique]] |
|||
[[ar:تصنيع باستخدام الحاسب الآلي]] |
|||
[[az:CNC]] |
|||
[[da:CNC-maskine]] |
|||
[[de:Numerische Steuerung]] |
|||
[[et:Arvprogrammjuhtimine]] |
|||
[[es:Control numérico por computadora]] |
|||
[[eo:Perkomputile ciferece stirata]] |
|||
[[fa:سیانسی]] |
|||
[[fr:Commande numérique]] |
|||
[[id:CNC]] |
|||
[[it:Computer numerical control]] |
|||
[[he:CNC]] |
|||
[[lt:CNC]] |
|||
[[hu:CNC]] |
|||
[[nl:CNC]] |
|||
[[ja:CNC]] |
|||
[[no:Computer Numerical Control]] |
|||
[[pl:Obrabiarka sterowana numerycznie]] |
|||
[[pt:CNC]] |
|||
[[ru:ЧПУ]] |
|||
[[sl:NC]] |
|||
[[fi:Numeerinen ohjaus]] |
|||
[[sv:Computer Numerical Control]] |
|||
[[vi:CNC]] |
|||
[[tr:CNC]] |
|||
[[uk:Числове керування]] |
|||
[[zh:数控机床]] |
Latest revision as of 02:38, 14 November 2024
In machining, numerical control, also called computer numerical control (CNC),[1] is the automated control of tools by means of a computer.[2] It is used to operate tools such as drills, lathes, mills, grinders, routers and 3D printers. CNC transforms a piece of material (metal, plastic, wood, ceramic, stone, or composite) into a specified shape by following coded programmed instructions and without a manual operator directly controlling the machining operation.
A CNC machine is a motorized maneuverable tool and often a motorized maneuverable platform, which are both controlled by a computer, according to specific input instructions. Instructions are delivered to a CNC machine in the form of a sequential program of machine control instructions such as G-code and M-code, and then executed. The program can be written by a person or, far more often, generated by graphical computer-aided design (CAD) or computer-aided manufacturing (CAM) software. In the case of 3D printers, the part to be printed is "sliced" before the instructions (or the program) are generated. 3D printers also use G-Code.[3]
CNC offers greatly increased productivity over non-computerized machining for repetitive production, where the machine must be manually controlled (e.g. using devices such as hand wheels or levers) or mechanically controlled by pre-fabricated pattern guides (see pantograph mill). However, these advantages come at significant cost in terms of both capital expenditure and job setup time. For some prototyping and small batch jobs, a good machine operator can have parts finished to a high standard whilst a CNC workflow is still in setup.
In modern CNC systems, the design of a mechanical part and its manufacturing program are highly automated. The part's mechanical dimensions are defined using CAD software and then translated into manufacturing directives by CAM software. The resulting directives are transformed (by "post processor" software) into the specific commands necessary for a particular machine to produce the component and then are loaded into the CNC machine.
Since any particular component might require the use of several different tools – drills, saws, touch probes etc. – modern machines often combine multiple tools into a single "cell". In other installations, several different machines are used with an external controller and human or robotic operators that move the component from machine to machine. In either case, the series of steps needed to produce any part is highly automated and produces a part that meets every specification in the original CAD drawing, where each specification includes a tolerance.
Description
[edit]Motion is controlling multiple axes, normally at least two (X and Y),[4] and a tool spindle that moves in the Z (depth). The position of the tool is driven by direct-drive stepper motors or servo motors to provide highly accurate movements, or in older designs, motors through a series of step-down gears. Open-loop control works as long as the forces are kept small enough and speeds are not too great. On commercial metalworking machines, closed-loop controls are standard and required to provide the accuracy, speed, and repeatability demanded.
Parts description
[edit]As the controller hardware evolved, the mills themselves also evolved. One change has been to enclose the entire mechanism in a large box as a safety measure (with safety glass in the doors to permit the operator to monitor the machine's function), often with additional safety interlocks to ensure the operator is far enough from the working piece for safe operation. Most new CNC systems built today are 100% electronically controlled.
CNC-like systems are used for any process that can be described as movements and operations. These include laser cutting, welding, friction stir welding, ultrasonic welding, flame and plasma cutting, bending, spinning, hole-punching, pinning, gluing, fabric cutting, sewing, tape and fiber placement, routing, picking and placing, and sawing.
History
[edit]The first CNC machines were built in the 1940s and 1950s, based on existing tools that were modified with motors that moved the tool or part to follow points fed into the system on punched tape.[3] These early servomechanisms were rapidly augmented with analog and digital computers, creating the modern CNC machine tools that have revolutionized machining processes.
Today
[edit]Now the CNC in the processing manufacturing field has been very extensive, not only the traditional milling and turning, other machines and equipment are also installed with the corresponding CNC, which makes the manufacturing industry in its support, greatly improving the quality and efficiency. Of course, the latest trend in CNC[5] is to combine traditional subtractive manufacturing with additive manufacturing (3D printing) to create a new manufacturing method[6] - hybrid additive subtractive manufacturing (HASM).[7] Another trend is the combination of AI, using a large number of sensors, with the goal of achieving flexible manufacturing.[8]
Examples of CNC machines
[edit]CNC machine | Description | Image |
---|---|---|
Mill | Translates programs consisting of specific numbers and letters to move the spindle (or workpiece) to various locations and depths. Can either be a Vertical Milling Center (VMC) or a Horizontal Milling Center, depending on the orientation of the spindle. Many use G-code. Functions include: face milling, shoulder milling, tapping, drilling and some even offer turning. Today, CNC mills can have 3 to 6 axes. Most CNC mills require placing the workpiece on or in them and must be at least as big as the workpiece, but new 3-axis machines are being produced that are much smaller. | |
Lathe | Cuts workpieces while they are rotated. Makes fast, precision cuts, generally using indexable tools and drills. Effective for complicated programs designed to make parts that would be unfeasible to make on manual lathes. Similar control specifications to CNC mills and can often read G-code. Generally have two axes (X and Z), but newer models have more axes, allowing for more advanced jobs to be machined. Most modern lathes have live tooling, allowing for limited milling operations to take place without having to remove the part from the lathe spindle. Second operations can be completed by using a sub-spindle, which is co-axial to the main spindle, but faces the other direction. This allows the part to be removed from the main spindle, and for additional features to be machined in the back side of the part. | |
Plasma cutter | Involves cutting a material using a plasma torch. Commonly used to cut steel and other metals, but can be used on a variety of materials. In this process, gas (such as compressed air) is blown at high speed out of a nozzle; at the same time, an electrical arc is formed through that gas from the nozzle to the surface being cut, turning some of that gas to plasma. The plasma is sufficiently hot to melt the material being cut and moves sufficiently fast to blow molten metal away from the cut. | |
Electric discharge machining | (EDM), also known as spark machining, spark eroding, burning, die sinking, or wire erosion, is a manufacturing process in which the desired shape is obtained using electrical discharges (sparks). Material is removed from the workpiece by a series of rapidly recurring current discharges between two electrodes, separated by a dielectric fluid and subject to an electric voltage. One of the electrodes is called the tool electrode, or simply the "tool" or "electrode", while the other is called the workpiece electrode, or "workpiece".
EDM can be broadly divided into "sinker" type processes, where the electrode is the positive shape of the resulting feature in the part, and the electric discharge erodes this feature into the part, resulting in the negative shape, and "wire" type processes. Sinker processes are rather slow as compared to conventional machining, averaging on the order of 100mm3/min,[9] as compared to 8x106 mm3/min for conventional machining, but it can generate features that conventional machining cannot. Wire EDM operates by using a thin conductive wire, typically brass, as the electrode, and discharging as it runs past the part being machined. This is useful for complex profiles with inside 90 degree corners that would be challenging to machine with conventional methods. |
|
Multi-spindle machine | Type of screw machine used in mass production. Considered to be highly efficient by increasing productivity through automation. Can efficiently cut materials into small pieces while simultaneously utilizing a diversified set of tooling. Multi-spindle machines have multiple spindles on a drum that rotates on a horizontal or vertical axis. The drum contains a drill head which consists of several spindles that are mounted on ball bearings and driven by gears. There are two types of attachments for these drill heads, fixed or adjustable, depending on whether the center distance of the drilling spindle needs to be varied.[10] | |
Water jet cutter | Also known as a "waterjet", is a tool capable of slicing into metal or other materials (such as granite) by using a jet of water at high velocity and pressure, on the order of 60,000 PSI, or a mixture of water and an abrasive substance, such as garnet powder. It is often used during the fabrication or manufacture of parts for machinery and other devices. Waterjet cutting is the preferred machining method when the materials being cut are sensitive to the high temperatures generated by other methods. It has found applications in a diverse number of industries from mining to aerospace where it is used for operations such as cutting, shaping, carving, and reaming. The thickness of material processable via waterjet machining is generally limited by the pressure of the waterjet, and by the dispersion of the jet as it gets further from the nozzle. Some waterjet cutters have a 5-axis cutting head, allowing for much more complex shapes to be cut, and to compensate for the angle of the kerf to leave the angled wall on the stock instead of on the finished part. | |
Punch press | Used to rapidly punch holes and cut thin materials. Such as sheet metal, plywood, thin bar stock, and tubing. Punch presses are generally used when a CNC mill would be inefficient or unfeasible. CNC punch presses can come in the C frame, where the sheet material is clamped onto a machining table and a hydraulic ram pushes down on the material, or they can come in a portal frame variant where bar stock/tubing is fed into the machine. |
Other CNC tools
[edit]Many other tools have CNC variants, including:
- 3D printing
- CNC router
- Canned cycle
- Cylindrical grinders
- Drills
- Embroidery machines
- Glass cutting
- Hot-wire foam cutters
- Induction hardening machines
- Laser cutting
- Lathes
- Leather cutter
- Milling machine
- Oxy-fuel
- Plasma cutters
- Sheet metal works (Turret punch)
- Submerged arc welding
- Surface grinder
- Tube, pipe and wire bending machines
- Vinyl cutter
- Water jet cutters
- Wood routers
Tool/machine crashing
[edit]In CNC, a "crash" occurs when the machine moves in such a way that is harmful to the machine, tools, or parts being machined, sometimes resulting in bending or breakage of cutting tools, accessory clamps, vises, and fixtures, or causing damage to the machine itself by bending guide rails, breaking drive screws, or causing structural components to crack or deform under strain. A mild crash may not damage the machine or tools but may damage the part being machined so that it must be scrapped. Many CNC tools have no inherent sense of the absolute position of the table or tools when turned on. They must be manually "homed" or "zeroed" to have any reference to work from, and these limits are just for figuring out the location of the part to work with it and are no hard motion limit on the mechanism. It is often possible to drive the machine outside the physical bounds of its drive mechanism, resulting in a collision with itself or damage to the drive mechanism. Many machines implement control parameters limiting axis motion past a certain limit in addition to physical limit switches. However, these parameters can often be changed by the operator.
Many CNC tools also do not know anything about their working environment. Machines may have load sensing systems on spindle and axis drives, but some do not. They blindly follow the machining code provided and it is up to an operator to detect if a crash is either occurring or about to occur, and for the operator to manually abort the active process. Machines equipped with load sensors can stop axis or spindle movement in response to an overload condition, but this does not prevent a crash from occurring. It may only limit the damage resulting from the crash. Some crashes may not ever overload any axis or spindle drives.
If the drive system is weaker than the machine's structural integrity, then the drive system simply pushes against the obstruction, and the drive motors "slip in place". The machine tool may not detect the collision or the slipping, so for example the tool should now be at 210mm on the X-axis, but is, in fact, at 32mm where it hit the obstruction and kept slipping. All of the next tool motions will be off by −178mm on the X-axis, and all future motions are now invalid, which may result in further collisions with clamps, vises, or the machine itself. This is common in open-loop stepper systems but is not possible in closed-loop systems unless mechanical slippage between the motor and drive mechanism has occurred. Instead, in a closed-loop system, the machine will continue to attempt to move against the load until either the drive motor goes into an overload condition or a servo motor fails to get to the desired position.
Collision detection and avoidance are possible, through the use of absolute position sensors (optical encoder strips or disks) to verify that motion occurred, or torque sensors or power-draw sensors on the drive system to detect abnormal strain when the machine should just be moving and not cutting, but these are not a common component of most hobby CNC tools. Instead, most hobby CNC tools simply rely on the assumed accuracy of stepper motors that rotate a specific number of degrees in response to magnetic field changes. It is often assumed the stepper is perfectly accurate and never missteps, so tool position monitoring simply involves counting the number of pulses sent to the stepper over time. An alternate means of stepper position monitoring is usually not available, so crash or slip detection is not possible.
Commercial CNC metalworking machines use closed-loop feedback controls for axis movement. In a closed-loop system, the controller monitors the actual position of each axis with an absolute or incremental encoder. Proper control programming will reduce the possibility of a crash, but it is still up to the operator and programmer to ensure that the machine is operated safely. However, during the 2000s and 2010s, the software for machining simulation has been maturing rapidly, and it is no longer uncommon for the entire machine tool envelope (including all axes, spindles, chucks, turrets, tool holders, tailstocks, fixtures, clamps, and stock) to be modeled accurately with 3D solid models, which allows the simulation software to predict fairly accurately whether a cycle will involve a crash. Although such simulation is not new, its accuracy and market penetration are changing considerably because of computing advancements.[11]
Numerical precision and equipment backlash
[edit]Within the numerical systems of CNC programming, the code generator can assume that the controlled mechanism is always perfectly accurate, or that precision tolerances are identical for all cutting or movement directions. While the common use of ball screws on most modern NC machines eliminates the vast majority of backlash, it still must be taken into account. CNC tools with a large amount of mechanical backlash can still be highly precise if the drive or cutting mechanism is only driven to apply cutting force from one direction, and all driving systems are pressed tightly together in that one cutting direction. However, a CNC device with high backlash and a dull cutting tool can lead to cutter chatter and possible workpiece gouging. The backlash also affects the precision of some operations involving axis movement reversals during cutting, such as the milling of a circle, where axis motion is sinusoidal. However, this can be compensated for if the amount of backlash is precisely known by linear encoders or manual measurement.
The high backlash mechanism itself is not necessarily relied on to be repeatedly precise for the cutting process, but some other reference object or precision surface may be used to zero the mechanism, by tightly applying pressure against the reference and setting that as the zero references for all following CNC-encoded motions. This is similar to the manual machine tool method of clamping a micrometer onto a reference beam and adjusting the Vernier dial to zero using that object as the reference.[citation needed]
Positioning control system
[edit]In numerical control systems, the position of the tool is defined by a set of instructions called the part program. Positioning control is handled using either an open-loop or a closed-loop system. In an open-loop system, communication takes place in one direction only: from the controller to the motor. In a closed-loop system, feedback is provided to the controller so that it can correct for errors in position, velocity, and acceleration, which can arise due to variations in load or temperature. Open-loop systems are generally cheaper but less accurate. Stepper motors can be used in both types of systems, while servo motors can only be used in closed systems.
Cartesian coordinates
[edit]The G & M code positions are all based on a three-dimensional Cartesian coordinate system. This system is a typical plane often seen in mathematics when graphing. This system is required to map out the machine tool paths and any other kind of actions that need to happen in a specific coordinate. Absolute coordinates are what are generally used more commonly for machines and represent the (0,0,0) point on the plane. This point is set on the stock material to give a starting point or "home position" before starting the actual machining.
Coding
[edit]G-codes
[edit]G-codes are used to command specific movements of the machine, such as machine moves or drilling functions. The majority of G-code programs start with a percent (%) symbol on the first line, then followed by an "O" with a numerical name for the program (i.e. "O0001") on the second line, then another percent (%) symbol on the last line of the program. The format for a G-code is the letter G followed by two to three digits; for example G01. G-codes differ slightly between a mill and lathe application, for example:
- [G00 Rapid Motion Positioning]
- [G01 Linear Interpolation Motion]
- [G02 Circular Interpolation Motion-Clockwise]
- [G03 Circular Interpolation Motion-Counter Clockwise]
- [G04 Dwell (Group 00) Mill]
- [G10 Set offsets (Group 00) Mill]
- [G12 Circular Pocketing-Clockwise]
- [G13 Circular Pocketing-Counter Clockwise]
M-codes
[edit][Code Miscellaneous Functions (M-Code)][citation needed]. M-codes are miscellaneous machine commands that do not command axis motion. The format for an M-code is the letter M followed by two to three digits; for example:
- [M01 Operational stop]
- [M02 End of Program]
- [M03 Start Spindle - Clockwise]
- [M04 Start Spindle - Counter Clockwise]
- [M05 Stop Spindle]
- [M06 Tool Change]
- [M07 Coolant on mist coolant]
- [M08 Flood coolant on]
- [M09 Coolant off]
- [M10 Chuck open]
- [M11 Chuck close]
- [M12 Spindle up]
- [M13 BOTH M03&M08 Spindle clockwise rotation & flood coolant]
- [M14 BOTH M04&M08 Spindle counter clockwise rotation & flood coolant]
- [M15 BOTH M05&M09 Spindle stop and Flood coolant off]
- [M16 Special tool call]
- [M19 Spindle orientate]
- [M29 DNC mode]
- [M30 Program reset & rewind]
- [M38 Door open]
- [M39 Door close]
- [M40 Spindle gear at middle]
- [M41 Low gear select]
- [M42 High gear select]
- [M53 Retract Spindle] (raises tool spindle above current position to allow operator to do whatever they would need to do)
- [M68 Hydraulic chuck close]
- [M69 Hydraulic chuck open]
- [M78 Tailstock advancing]
- [M79 Tailstock reversing]
Example
[edit]%
O0001
G20 G40 G80 G90 G94 G54(Inch, Cutter Comp. Cancel, Deactivate all canned cycles, moves axes to machine coordinate, feed per min., origin coordinate system)
M06 T01 (Tool change to tool 1)
G43 H01 (Tool length comp. in a positive direction, length compensation for the tool)
M03 S1200 (Spindle turns CW at 1200RPM)
G00 X0. Y0. (Rapid Traverse to X=0. Y=0.)
G00 Z.5 (Rapid Traverse to z=.5)
G00 X1. Y-.75 (Rapid traverse to X1. Y-.75)
G01 Z-.1 F10 (Plunge into part at Z-.25 at 10in per min.)
G03 X.875 Y-.5 I.1875 J-.75 (CCW arc cut to X.875 Y-.5 with radius origin at I.625 J-.75)
G03 X.5 Y-.75 I0.0 J0.0 (CCW arc cut to X.5 Y-.75 with radius origin at I0.0 J0.0)
G03 X.75 Y-.9375 I0.0 J0.0(CCW arc cut to X.75 Y-.9375 with radius origin at I0.0 J0.0)
G02 X1. Y-1.25 I.75 J-1.25 (CW arc cut to X1. Y-1.25 with radius origin at I.75 J-1.25)
G02 X.75 Y-1.5625 I0.0 J0.0 (CW arc cut to X.75 Y-1.5625 with same radius origin as the previous arc)
G02 X.5 Y-1.25 I0.0 J0.0 (CW arc cut to X.5 Y-1.25 with same radius origin as the previous arc)
G00 Z.5 (Rapid traverse to z.5)
M05 (spindle stops)
G00 X0.0 Y0.0 (Mill returns to origin)
M30 (Program End)
%
Having the correct speeds and feeds in the program provides for a more efficient and smoother product run. Incorrect speeds and feeds will cause damage to the tool, machine spindle, and even the product. The quickest and simplest way to find these numbers would be to use a calculator that can be found online. A formula can also be used to calculate the proper speeds and feeds for a material. These values can be found online or in Machinery's Handbook.
See also
[edit]- Automatic tool changer
- Binary cutter location
- CNC plunge milling
- Computer-aided technologies
- Coordinate-measuring machine (CMM)
- Design for manufacturability
- Direct numerical control (DNC)
- EIA RS-274
- EIA RS-494
- Gerber format
- Home automation
- Maslow CNC
- Multiaxis machining
- Optical tracer
- Part program
- Robotics
- Touch probe
- List of computer-aided manufacturing software
References
[edit]- ^ "What Is A CNC Machine?". CNC Machines. Retrieved 2022-02-04.
- ^ "Automation - Numerical Control, Robotics, Manufacturing | Britannica". www.britannica.com. 2024-10-28. Retrieved 2024-10-31.
- ^ a b 3ERP (2022-06-24). "What is CNC Milling and How Does it Work: Everything You Need to Know - 3ERP". Rapid Prototyping & Low Volume Production. Retrieved 2022-06-30.
{{cite web}}
: CS1 maint: numeric names: authors list (link) - ^ Mike Lynch, "Key CNC Concept #1—The Fundamentals Of CNC", Modern Machine Shop, 4 January 1997. Accessed 11 February 2015
- ^ CapableMaching. "CNC Machining Industry: new & important trend".
- ^ Chang Y C, Pinilla J M, Kao J H, et al. Automated layer decomposition for additive/subtractive solid freeform fabrication[C]. 1999 International Solid Freeform Fabrication Symposium, 1999.
- ^ W. Grzesik/ (2018). "HYBRID ADDITIVE AND SUBTRACTIVE MANUFACTURING PROCESSES..." (PDF). Journal of Machine Engineering. 18 (4): 5–24. doi:10.5604/01.3001.0012.7629.
- ^ L.C. Moreira, W. Li, X. Lu, M.E. Fitzpatrick Supervision controller for real-time surface quality assurance in CNC machining using artificial intelligence Comput. Ind. Eng., 127 (2019), pp. 158-168
- ^ Klocke, F.; Schwade, M.; Klink, A.; Veselovac, D. (2013-01-01). "Analysis of Material Removal Rate and Electrode Wear in Sinking EDM Roughing Strategies using Different Graphite Grades". Procedia CIRP. Proceedings of the Seventeenth CIRP Conference on Electro Physical and Chemical Machining (ISEM). 6: 163–167. doi:10.1016/j.procir.2013.03.079. ISSN 2212-8271.
- ^ "Multi Spindle Machines - An In-Depth Overview". Davenport Machine. Retrieved 2017-08-25.
- ^ Zelinski, Peter (2014-03-14), "New users are adopting simulation software", Modern Machine Shop.
Further reading
[edit]- Brittain, James (1992), Alexanderson: Pioneer in American Electrical Engineering, Johns Hopkins University Press, ISBN 0-8018-4228-X.
- Holland, Max (1989), When the Machine Stopped: A Cautionary Tale from Industrial America, Boston: Harvard Business School Press, ISBN 978-0-87584-208-0, OCLC 246343673.
- Noble, David F. (1984), Forces of Production: A Social History of Industrial Automation, New York, New York, US: Knopf, ISBN 978-0-394-51262-4, LCCN 83048867.
- Reintjes, J. Francis (1991), Numerical Control: Making a New Technology, Oxford University Press, ISBN 978-0-19-506772-9.
- Weisberg, David, The Engineering Design Revolution (PDF), archived from the original (PDF) on 7 July 2010.
- Wildes, Karl L.; Lindgren, Nilo A. (1985), A Century of Electrical Engineering and Computer Science at MIT, MIT Press, ISBN 0-262-23119-0.
- Herrin, Golden E. "Industry Honors The Inventor Of NC", Modern Machine Shop, 12 January 1998.
- Siegel, Arnold. "Automatic Programming of Numerically Controlled Machine Tools", Control Engineering, Volume 3 Issue 10 (October 1956), pp. 65–70.
- Smid, Peter (2008), CNC Programming Handbook (3rd ed.), New York: Industrial Press, ISBN 9780831133474, LCCN 2007045901.
- Christopher jun Pagarigan (Vini) Edmonton Alberta Canada. CNC Infomatic, Automotive Design & Production.
- Fitzpatrick, Michael (2019), "Machining and CNC Technology".
External links
[edit]- Media related to Computer numerical control at Wikimedia Commons