Skip to main content
NIST Author Manuscripts logoLink to NIST Author Manuscripts
. Author manuscript; available in PMC: 2024 Oct 10.
Published in final edited form as: Smart Sustain Manuf Syst. 2020 Jul;4(2):10.1520/SSMS20190046. doi: 10.1520/SSMS20190046

The State of Integrated CAM/CNC Control Systems: Prior Developments and the Path Towards a Smarter CNC

Roby Lynn 1,*, Moneer Helu 2, Mukul Sati 3, Tommy Tucker 4, Thomas Kurfess 5
PMCID: PMC11465454  NIHMSID: NIHMS1686018  PMID: 39391869

Abstract

Current industrial practice in automated manufacturing operations relies on low fidelity data transmission methods between computer numerical control (CNC) machine tools and the computer-aided manufacturing (CAM) systems used to program them. The typical language used to program CNC machines, known as G-Code, has been in existence for nearly sixty years and offers limited resolution for command data. In addition, the proprietary nature of industrial CNC systems hampers the ability of manufacturers to expand and improve upon the capability of existing machine tools. G-Code was not designed to support transmission of feedback data, and thus both the CAM system and higher level organizational control systems are frequently blind to the state of the production process; in response, separate standards that enable data exchange with machine tools have been used by industry, such as MTConnect and Open Platform Communications Unified Architecture (OPC UA). However, these standards enable data pathways that are independent of the G-Code command data pathway, and thus provide practically no means to affect the state of a process on receipt of feedback data. As a result, control and data acquisition exist in separate realms, which makes the implementation of self-optimizing smart CNC systems challenging. This state-of-the-art review surveys existing methods for data transmission to and from machine tools and explores the current state of so-called integrated CAM/CNC systems that enable more thorough control of the machining process using intelligence built in to the CAM system. The literature survey reveals that integrated CAM/CNC systems are impeded both by the data exchange methods used to interface with CNC systems in addition to the proprietary and closed architecture of the CNC systems themselves. Future directions in integrated CAM/CNC research are identified based on the requirements identified for such systems.

Keywords: CAM, CNC, Smart Manufacturing, Industry 4.0, Internet of Things, G-Code, Machining

1. Introduction

All computer numerical control (CNC) systems for machine tools rely on some method of data exchange with a process planning system to enable transfer of command and control information for realizing a digital representation of a part. The machining process planning system, which is typically referred to as a computer-aided manufacturing (CAM) system, is responsible for the creation of cutting tool motion commands based on starting material condition and desired part geometry. CAM systems customarily provide a computer-aided design (CAD)-like environment for intuitive, interactive manipulation of digital geometric data and also a subsystem for converting the geometric data into motion commands. The resulting motion commands generated by the CAM system are often formatted in some variant of a text-based language known as G-Code, although some alternative methods do exist, such as the STEP-NC standard or proprietary conversational formats. G-Code is the most widely used machine tool programming language, and while portions of the language have been standardized by the International Standards Organization (ISO) 6983, many variants of the language are in common use. The complexity of a complete process plan for a given part is dependent on a variety of factors, such as part geometry and machine capability. The process plan represented in G-Code can be thousands or millions of lines of code for a complex part. The process plan represented in STEP-NC consists of abstractions of geometric features to be machined (e.g., a pocket or slot in the case of milling, or a groove or bore in the case of turning) [1]. Regardless of the information format used to transfer the process plan, the machine tool is still responsible for interpreting the given commands and converting them to motion trajectories that are suitable for execution by the feed axes of the machine.

Process feedback and monitoring of the machine tool can be enabled using a number of available manufacturing data standards, such as MTConnect or Open Platform Communications Unified Architecture (OPC UA). These standards can be used to provide motion or state information from the machine tool to a monitoring platform over a network connection; the resulting data can then be collected and used for visualization or analysis. Operators, programmers, supervisors, and other shop personnel can use the results of the data analysis to improve process performance in a number of ways, including:

Physical Changes that Affect Process Capabilities: Physical components in the process could be tuned or modified (e.g., the use of different tooling or workholding, change of lubricant type, recalibration of the machine tool), or the capability of the machine tool used to execute the process could itself be changed (e.g., by using a different machine or adding hardware, such as live tooling)

Process Plan Redesign: Specifics of the process plan can be modified, including changes to the toolpath geometry, cutting parameters, or order of operations

Equipment Utilization: Up-time and overall equipment effectiveness (OEE) can be increased through personnel and scheduling changes

Redesigning or tuning the process plan is a common way to adjust a process to improve performance. However, such process plan improvement typically requires the involvement of a CNC programmer to create a new process plan from the CAM system using information collected from analyzing the process feedback data. As a result, significant manual effort must be exerted to optimize a machining process in what is known as an ”open-loop” configuration: typical CAM systems require data input only during the process design phase and do not allow for an automated means of altering process decisions based on data collected during machining (see Figure 1).

Fig. 1:

Fig. 1:

Traditional Open-Loop Configuration of CAM and CNC Systems with External Data Acquisition

CAM/CNC integration refers to the idea that the CAM system and the machine tool controller should function as a cohesive unit with automatic, bidirectional data flow of command and feedback information. Such an architecture removes the human-in-the-loop that is present when process plans generation, execution, and analysis are performed using three separate systems. Instead, all control and analysis tasks are performed on the same platform, which enables enhanced control and awareness of the process in question. Such an architecture can provide a host of benefits to a manufacturing process, including:

Reducing the time between the identification and resolution of process and equipment issues

Decreasing the cost and increasing the scale of process planning by relying more on the intelligence potentially contained within the CAM system

Improving part quality and cycle time due to automatic optimization of process parameters

These benefits can alleviate the burden on the manufacturing engineers responsible for process development and monitoring. CAM/CNC integration is an integral component in implementing cyber-physical systems (CPS), smart manufacturing, and Industry 4.0 in a meaningful way on the shop floor [2], [3].

An integrated CAM/CNC system does not necessarily entail the existence of a centralized compute platform for process planning and feedback data aggregation and analysis. Rather, such a system can range from centralized architectures where both the CAM system and the machine tool controller are operating on the same hardware (e.g., some conversational programming techniques, such as Mazak’s Mazatrol system, approach this level of integration, though advanced machining functionality may be limited) to distributed architectures where a separate system accepts feedback information, such as that obtained by MTConnect, for optimization purposes. While the exact architecture of an integrated system influences the flexibility of the process planning and analysis capabilities of the architecture, all integrated CAM/CNC systems share the common trait that they enable a more robust and automated means of controlling a machining process than systems with many disparate elements by possessing a direct feedback loop between the system for process planning and that for feedback data aggregation and analysis. The additional automation afforded by an integrated CAM/CNC system can enable manufacturing processes to be controlled in response to machine and quality data feedback with minimal human involvement. This paper reviews the current state of integrated CAM/CNC systems and details standards and technology developments to realize such systems. The common traits that are desirable in an integrated CAM/CNC system are extracted from a review of the literature, and the challenges to implement fully integrated systems are explored. Finally, a future vision for these systems is presented using the current trajectory of research.

2. Control Hierarchy in Manufacturing Automation

The CNC system is an integral part of a larger process planning and execution chain, which can be described using the ANSI/International Society of Automation (ISA)-95 standard. This standard defines the organizational, operational, and process control subsystems and interconnections of an automated manufacturing process [4]. The CNC system connects the process control level to the manufacturing process itself (i.e., it is a bridge from the cyber world to the physical world) and is responsible for the physical control of the machining process. CNC systems are monitored by supervisory control and data acquisition (SCADA) systems. Operational control is performed by a manufacturing execution system (MES), which is responsible for routing and ensuring the successful completion of orders through the factory. Toolpath generation for the CNC system is performed by the computer-aided manufacturing (CAM) system, which resides in the operational control level. The business level houses the enterprise resource planning (ERP) system, in addition to computer-aided design (CAD) and product lifecycle management (PLM) systems. This control hierarchy is illustrated in Figure 2.

Fig. 2:

Fig. 2:

Process Planning and Execution Chain (after ANSI/ISA-95)

2.1. The Digital Thread

The overarching theme of improving data flow between top-level planning systems and the shop floor environment can be encapsulated in the Digital Thread concept, which extends model-based enterprise (MBE) concepts through the entire process planning and execution chain. According to Hedberg et al. [5], the digital thread ”would enable real-time design and analysis, collaborative process-flow development, automated artifact creation, and full-process traceability in a seamless real-time collaborative development among project participants.” MBE is the practice of using digital models instead of analog drawings and unorganized part requirements to drive the manufacturing enterprise. For example, a model-based definition (MBD) would include all of the data necessary to manufacture a given part such as geometry, lifecycle information, manufacturing instructions, and inspection data [6]. The digital thread concept has been described in many different contexts, such as STEP Application Protocol 242 (AP242) [7], defense [8], additive manufacturing [9], robotic systems using Robot Operating System (ROS) [10], and machining [11]. Commercial software products that leverage the digital thread concept to enable near-real-time simulation of a machining process (referred to as a “digital twin of the machining process”) have also appeared, such as NC.js, which is maintained by STEP Tools, Inc. [12].

3. Control Data Generation & Transmission

The interconnection of the components in the process planning and execution chain requires numerous data formats and communication protocols. Some of these protocols exist only to support the traditional view of process planning and execution shown in Figure 2. Of particular interest are those formats and protocols that are used to transfer data between CAM systems and CNC machine tools. Specifically, ISO 6983 (G-Code) is the industry standard for sending toolpath data to CNC machine tools, though STEP-NC is a feature-based standard that has been used primarily in the research community.

3.1. Computer-Aided Manufacturing

Much of the intelligence in machining operations lies at the level of the process designer, who is responsible for converting the desired part to be machined into a complete and functional process plan that defines the order of operations and sequence of machine movements necessary to machine the part. The designer must not only have an intimate knowledge of the capability of available equipment and tooling, but must also possess an innate understanding of the mechanics of machining to be capable of developing an efficient and robust process plan suitable for production. To aid in development of the plan, the designer will typically rely on a CAM system that can create toolpaths using various cutting strategies (e.g., 2D pocketing, 3-axis surfacing, 5-axis swarfing). The designer interacts with the CAM system graphically and relies on both experience and training to pick suitable tooling and toolpath geometry for a given part.

Numerous CAM vendors exist on the market today, and each will frequently introduce enhancements to toolpath generation to improve machining efficiency. However, the general nature of the CAM system remains constant among all commercially available solutions: it is an upstream element from the CNC system that creates complex toolpaths from part geometry, (occasionally) automation scripts, and input from an expert operator, where the latter is by far the most important element.

The debugging and optimization of toolpaths generated using CAM can be performed with an NC simulation software, such as Vericut, but frequently also requires execution on an actual machine tool for complete verification [13], [14]. However, as machine state and motion information is infrequently relayed up the process chain to the CAM system [15], the toolpath designer is forced to manually verify the part program at the machine. This can be time-consuming since the designer may have to make several iterations of the process plan design and validation process.

3.2. ISO 6983 for Text-Based Part Programs

The most common way to program a CNC machine tool is through a text-based format colloquially known as G-Code, which was originally standardized as RS-274 by the Engineering Industries Association (EIA) in the 1960s [16]. Eventually, the language was standardized internationally as ISO 6983 [17]. A typical G-Code program consists of words and associated data that can denote geometric primitives (e.g., lines or arcs), axis address labels (e.g., X, Y, Z), and miscellaneous commands (e.g., M-Codes that can denote non-cutting operations such as tool changes or control of the coolant system). The name G-Code is derived from the fact that the words used to denote motion commands are preceded with the letter G. G-Code programs are created from CAM through the use of a post-processor, which creates the G-Code necessary for a specific machine tool based on the toolpath generated by the CAM system.

The program is interpreted by the CNC, which then performs the necessary trajectory planning and interpolation of the motion commands to drive the cutting tool along the desired toolpath [18]. Figure 3 illustrates the functional blocks within a typical CNC system implemented on a commercial machine tool. There are two main elements to the CNC system itself: a non-realtime (non-RT) front end that is responsible for servicing the user interface and other low priority tasks, and a realtime (RT) subsystem that is responsible for controlling the motion, auxiliary, and input/output (I/O) functions of the machine itself. The RT subsystem performs trajectory planning with a period of TTP, which involves fitting and sampling a time-parameterized curve at TServo, the rate of the axis servo controllers. The curve specifies the motion of the axes of the CNC machine, and the trajectory resulting from sampling the curve is sent to the axis servo controllers to realize geometry conforming to the G-code instructions. While the architecture of the CNC system is relatively constant amongst vendors [19], commercially available systems are frequently proprietary and offer limited facilities for user modification [20].

Fig. 3:

Fig. 3:

CNC System Architecture

Although G-Code is a widely-adopted standard, many machine tool builders have supplemented the language with their own custom control codes to expand the capabilities of RS-274 and ISO 6983. These custom codes are output by machine-specific post-processors that are either purchased from a CAM vendor or created and modified by the CAM programmer. As a result, different CNC systems interpret different dialects of G-Code, making program portability between machines difficult [21]. Forced reliance on post-processors is a fundamental deficiency in G-Code as a toolpath data format: even with some of the expanded capabilities that are introduced with each new control iteration, the very structure of G-Code sets up a limited data transmission pathway between the CAM system and the CNC itself [22]. From a motion control perspective, this is inherent in the structure of G-Code since G-Code requires that control instructions consist of geometric motion primitives. There are two issues here:

Geometric Data Loss: While such a decomposition is lossless for some parts that exhibit a high level of geometric regularity, this decomposition essentially involves approximation for free-form parts

Control Data Loss: G-code syntax does not provide the structure to affect low-level trajectory control

As an example, consider the trajectory planning and interpretation stages in Figure 3: the designer of the control system (e.g., a control manufacturer such as FANUC, Siemens, or Heidenhain) determines the trajectory planning strategy to use (e.g., constant-acceleration trajectory planning, constant-jerk trajectory planning, sinusoidal trajectory planning) and also determines the interpolation scheme to use on the resulting trajectories [23]. The CAM user therefore has limited control over the low-level intricacies of the motion of the machine tool [24], [25].

3.3. STEP-NC

In response to some of the criticisms of traditional machine tool programming with ISO-6983 compliant G-Code, a new process plan interchange format known as STEP-NC was developed as ISO 10303–238 (or AP238) [26]. STEP-NC grew from the need to use standard data at the level of the machine tool controller itself [27] and was accelerated by the standardization of product data in the Standard for Product Model Data (STEP) format (ISO 10303) [28]. A STEP-NC process plan is composed of working steps that define features of the process plan (e.g., a pocket); each working step is subsequently composed of machining operations (e.g., in the case of the pocket, the appropriate machining operation would be milling) [29]. The complete definition for STEP-NC files includes the machining models defined by ISO 14649 [1].

As demonstrated by Hardwick and Loffredo [30], the machining of parts from STEP-NC process plans can enable data interchange between multiple disparate CAM and CNC systems without the use of a traditional post processor. However, the current state of CNC systems at the time of this demonstration was such that the AP238 process plan still had to be translated to ISO 6983-compliant G-Code for execution since the machine tools under study did not possess native STEP-NC interpreters. In the years since that demonstration, many researchers have developed successful native STEP-NC interpreters and even fully functional machine tools that can manufacture parts directly from STEP-NC process plans.

One of the key benefits to STEP-NC is the ability to implement data flow from the machine tool back to the CAM system for the purposes of process feedback. This architecture enables the capture of valuable and often under-reported input from the machine operator concerning the state of the production process [31], and also provides a means for the CNC system to communicate changes in the process plan that can result from information garnered during production [32]. In contrast with an ISO-6983 program, where changes to the low level part program can necessitate a complete rework of the entire part program, the higher abstraction level provided by STEP-NC provides for more modularity in the process plan. However, this introduces two challenges when implementing STEP-NC: (1) the higher level abstraction limits the ability of manufacturers to differentiate their services to customers and (2) the increased portability and modularity of STEP-NC programs may increase liability to the manufacturer without a clear means of validating the appropriateness of the program for a specific machine.

The practice of using machine and operator feedback within the STEP-NC framework is referred to as a ”closed-loop” process or integrated process chain, and researchers are continuing to explore the area. Recent developments include the implementation of native or semi-integrated STEP-NC interpreters for various CNC systems [33]–[35], integration of inspection data into the closed-loop manufacturing process concept [36]–[39], and synthesis of STEP-NC process data with data from higher-level information management (e.g., Product Data Management, Enterprise Resource Planning, Manufacturing Execution) systems [40]–[42].

4. Process Data Feedback

The collection of process data from machine tools has historically been a difficult task since control manufacturers did not provide a means for communication of such information [43]. However, the emergence of standards for data exchange from industrial automation equipment [44] has motivated control builders to implement means for such data export. Two such standards that have been used for machine tool data collection, MTConnect and Open Platform Communications Unified Architecture (OPC UA), are gaining traction in digital manufacturing operations today. The data pathways provided by these standards are key enablers of CAM/CNC integration since they provide a means to supply process data to devices upstream of a machine tool.

4.1. MTConnect

MTConnect is an open, royalty-free, extensible data-interoperability standard that provides a common vocabulary and information models so that manufacturing equipment can generate structured, contextualized data [45]. MTConnect is developed by the MTConnect Institute, which is an ANSI-accredited standards development organization, and has broad adoption by manufacturing end-users as well as machine and control vendors. An MTConnect-compliant device exposes available data through a piece of software called an MTConnect Agent, which is a special purpose HyperText Transfer Protocol (HTTP) server that provides a Representational State Transfer (REST) interface that a client application uses to request data from the MTConnect-compliant device. For each request, the MTConnect Agent publishes a response document. It also organizes and manages data that may be provided by an MTConnect Adapter, which is an optional tool that collects and filters data about the current state of the MTConnect-compliant device. An MTConnect Adapter is typically a piece of software that interfaces with the machine’s control system, but it can also be hardware based for legacy machine tools if the control system cannot support a software adapter. While MTConnect can enable the streaming of near-real-time data as well as polling [46], MTConnect is strictly a read-only protocol that supports only data collection and not machine command transmission. Implementers of MTConnect-compliant manufacturing systems would need to maintain two separate pathways for data transmission: the forward pathway carries machine commands (e.g., in the form of G-Code), and the feedback path carries process data in the MTConnect format. An example architecture of an MTConnect-based monitoring system with a PC-based CNC is shown in Figure 4.

Fig. 4:

Fig. 4:

Example of a Typical MTConnect System Architecture

Both the research and industrial communities have demonstrated significant interest in deploying MTConnect as a means to collect process data from manufacturing equipment. For example, a large body of work has leveraged MTConnect to collect data using a discrete data acquisition system for the purpose of process improvement by either plant personnel or a supervisory control system [47]–[49]. Other works have studied:

Real-time machining process improvement using MTConnect data [50]

MTConnect-based monitoring of additive manufacturing equipment running on open-source controllers [51]

Deployment of Internet-of-Things (IoT) devices for the collection and transmission of MTConnect data [52]–[54]

Use of popular open-source software platforms for collecting MTConnect data [44]

Correlation of planned and actual product and process data using MTConnect [55], [56]

Integration of process and metrology data [57]

Performance and quality-of-service implications in MTConnect deployments [58]

Numerous commercial solutions that leverage MTConnect data for process monitoring and dashboard visualization, such as Memex MERLIN, TechSolve ShopViz, FORCAM Force, and System Insights VIMANA, are also in use in production environments [59].

4.2. OPC-UA

Another data exchange standard of interest to researchers and developers in industrial automation is known as OPC UA [60], which provides a platform that enables data exchange between various levels of the process planning and execution chain [61]. In contrast to MTConnect, OPC UA provides syntactic (not semantic) interoperability. OPC UA, which is maintained by the OPC Foundation (where OPC was originally known as Object Linking and Embedding (OLE) for Process Control, but is now simply Open Platform Communications), is an evolution of the original OPC standard that is based on Microsoft’s Distributed Component Object Model (DCOM). OPC UA was developed to address concerns with the proprietary nature of DCOM and to increase the extensibility of the standard to cover additional devices and systems that were not possible to integrate into OPC [62]. OPC UA adopts a service-oriented architecture (SOA) and defines a standard data format for the exposure of actions and attributes for a compliant device in a unified data model. Communication of OPC UA data is accomplished using either XML (known as UA Web Services) or binary (known as UA Native) communication methods between OPC UA clients and servers. The OPC UA standard defines only the format for messages that are passed between clients and servers and does not provide a standardized application programming interface (API) for implementing a complete OPC UA stack; as a result, it is the responsibility of the systems integrator to develop a suitable API for a given device [63].

Current research directions with OPC UA have been more varied than those with MTConnect for two primary reasons: (1) the original OPC standard has been in existence for longer than MTConnect, and OPC UA builds upon the momemtum of OPC; and (2) the syntactic interoperability provided by OPC UA enables the interconnection of a wide range of devices with user-defined data models [64]. Thus, implementers of OPC UA do not have to rely on the standards development process to add additional data items to the standard and can instead simply define data models as necessary. While the lack of semantic interoperability when using OPC UA can enable more rapid deployment to a variety of systems, it also does not ensure that all devices conforming to the OPC UA standard can exchange information effectively. As a result, research in the use of OPC UA for control and monitoring of an industrial process includes examples from pharmaceutical manufacturing [65], aluminium rolling [66], and power generation and distribution [67]. Research within the discrete manufacturing domain has focused on the

Development of an architecture to use OPC UA as a means to enable data exchange between vertically-separated systems in the process planning, control, and execution chain (e.g., ERP, MES, and CNC systems) [68], [69]

Development and implementation of data acquisition systems based on IoT platforms that rely on OPC UA for data transmission [70], [71]

Control and monitoring of a flexible manufacturing system for machining and assembly [72]

Construction of predictive models based on process data gathered using an OPC UA stack [73]

In contrast with MTConnect, OPC-UA and simplified versions of the OPC architecture also enable the transmission of control commands to manufacturing equipment, which has been demonstrated as a means to operate machine tools remotely [74], [75].

5. Efforts Towards CNC Intelligence and CAM/CNC Integration

Disparities between methods for communication of data between process planning systems and machine tool controllers has motivated interest in so-called integrated CAM/CNC manufacturing systems. Such manufacturing systems enable more complete flow of data between the CAM system and the CNC machine tool than is possible with the typical G-Code based architecture and can therefore enable more complete data flow through the entire process planning and execution chain [76]. Based on a review of the literature, the distinct characteristics that characterize integrated CAM/CNC systems can be grouped into the categories in Table 1.

Table 1:

Characteristics of an Integrated CAM/CNC System

Intelligence Incorporation of additional intelligence into the planning and execution chain [95], which can enable automatic process optimization and control
Control Additional low-level control over both the cutting tool trajectory and the physics of the cutting process than is possible using the control methods popular in literature [20]
Data Higher availability and automatic archival of fine-grained process data from the machine tool’s sensors to enable traceability and historical analysis [95]–[97]
Granularity Device-level control of machine tool subsystems through the CNC kernel [87] and facility for incorporation of proprietary process intelligence possessed by the machine tool owner
Awareness Enhanced realtime and interactive process awareness for shop personnel and higher-level planning systems
Teleoperation Remote control of assets in a manufacturing environment
Automation Automatic toolpath generation
Collaboration Enablement of distributed and collaborative manufacturing [98]

The concepts in Table 1 are captured in the digital thread concept, which is enabled by open communication standards and technologies. Systems that separately implement some of these characteristics have been demonstrated using the data transmission methods in the surveyed literature. Researchers have incorporated additional intelligence into the process planning and execution chain primarily through the design and implementation of STEP-NC manufacturing systems that enable closed-loop machining using standard or modified versions of STEP-NC [27], [32], [77]. Enhanced trajectory control has been enabled through the use of custom and fully open architecture control systems [20], [78]–[82] to avoid artificial constraints that are placed on trajectory commands by commercial control manufacturers; additionally, the open-source LinuxCNC and Machinekit projects have been used as the basis for control systems presented in literature [18]. Higher availability and resolution of process data has been accomplished through the construction of MTConnect and OPC-based monitoring systems and accompanying analysis and visualization applications, and the fusion of collected process data with an open-loop process plan has been realized using STEP-NC and MTConnect [83], [84]. Device-level control of machine tool subsystems, which is currently hampered both by the means of data transmission to the machine tool as well as the interfaces between the subsystems (e.g., proprietary nature of servo drives) and the CNC kernel [85], has been explored using heterogeneous motion control hardware configurations [86], the development of custom RT communication protocols [87], and the design and implementation of open CNC kernels. Enhanced process awareness for shop personnel and high-level planning systems has been realized through integration of STEP-NC data with MES and ERP systems, trends toward cloud manufacturing, and development of local and web applications for data monitoring and visualization [88], [89]. Remote control of manufacturing assets has been accomplished using OPC and OPC-like architectures through local and Internet connections [74], [75], and automatic generation of toolpaths has been performed through integrated CAD/CAM systems that create process plans based on part features [90], [91]. Finally, distributed and collaborative manufacturing systems have been explored in the context of collaborative robots [92], [93] and cloud manufacturing [94].

6. Current Challenges for Smarter CNC Systems

Despite significant effort towards the development of integrated CAM/CNC systems, their current state remains lacking. Systems presented in the literature either do not address each of the desired attributes in Table 1, or their capability in addressing a certain requirement remains a fundamental deficiency. Attempted implementation of a complete integrated CAM/CNC architecture is frequently hindered by:

Closed Architecture: The proprietary nature of commercial CNC kernels or their accompanying I/O and servo control hardware

Data Availability: Lack of access to certain data or sensor measurements, or no provision for high-frequency data acquisition that is required for thorough process analytics

Extensibility: Limited capability for modification and incorporation of additional intelligence

Unfortunately, control and monitoring methods presented in current research rely on smart and extensible controllers. As identified by Xu [95], a major challenge to widespread adoption of STEP-NC lies in the development of intelligent machine tool control systems with integrated CAM functionality to realize cutter motion from STEP-NC data. Michaloski et al. [99] also point out that future CNC systems require intelligence to operate in a factory where they can be presented with missing or incomplete data from process plans or other collaborating pieces of equipment. This challenge is not unique to proponents of STEP-NC: increasing automation in smart factories will inevitably rely on increased intelligence from each asset involved. Higher levels of abstraction in command information, coupled with more conversational requests for production (e.g., ”machine this set of features in some order at whatever time is convenient”), will be necessary to emulate the capability of a manufacturing operation that is completely controlled by humans. This level of functionality is not compatible with the commonly accepted architecture for the manufacturing enterprise in Figure 2. Through future enhancements in widely-adopted standards, such as STEP-NC, MTConnect, and OPC-UA (in addition to standards and protocols that have not yet enjoyed widespread adoption), manufacturers will be able to enjoy smarter and more automated means of production that come closer to fully realizing the characteristics in Table 1. As pointed out by Lu, et al, the development and adoption of appropriate standards remains a major research challenge in smart manufacturing system deployment [100]. The success further standards development and enhancement will hinge on effective collaboration between the builders of machine control systems, researchers, and manufacturers: fully integrated manufacturing systems will not be possible unless all of those involved are willing to drive together towards the goal of a smarter shop floor.

7. Future Developments

Higher automation in machining will require additional intelligence of machine tool controllers to enable enhanced process awareness, analysis, and automatic optimization. Traditionally, these are in the realm of the CAM system; the machine tool is merely a servant to be controlled by explicit commands from some other system. The fallacy in this architecture lies in the lack of communication between the CAM system and the CNC. Current literature has shown that a major impediment to realization of smarter and more integrated CAM/CNC systems lies both in the proprietary nature of CNC systems themselves and the data pathways that are used to transfer information to and from machine tools, which is called out by various researchers [20], [80], [95]. The CNC needs more information from the CAM than simple motion commands, as it must be able to react to changing machining conditions in realtime. For instance, the CNC system should be aware of the material properties of the workpiece to enable proper control of cutting conditions if some parameters of the process are unexpectedly out of bounds. Likewise, the CAM system needs process information from the machine tool to create and optimize the most effective toolpaths. These requirements necessitate the development of a smarter and more integrated CNC system, where the demarcation between CAM and CNC is blurred and the two function as a cohesive unit. Realtime process feedback will be provided to the CAM system by the machine controller, which will be used to improve the productivity of the process and the quality of the resulting parts; the CAM system will thus serve as the intelligence of the CNC machine in the integrated architecture. The architecture of such a CNC system is presented in Figure 5 [18], where the CAM system takes the place of the non-RT HMI component in the typical CNC system from Figure 3. Instead of interpreting a traditional process plan generated offline by a CAM system, the CNC is controlled directly by the CAM system: all trajectories are generated in the CAM system using the desired part geometry, the forward and inverse kinematic transformations (FKT and IKT) of the machine tool, and the dynamic motion constraints of the machine axes. Process data is fed back to the CAM system from the suite of sensors (including axis position sensors) on the machine tool, enabling robust toolpath analysis and optimization capabilities.

Fig. 5:

Fig. 5:

CAM-Controlled CNC System RobyDissertation

This low-level and high resolution process data will be available to upper levels of the manufacturing enterprise to enable full process awareness from at the operational level. Computer-Aided Engineering (CAE) functionality will be incorporated to the CAM/CNC system to enable near-realtime simulation of the process for control and learning. The trajectory planner will no longer be a proprietary element of the CNC system, and will instead be an open and customizable subsystem that a manufacturer can tune according to process requirements. An illustration of such an integrated architecture that enables complete data flow throughout the process planning and execution chain is presented in Figure 6.

Fig. 6:

Fig. 6:

Fully Integrated Process Planning and Execution System (after Hedberg et al. [101])

The additional intelligence that CNC systems must possess may not necessarily reside on the machine controller itself; with the advent of cloud services providers that offer ever-increasing amounts of computing power and graphics processing unit (GPU)-accelerated instances, some intelligence can be incorporated into low-latency offsite computing facilities. The distribution of intelligence away from the machine tool will enable further collaboration both between collocated assets in the manufacturing process, as well as facilities in different geographic areas. These developments will contribute substantially to the efficiency and productivity of the smart factory, but will require smarter, more open, and more extensible CNC systems.

8. Conclusions

This paper summarized the current state of integrated CAM/CNC manufacturing systems, including the technologies that enable such systems and the research efforts currently under way to leverage those technologies to create a smarter shop floor. Much research effort has been devoted to the development and use of standards for use in the manufacturing enterprise, such as MTConnect, STEP-NC, and OPC-UA. This research work and the review performed in this paper revealed the fundamental characteristics of a truly smart and integrated manufacturing system, as well as the deficiencies in current technologies that must be addressed to realize such a manufacturing system. Openness in data availability and interfaces, coupled with collaboration between equipment builders, researchers, and manufacturers will be required for the eventual realization of an integrated CAM/CNC system that fully realizes all of the fundamental characteristics that were identified in this review.

9. Acknowledgements and Disclaimer

This work was supported by NIST award 70NANB18H157 and NSF awards CMMI-1646013, IIP-1631803, and DGE-1650044. Certain commercial systems are identified in this paper. Such identification does not imply recommendation or endorsement by NIST. Nor does it imply that the products identified are necessarily the best available for the purpose.

Contributor Information

Roby Lynn, 771 Ferst Dr NW Atlanta, GA 30332.

Moneer Helu, 100 Bureau Dr Gaithersburg, MD 20899.

Mukul Sati, 771 Ferst Dr NW Atlanta, GA 30332.

Tommy Tucker, 1114 Cherry Laurel Drive Waxhaw, NC 28173.

Thomas Kurfess, 771 Ferst Dr NW Atlanta, GA 30332.

References

RESOURCES