Keywords

1 Introduction

Nowadays, in advanced high-tech manufacturing systems, much attention is given to big data analytics for better process control and optimization. When multiple machines and devices are involved in complex manufacturing systems for a single part to be produced, information has to be transferred between these components to enable efficient system operation. In such a case, CPS-based digital manufacturing can enable better process control by realizing an open accessible data flow and exchange between devices [1, 2]. Although high performance DAQ systems are available that can enable these process improvements, many of these systems are found to be both inaccessible and inadaptable due to their cost and reliance on closed-source platforms. In addition, the sensors used in most of these systems are hard wired, resulting in inflexibility.

Within digital manufacturing, a few data flow architectures have been proposed to realize data acquisition and cloud storage [35]. Some research were conducted to address the data accessibility limitations of the standard machine diagnostics approach by integrating a data flow architecture [6]. Shen et al. presented a concept of iShopFloor—an intelligent shop floor based on the Internet, web, and agent technologies supported by Java and XML [7]. The generic architecture makes the system respond quickly to shop floor changes and customer demands. However, the Java based communication between agents limits the hardware platform. Also, the Java applets’ user interface decreases the flexibility of data manipulation. Wang also proposed a cloud-based approach to distributed process planning based on machine and resource availability [8]. Xu et al. designed an economic wireless sensor network system for structural health monitoring using off-the-shelf hardware [9]. This approach is novel, but is not able to transmit raw sensor data in real-time and the user must manually collect it from the system for later analysis.

Thanks to the maker movement, the limitations of the previously performed works in industrial data flow can be addressed by employing readily available and affordable high performance consumer-grade microcontrollers, sensors and wireless communication modules. While the computing power available on these platforms is limited, it can be harnessed to perform data analysis on the device itself before the data are relayed on to a cloud-based storage system. Many of these hardware platforms are open-source, and can thus be easily modified to adapt in evolving production environments. The simple connectivity of this hardware can enable the development of a novel DAQ system that is interconnected and able to share data across platforms and facilities. Additionally, the accessibility of this hardware could allow for increased adoption by manufacturers for whom traditional DAQ systems were either unusable due to their inadaptability or inaccessible due to their cost. However, the construction of an intelligent data flow architecture using these widely available components has yet to be formulated in modern manufacturing systems.

The objective of this research is to design and evaluate intelligent, accessible, and low-cost industrial data flow architectures for manufacturing system control and optimization. In this paper, three different architectures are designed using high performance consumer-grade hardware and software systems that allow data flow between both open- and closed-source platforms. A cloud-based manufacturing system is demonstrated using multiple wired and wireless communication protocols. These architectures are also evaluated for machine tool diagnostics and monitoring of multiple machine tools in manufacturing systems.

2 Data Flow System Architectures

Collaborative manufacturing and real-time data collection and analysis are of great interest in the emerging CPS field. The overall purpose of the data flow system architecture presented below is to enable collaborative analysis and optimization by making manufacturing process data from different machine tools widely available. Three different data flow system methodologies are constructed and evaluated: (1) MTConnect network, (2) wireless distributed sensor network, and (3) sensor-MTConnect hybrid network. This collection of wireless protocols, various processor architectures, and sensor types demonstrates that the architecture is portable between all platforms. In this section, all system architectures are discussed with construction methodology, capabilities, limitations, and a case study in the machining environment.

2.1 MTConnect Network

System Architecture.

Aconnectivity concept to a piece of manufacturing equipment is created using MTConnect and a National Instruments (NI) myRIO field-programmable gate array (FPGA) device. MTConnect – a communication protocol for data acquisition from CNC machine tools – is implemented as a web service, enabling any web browser to access the machine tool’s data output via a wired or Wi-Fi router. The myRIO is connected to the local wireless network and used to generate HTTP requests that are sent to the machine tool. The MTConnect-based data flow architecture system is presented in

Fig. 1. The myRIO processes the MTConncet data from the machine tool and presents them on a display.

Fig. 1.
figure 1

MTConnect data flow

Case Study: Process Condition Monitoring.

The MTConnect implementation allows for access to spindle speed, spindle motor power output, axis positions and axis servo power outputs of machine tool(s). These data are gathered from two machine tools simultaneously: an Okuma Millac M44V and an Okuma Spaceturn LB2000EX.

Local Interface.

The axis loads and positions from the machine tools are graphed and displayed to the user on a computer display as shown in Fig. 2. The visualization of these data allows manufacturers to quickly and easily monitor and obtain an intuitive idea of the process state, the tool-work relative position, and the machining process parameters.

Fig. 2.
figure 2

MTConnect front panel

Mtconnect Capabilities and Limitations.

The MTConnect protocol provides manufacturers with a simple yet powerful way to access data collected by their machine tools. Because the protocol is implemented as a web service, it is easily accessible to any device that is connected to the machine network. Due to the protocol’s reliance on the machine controller for the data, both the update speed and the number of available data are limited. For example, most CNC machine tools do not include accelerometers in their spindles to monitor vibration, and thus these data are not available from MTConnect. Additionally, the data update speed is set by the controller and therefore it may not be fast enough for some applications. For the Okuma machine tools utilized in this implementation, the maximum data update rate is 1 Hz; this may be too slow to enable real-time data analysis using MTConnect data alone.

2.2 Distributed Wireless Sensor Network

System Architecture.

Two related configurations are created to demonstrate the distributed wireless sensor architecture: one relies on ZigBee and Wi-Fi, while the other relies on Bluetooth Low Energy (BLE) and Wi-Fi. The configurations are inspired by the internet-of-things (IoT) philosophy that is nowadays gaining widespread adoption in both industrial and consumer applications. To increase the accessibility of the system, consumer grade microcontrollers and sensors are employed. Both demonstrations of the architecture use an accelerometer placed on a CNC machine tool to monitor vibration.

The first construction of this architecture uses a PIC32MX board, a Microchip Wi-Fi module and Digi’s 802.14 XBee radios. The PIC32MX is used to gather accelerometer data via the ZigBee link and transmit them via Wi-Fi to a receiving device. This implementation highlighted the use of multiple wireless networking standards that can be chained together to create a coherent data pathway. The connection diagram of the PIC32 implementation is presented in Fig. 3. The PIC32 serves to receive the accelerometer data and package it so that it can be interpreted by the server PC after flowing through the Wi-Fi connection; the PC then renders the data to users through the HTTP server. The NFC tag is used by networked smart devices to access the HTTP server: the IP address of the server is written to the tag, and devices access the page through a mobile browser after reading from the tag.

Fig. 3.
figure 3

Data flow in PIC32 IoT configuration

This architecture is then reconfigured using different communication methods and illustrates the use of a different device, the NI myRIO. By replacing the PIC32 with a myRIO device and swapping the ZigBee chips for BLE chips, a new system with the same capabilities as the ZigBee and PIC32 system is established. Once again, the system uses only consumer grade off-the-shelf components and illustrates the ease of connectivity offered by current technologies.

Case Study: Machine Crash Detection.

The wireless sensor network is employed to monitor the vibration generated by the spindle that arises from a crash of a CNC machine tool. By monitoring the accelerometer output, normal spindle operation can be distinguished from a machine crash or other emergency condition.

Local Interface.

Due to the increasing prevalence of Wi-Fi networks, 802.11g was chosen as the backbone network type for data flow for the wireless sensor system. To increase the accessibility of the data from a variety of connected devices, a dynamic webpage was created that was compatible with both standard and mobile browsers.

The webpage was created using HTML5, JavaScript and the JavaScript Data-Driven Documents (D3) library. The D3 library is responsible for rendering the graph of sensor data coming from the networked microcontrollers. The overview of this data flow architecture is shown in Fig. 4. Because the webpage is hosted on the local network, it is visible to other connected smart devices. This interface is easily accessed by smart devices by exploiting the quick tap-and-go abilities of an RFID communication link. When a user wants to view process data from a particular machine tool, they only need to tap an NFC-capable device on the tag to access the dynamic webpage.

Fig. 4.
figure 4

Dynamic webpage data flow

Cloud-Based Remote Data Interface.

To demonstrate the wide availability of these data, they are streamed to an active cloud data visualization tool via the Internet where they are accessible from any device. This interface utilized Google Docs’ spreadsheet environment to visualize incoming sensor data. A TCP server was written in C# that received the sensor output stream from the PIC32 microcontroller and parsed it into individual readings. The Google Data API for .NET was then invoked within the C# server program to communicate with a Google spreadsheet. While not as responsive as the local webpage, the Google Doc implementation proved that these data can be accessible from anywhere using an internet-enabled device.

Capabilities and Limitations.

The wireless sensor network described above is useful in production environments where data availability and quick implementation are critical; however, because the system relies heavily on the relatively weak computing power of standard microcontrollers, the data throughput is limited. For this reason, the wireless sensor network may not be suitable for applications in which high-frequency data analysis must be performed in real-time.

2.3 Sensor-MTConnect Hybrid Network

System Architecture.

The spindle is a key component for a CNC and its sudden break down usually causes a huge loss of productivity. Using a real-time data acquisition system, diagnostics can be performed on a CNC machine tool to evaluate the health of the spindle to avoid this productivity loss. This implementation demonstrates the usefulness of a distributed sensor approach combined with the MTConnect protocol. Machine diagnostics based on the combination of external sensors and MTConnect have not been fully studied yet, so this implementation attempts to demonstrate the novelty of the approach.

The data flow architecture for spindle diagnostics is shown in Fig. 5. An accelerometer, a power meter, and MTConnect data are combined together and processed by an NI myRIO. Both the accelerometer and the power meter are hard wired to the processor to demonstrate the concept of the data flow architecture and the effectiveness of the diagnostic method. The diagnostics result appears as an FFT pattern. Using JavaScript, the data can be transferred in real-time to cloud-based dynamic documents such as Google Docs to enable further analysis on remote systems.

Fig. 5.
figure 5

Spindle diagnostics data flow

Case Study: Machine Tool Spindle Diagnostics.

Accelerometers are attached to the spindle housing of an Okuma Millac M44V to assess and diagnose the health of the spindle. From the vibration data of the accelerometer, a fast Fourier transform (FFT) is performed to provide information related to critical elements of the spindle, including the spindle bearings, which are typical components that fail due to lifecycle fatigue or a severe crash scenario [10]. Accelerometer signals have certain well defined characteristics, such as their fundamental frequency, as well as certain harmonics that are integer multiples of the fundamental frequency. Other well documented characteristics include bearing related frequencies or so-called bearing tones, such as the ball pass frequency on the rollers and the races [11]. A record of a healthy spindle FFT is calculated and stored for the spindle at various spindle operational frequencies for comparison purposes. Spindle health degradation is monitored by comparing the record of the initial healthy spindle to the vibration of the current spindle.

Local Interface.

It should be noted that the current system does not have a permanent human interface device. By allowing the workers to use their pre-existing smart devices or by providing them with tablets, the cost of having a full computer and display at each machine can be eliminated. The local interface can be transmitted to the cloud if desired, making the operation of this system truly global. If standard communication protocols such as MTConnect, Bluetooth and Wi-Fi are employed, updating the systems to employ the latest interface technology will be as easy as updating one’s smartphone. Finally, while the communication for this system is one way, in the future, two way communication may be implemented that integrates the machine controller into automatic test cycles based on a pre-set time or system conditions.

Spindle Diagnostics Capabilities and Limitations.

The spindle diagnostics example illustrates the flexibility and ease with which data from manufacturing systems can be processed and monitored by the data flow architecture. The fusion of MTConnect and discrete sensors helps to increase the diversity of available data. Based on time and frequency domain analysis, a malfunction of the spindle can be detected. Messages can be transmitted to alert operators and maintenance and scheduling personnel to take further actions. Data can be shared on smart devices or to remote PCs through local networks or the cloud via the Internet.

3 Discussion

This intelligent data flow architecture demonstrates that multiple configurations exist which can be employed to create a data pathway between sensors and data users. In the distributed wireless sensing approach, low-cost sensors and computing platforms can be deployed to monitor machine tools on the shop floor. This system is accessible to any machine tool operator because it is both affordable and easy to implement. When combined with Google Docs, the wireless sensor data can be shared between facilities and used for collaborative manufacturing. This system is unique in that it relies on accessible and easily deployable consumer grade hardware; thus, widespread adoption in smaller facilities is more likely.

While dedicated computer displays were employed in the preceding implementations to present both raw and analyzed data to users, they are not required in order to realize these data flow architectures. As smart devices such as phones and tablets become more affordable and widespread, it is reasonable to expect that all personnel working in a given manufacturing facility would carry such a device. As such, the dedicated displays can be eliminated and each smart device can serve as a separate display for its owner. These personal displays would allow for a limitless number of users to view one set of data at a time; if the data were stored in the cloud, these data could be accessed from anywhere. Cyber-security concerns present problems that must be solved in order to advance this concept, but this has been proven to be possible by several successful cloud-based storage services that exist today.

The implementation of a reconfigurable data flow architecture, such as the ones presented above, would be highly adaptable to changes on the shop floor and would require only simple software updates (which can be performed remotely) to alter system behavior. A reconfigurable system would allow manufacturers access to any process or machine data that they want to analyze, which eliminates costly and time-consuming hardware setups. As the speed of data acquisition and analysis can increase with these reconfigurable systems, and if cloud-based storage and processing are integrated, real-time collaborative manufacturing and control begin to look like a reality. This globalization of these manufacturing data would accelerate the pace of process development and optimization, leading to increased productivity, higher sustainability, and lower costs for all participating parties.

4 Conclusions

In this study, three different intelligent and accessible data flow architectures are designed and implemented for manufacturing systems. Conclusions are as follows: (i) The MTConnect protocol was shown to be compatible with the myRIO and useful data were successfully gathered and presented, (ii) A distributed wireless sensor approach was shown using two different computing platforms – PIC32 and myRIO, (iii) A cloud-based data platform was implemented with the wireless sensor approach to demonstrate that the collected data are available globally, and (iv) A real-time spindle diagnostics application was developed using the myRIO to demonstrate sophisticated analysis that can be performed with the data acquired using one of these architectures.