System integration for predictive process adjustment and cloud computing-based real-time condition monitoring of vibration sensor signals in automated storage and retrieval systems

As automation and digitalization are being increasingly implemented in industrial applications, manufacturing systems comprising several functions are becoming more complex. Consequently, fault analysis (e.g., fault detection, diagnosis, and prediction) has attracted increased research attention. Investigations involving fault analysis are usually performed using real-time, online, or automated techniques for fault detection or alarming. Conversely, recovery of faulty states to their healthy forms is usually performed manually under offline conditions. However, the development of intelligent systems requires that appropriate feedback be provided automatically, to facilitate faulty-state recovery without the need for manual operator intervention and/or decision-making. To this end, this paper proposes a system integration technique for predictive process adjustment that determines appropriate recovery actions and performs them automatically by analyzing relevant sensor signals pertaining to the current situation of a manufacturing unit via cloud computing and machine learning. The proposed system corresponds to an automated predictive process adjustment module of an automated storage and retrieval system (ASRS). The said integrated module collects and analyzes the temperature and vibration signals of a product transporter using an internet-of-things-based programmable logic controller and cloud computing to identify the current states of the ASRS system. Upon detection of faulty states, the control program identifies corresponding process control variables and controls them to recover the system to its previous no-fault state. The proposed system will facilitate automatic prognostics and health management in complex manufacturing systems by providing automatic fault diagnosis and predictive recovery feedback.


Introduction
Industrial implementation of automation and digitalization makes manufacturing more complex and diverse. A manufacturing system includes several sub-functions [1,2], such as planning [3], scheduling [4][5][6][7], dispatching [8], machine maintenance [9,10], and quality control and inspection [11,12]. In particular, to facilitate the effective operation of a manufacturing process, automated predictive maintenance operations are preferentially performed via fault detection, diagnosis, and predictions based on sensor signals collected during process execution [9,10,[13][14][15]. For example, Lu et al. [16] detected occurrences of bearing faults during operation under harsh conditions (i.e., low signal-to-noise ratio) by applying adaptive stochastic resonance. They installed vibration and acoustic sensors on main shaft bearings and collected corresponding signals. Subsequently, considering enveloping, they fused two types of signals-root mean square and those with peak signal-to-noise ratio-and considered the optimum dominant frequency to identify distinguishable characteristic indices of healthy and faulty system states. To detect faults in wafers, Lee et al. [17] developed denoised autoencoders, which are a type of deep-learning algorithms. The autoencoders were stacked in layers, thereby allowing the output layer of a previous model to be reused as the input layer of the next for pre-training and fine-tuning. Finally, they classified input signals into those corresponding to no-fault and wafer faults based on fine-tuned parameters pertaining to the trained autoencoder. Post fault detection in a machine or facility, fault diagnosis was performed by way of root cause analysis, and fault identification was achieved through sensor signal analyses, for effective maintenance. In another study, vibration sensor signals were collected and analyzed to assess damage levels in a planetary gearbox [18]. A vibration signal model based on amplitude and frequency modulations was employed to explain vibration signal behaviors when either a ring, planetary, or sun gear was damaged. By calculating the characteristic frequencies of each component using the model and given sensor signals, the status of each gear was classified as non-faulty or as a particular fault type.
Once a user is notified of the occurrence of a faulty state by the included sub-functions of a manufacturing system, informative feedback can be automatically provided to facilitate recovery of the system to its healthy state [19][20][21]. If this step is included in predictive maintenance, the maintenance strategy is termed "predictive process adjustment" [22][23][24]. To execute predictive process adjustment in a manufacturing process, users must not only automatically identify the current process status but also handle control parameters as dynamic variables, the values of which must be changed based on user intentions and/or environmental conditions. In particular, realtime monitoring and automatic recovery have an important bearing on product lead times, which, in turn, reflect a company's productivity.
González-Prieto et al. [25] detected open-switch-type faults in an induction motor drive by analyzing the corresponding machine model and energy conversion process. They monitored phase current signals and performed online determination of fault indices. Post detection of fault occurrences, they controlled motor drive parameters (motor speed and current) to recover the system to its healthy state. Mani and Sivaraman [26] employed a fuzzy decision-making system to classify fault types. Based on predefined fault detection rules, their proposed fuzzy classifier computed output variables to classify the current system state as healthy or faulty. The output variables determined an appropriate control action along with an input signal. The performance of this system was validated using a state space model for a continuous stirred tank reactor process.
Although it is important to provide appropriate feedback automatically to systems to facilitate their timely recovery to their healthy state, real-time health management of a manufacturing system is yet exclusively limited to fault detection/alarming and/or root cause analysis. This is because without robust models validated using relevant mathematical principles, it is difficult to execute automatic adjustment of controls on complex systems comprising several machine elements. To overcome this limitation, this paper proposes a system integration technique to perform predictive process adjustment in manufacturing systems via remote real-time condition monitoring of vibration sensors. We developed an automated storage and retrieval system (ASRS) for validating the proposed framework using a motion control module of an industrial controller (i.e., a programmable logic controller (PLC)). In the proposed system, cloud computing is introduced for automatic data collection and real-time monitoring to facilitate fault state analysis using different fault diagnosis techniques. The use of cloud computing and the internet-ofthings (IoT)-based PLC enables adjustment of the relevant control parameters of the system as well as application of various statistical and machine-learning-based fault detection methods, without the need for any complicated settings.
The remainder of this paper is organized as follows. Section 2 describes the ASRS developed in this study as a typical automation facility for implementing the proposed predictive process adjustment strategy. Operating sequences within a system, as well as an equipped controller, data acquisition system, and attached sensors are described in detail. Section 3 describes the proposed framework for predictive process adjustment of the constructed system, including details concerning faulty state detection and real-time system recovery. Section 4 presents and discusses the experimental results obtained using the proposed system. Finally, the conclusions drawn from this study and the scope for future research are presented in Section 5.
2 Description of the existing automated storage and retrieval system In this study, an existing ASRS was modified to develop the proposed real-time remote predictive process adjustment framework. As illustrated in Fig. 1, the existing ASRS comprised five major components-(i) product entrance table, (ii) linear transporter (feeder with two threads and AC motors), (iii) product storage, (iv) industrial controller (PLC), and (v) human-machine interface (HMI). When products on a pallet are placed on the ASRS entrance table, a proximity sensor automatically detects the pallet and sends a signal to the industrial controller, which actuates two DC motors and corresponding threads to extend a sliding feeder of the linear transporter. The feeder locates the appropriate position for pallet handling. Subsequently, the feed rotates 180°to face the product storage, and the linear transporter moves to the predefined HMI-managed product storage position. In cases involving product retrieval/dispensing, the operator first selects the stored product via the HMI. Subsequently, the linear transporter moves to the determined position and product entrance table to facilitate product delivery to the operator or next manufacturing process. The product storage comprises 15 shelves, and each shelf is fitted with a proximity sensor to detect whether a pallet is stored therein. The information received by all proximity sensors can be monitored in real time on the HMI.
A PLC module (developed by Mitsubishi) was used in this study as the main ASRS controller. As depicted in Fig. 2, the PLC included two care types for controlling and communicating with the ASRS actuators. A digital input-output (DI/DO) communication card was used for receiving digital input signals from proximity sensors attached to the product entrance table, storage shelves, and reed switches attached to the feeder (for sliding and rotating), as well as for controlling feeder  extension, retraction, and rotation. Moreover, motion control cards were used for controlling the operation of two AC servomotors along two orthogonal axes (i.e., vertical and lateral movements) as well as receiving built-in encoder signals. The HMI was connected to the PLC via Ethernet to facilitate simultaneous reception of information provided by any sensor or actuator. In addition, the HMI generated a control signal from a graphical user interface to retrieve any pallet from the product storage or control any single actuator.
3 Proposed automatic predictive process adjustment framework Figure 3 illustrates the proposed real-time condition monitoring and automatic process control framework for automated manufacturing systems. The proposed predictive process adjustment strategy can be divided into two phases-offline analysis and online monitoring/feedback. This study focuses on the development of the online remote-monitoring and feedback phase; offline analysis can be configured based on simple signal analyses or expert knowledge-based rules. However, because it functions as an independent module, the offline analysis phase can be easily replaced by complex fault detection, diagnosis, or prediction algorithms.
In accordance with the predictive process adjustment strategy, the architecture for online condition monitoring and process control adjustment can be described as illustrated in Fig. 3. When an automated manufacturing system is powered on and completes initialization, it begins executing assigned tasks. If any fault detection or prediction rule is activated during system operation in the condition-monitoring phase, the corresponding fault state is identified, and an appropriate adjustment is automatically performed. After the said adjustment, the manufacturing system continues operation in its healthy state.
It is possible to generate several fault detection or prediction rules along with corresponding process adjustments. As already mentioned, any fault detection/prediction rules and resolution strategies can be employed in the offline fault analysis phase. From expert knowledge-based models to complex signal-processing and machine-learning-based fault detection/ prediction methods, any fault diagnosis approach with historical time-series data can be used, because current sensor signals can be compared against adjustable variables through cloud computing and the IoT-based PLC. In other words, adjustment #1 is performed using a statistical distance-based approach to detect fault type 1, whereas adjustment #2 is performed from a deep neural network to detect fault types 2 and 3 together.
At this point, the proposed automatic predictive process adjustment is conducted. The adjustment commands derived from the fault detection models are sent through the IoT gateway (via Ethernet communication) to the main PLC (via Modbus). Then, the corresponding parameters (to the given adjustment commands) in the main PLC are re-optimized and the actuators are re-controlled for preventing fault states in the system. In addition, we could analyze sensor signals, which were stored in local or cloud databases, using interlocking application programming interfaces (APIs), and could thereby provide informative feedback to control process parameters or logic.
4 Experimental results and discussion for proposed automatic predictive process adjustment framework 4.1 Experimental setup for remote real-time predictive process adjustment system of ASRS Because the existing automation system receives digital input signals comprising zeros and ones, we installed additional analog sensors (QM42VT2; Banner Engineering Corp.; MN, USA), the details of which are listed in Table 1. Sensors installed on AC motors corresponding to each axis of the linear transporter can measure various types of data simultaneously (maximum of 25 variables), such as temperature, velocity, and peak acceleration. Among several raw signals, we measured root mean square (RMS) data for each axis (X-and Z-axes) to obtain refined and pre-processed vibration signals, based on the specifications summarized in Table 2. In addition, temperature signals from the sensors were simultaneously collected. After measurement of vibration, analog signals were exported and collected using an IoT-based PLC (Hans Turck GmbH & Co. KG; Germany) prior to being transferred to an IoT gateway (Hans Turck GmbH & Co. KG; Germany), as depicted in Fig. 4. In addition, the collected datasets were stored in a cloud database as an n × 4 array, where n indicates the length of the time series in either a normal or an abnormal state, and four rows indicate two vibration sensors on two axes, respectively (X-and Z-axes), as shown in Table 3.
The IoT gateway sends monitored signals to both an IoT master and a cloud-based condition-monitoring server. The IoT master acts as a data repository and decision maker by collecting data relevant to the status of the entire system in real time from the main PLC and IoT gateway. As illustrated in Fig. 5a, we set the communication environment between the main IoT gateway and PLC with a regular cyclic data send/ receive protocol and a fixed IP address. Sensor signal acquisition and message-sending for feedback control were set as shown in Fig. 5b.
Therefore, operators can remotely determine the status of the entire ASRS using the supervisory control and data acquisition (SCADA) interface in real time. Whereas HMI provides information acquired exclusively from the main PLC in the local network, the cloud-based condition-monitoring server displays sensor signals collected by the IoT-based PLC in a remote network. As depicted in Fig. 6, it is possible to perform real-time monitoring and collect relevant signals automatically in the SCADA interface in local and cloud environments. In particular, the current temperature and two vibration measurements on a sensor in the ASRS are recorded in the SCADA interface.
To establish communication between heterogeneous machines in the distributed ASRS control system, two appropriate communication protocols-Ethernet and Modbus-were considered in this study, as depicted in Fig. 5 [27,28]. Ethernet is a common communication protocol, which helps to establish connection between existing internal networks as well as with the Internet (worldwide web) [29,30]. In this study, Ethernet was used to facilitate intercomponent communication. Examples include the communication between the main PLC and HMI as well as that between the IoT gateway and IoT-based PLC. In addition, Ethernet communication allows for establishing connection between the local controller or data acquisition system and condition-monitoring applications (for example, between the IoT master and SCADA as well as between the IoT gateway and cloud server). On the other hand, Modbus is a serial data transmission protocol,  such as the RS-485 and RS-232 [31][32][33]. Owing to its masterslave (i.e., question-answer) architecture, it can receive signals easily from connected components and provide a control message in response. Because Modbus allows heterogeneous controllers to communicate easily with each other over Ethernet or serial cable and enables inexpensive construction [32,33], it was employed in this study to send control messages and receive system status information from the main PLC and IoT gateway, respectively. Finally, as depicted in Fig. 7, the existing ASRS was reconfigured to perform predictive process adjustment based on the proposed control and communication architecture.

Real-time condition monitoring and feedback control for reliable ASRS operation
To demonstrate the utility of the proposed predictive process adjustment, we developed a real-time condition-monitoring and automatic process control system for the ASRS. A simple model, shown in Fig. 8, was generated for online condition monitoring and automatic adjustment. Similar to analyzing a simple statistical control chart and adopting expert knowledge, the following fault prediction rules were set forth: if either the current vibration sensor signal measured from the X-axis thread is larger than or equal to 1G or the current vibration signal of the X-axis motor itself is larger than or equal to 0.8G, the loads placed on the feeder of the linear transporter are excessive (considered as a faulty state). If the current status is not adjusted, a fault will occur soon. Therefore, to preempt the occurrence of a fault, such as sudden termination of the ASRS operation, the main PLC controls relevant process functions (e.g., reduction of motor speed). Machine-learning-based fault detection by sensor signal analyses is usually helpful when any mathematical and physical operation principles are not clear or when faulty states rarely occur [34]. Among the various machine-learningbased fault detection models summarized in Table 4, in this study, two statistical distance-based fault detection models (i.e., individual charts with limit checking of absolute values) were employed to detect two fault types individually, based on the following equations: is the mean value of the overall measurements in the normal states, R is the mean value of the differences between   Using two control limits, a fault state is detected when the following equation is not satisfied [35]: where x t is the current measurement and α is the constant that corresponds to the confidence level. This distance-based fault detection is usually beneficial when the measurements collected during the no-fault state are clear, robust, and their density is high. In this condition, it is quite straightforward to consider statistical outliers as fault indicators and determine the correct adjustment commands to return to a normal state, with a relatively simple detection model. Therefore, we first collected sensor signals during no-fault states (for each fault type) and constructed multivariate statistical models using the corresponding dataset. The developed models (i.e., fault detection rules 1 and 2) represent the healthy status for the corresponding fault type. With suitable statistical confidence levels, we generated appropriate threshold values for each sensor signal to detect or predict faulty states based on each rule.
This implies that while control and measurement signals are measured periodically, as depicted in Fig. 9, a conditionmonitoring application always compares current vibration signals with predefined prediction rules. Figure 10a presents a ladder diagram that is used to perform real-time condition  monitoring and control parameter adjustment. Prediction and adjustment rules are defined using dynamic variables (such as D4200, D4213, and M4000 observed in the current signal and control parameter windows in Fig. 9), which can be easily replaced to suit other fault detection, prediction, and resolution approaches.
Consequently, if a faulty state is detected while monitoring and analyzing online signals, the controller changes the relevant control parameters in accordance with the corresponding adjustment rule. For example, as depicted in Fig. 10b, if the current RMS values of the vibration signal pertaining to the X-axis motor exceed the upper control limit, the main PLC allows for a reduction in the speed of the linear transporter motor. Consequently, the linear transporter operation becomes stable, and the RMS value of its vibration signal approaches zero.
To validate the effectiveness of the proposed process adjustment, we simulated fault states arbitrarily by controlling the external environments (e.g., excess load). As soon as the pre-developed model detected a fault state, adjusted control parameter values were sent, via memory variables in the IoT gateway, to the main PLC. Subsequently, the actuators moved slowly compared with the conventional movement to avoid sudden stopping of the system (e.g., arising from an action such as movement to an unavailable zone or clog at the certain point), and the system was returned to normal operation within a reasonably short time (e.g., less than a minute).

Conclusion
In this study, a system integration architecture was proposed for remote real-time condition monitoring and predictive process adjustment using collected sensor signals in an automated manufacturing system. An IoTbased PLC and cloud computing were introduced to collect vibration sensor signals automatically and reflect corrections made to the related control parameters in real time. In addition, cloud computing enabled application of several fault-detection methods, such as statistical and machine-learning-based approaches. The utility of the proposed architecture was demonstrated via the development of an ASRS along with an online condition-monitoring and automatic and predictive process adjustment application for research and pedagogical purposes. The proposed predictive process adjustment technique can be employed by monitoring and analyzing vibration signals pertaining to an AC servomotor of the liner transporter in the developed ASRS. If faulty states are detected/predicted based on the predefined fault analysis rules, corresponding adjustments can be automatically performed to avoid sudden and unknown terminations in the manufacturing system. All fault analysis results and adjustment rules are managed as dynamic control logic variables. Through cloud computing, these variables can be easily replaced to suit complex maintenance models. The proposed architecture exhibits the potential for widespread practical application in several automated manufacturing systems equipped with industrial process controllers. The system developed in this study employed only two externally manufactured PLCs along with an additionally installed sensor. Therefore, the arbitrarily simulated fault states are relatively simple and, consequently, a simple statistical distance-based fault detection and process adjustment can always easily detect and fix the fault state. However, it is necessary to identify more system response and reliability measures when complex fault states occur, and to also compare the performance using different types of fault detection models, not only statistical distance-based fault detection models, but also fault pattern identification approaches such as dynamic deep learning-based models. In addition, we plan to extend the flexibility of the proposed system so that it can be used in combination with (i) various industrial controllers-such as Raspberry Pi (Raspberry Pi Foundation), CompactRIO (NI), and industrial computers-and (ii) different types of sensors. Data availability Not applicable.

Compliance with ethical standards
Conflict of interest The funding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.
Code availability Not applicable.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.