Acessibilidade / Reportar erro

A cyber process control system based on pattern recognition and cloud computing

Um sistema de controle de processos cibernéticos com base em reconhecimento de padrões e computação em nuvem

Abstract:

This paper presents a novel simulation model of the Cyber Process Control System (CPCS) by combining pattern recognition and Cloud Computing (CC). This paper's originality arises from its aim to build a cloud computing platform for autonomous machines, and the exploration of manufacturing data to generate interpretable patterns to be used in process control decision making. The combining of Cloud technology and machine learning brings production to Industry 4.0. The proposed system is tested using data Carbon Fiber Reinforced Polymer (CFRP) routing process. The little information available about the manufacturing process of this type of material and the interaction between the production steps makes the manufacturing process quite difficult. This system generates interpretable rules of controllable operating parameters sent to the controller to keep the machining process within the limits of the specifications. The second step is activated during the drifting conditions in the machining step. Also, the simulation of the machining process is illustrated to generate the relations between input and output variables of the machining process. The findings of the corrective actions are illustrated and the interaction between the two industrial steps is simulated. Finally, current and future CPCS and CC applications in Industry 4.0 are discussed.

Keywords:
Process control; Pattern recognition; Multi-class logical analysis of data; Cyber-physical system; Industry 4.0; Cloud computing

Resumo:

Este artigo apresenta um novo modelo de simulação do Cyber ​​Process Control System (CPCS) combinando reconhecimento de padrões e Cloud Computing (CC). A originalidade deste artigo decorre de seu objetivo de construir uma plataforma de computação em nuvem para máquinas autônomas e da exploração de dados de fabricação para gerar padrões interpretáveis ​​para serem usados ​​na tomada de decisões de controle de processos. A combinação de tecnologia em nuvem e aprendizado de máquina traz a produção para a Indústria 4.0. O sistema proposto é testado usando o processo de roteamento de polímero reforçado com fibra de carbono (CFRP). A pouca informação disponível sobre o processo de fabricação desse tipo de material e a interação entre as etapas de produção dificulta bastante o processo de fabricação. Este sistema gera regras interpretáveis ​​de parâmetros operacionais controláveis ​​enviados ao controlador para manter o processo de usinagem dentro dos limites das especificações. A segunda etapa é ativada durante as condições de deriva na etapa de usinagem. Além disso, a simulação do processo de usinagem é ilustrada para gerar as relações entre as variáveis ​​de entrada e saída do processo de usinagem. Os resultados das ações corretivas são ilustrados e a interação entre as duas etapas industriais é simulada. Finalmente, são discutidas as aplicações atuais e futuras de CPCS e CC na Indústria 4.0.

Palavras-chave:
Controle de processos; Reconhecimento de padrões; Análise lógica multiclasse de dados; Sistema ciber-físico; Indústria 4.0; Computação em nuvem

1 Introduction

In November 2011 the German government implemented the first concept of Industry 4.0, which was a key component of their high-tech strategy for 2020. The term Industry 4.0 previously appeared at the Hannover Industrial Fair in April 2013 as a German national strategy. These appearances support classifying this term as a significant topic among global industries. Industry 4.0 mainly depends on building a Cyber-Physical System (CPS) to build a smart, reconfigurable, highly flexible production process, with real-time interactions between people, production, and devices. Industry 4.0 strategies are aimed at creating smart factories where CPSs and CC are used and able to monitor, control, and make smart decisions for physical processes (Zhong et al., 2017Zhong, R. Y., Xu, X., Klotz, E., & Newman, S. T. (2017). Intelligent manufacturing in the context of industry 4.0: a review. Engineering, 3(5), 616-630. http://dx.doi.org/10.1016/J.ENG.2017.05.015.
http://dx.doi.org/10.1016/J.ENG.2017.05....
). Making the machine work autonomously with and interact with other production phases become the main research topic in the industrial field. These results in a production that can be standardized solve problems and make adaptive decisions (McFarlane et al., 2003McFarlane, D., Sarma, S., Chirn, J. L., Wong, C., & Ashton, K. (2003). Auto ID systems and intelligent manufacturing control. Engineering Applications of Artificial Intelligence, 16(4), 365-376. http://dx.doi.org/10.1016/S0952-1976(03)00077-0.
http://dx.doi.org/10.1016/S0952-1976(03)...
). Some process control systems utilize artificial intelligence (AI), which allows them to learn from historical data to achieve smart control and standardized industrial processes. The autonomous manufacturing model is based on smart sciences that improve the design, management, and enhancement of the interaction between production phases. The smart manufacturing model uses smart sensors, adaptive decision-making models, intelligent devices, and data analytics. Many researchers have proposed studies on classical process control. The classical process control technique is dependent on the expert system that uses experience to find suitable operating conditions to produce conforming surfaces. There has been a recent trend of researchers using intelligent manufacturing techniques to control production processes. For example, Mourtzis et al. (2019)Mourtzis, D., Vlachou, E., Milas, N., Tapoglou, N., & Mehnen, J. (2019). A cloud-based, knowledge-enriched framework for increasing machining efficiency based on machine tool monitoring. Proceedings of the Institution of Mechanical Engineers. Part B, Journal of Engineering Manufacture, 233(1), 278-292. http://dx.doi.org/10.1177/0954405417716727.
http://dx.doi.org/10.1177/09544054177167...
proposed a knowledge-enriched framework with aid of CC and wireless sensor networks to collect the machining parameters from the production process and shared them with a human operator by using mobile devices. Song & Moon (2019)Song, Z., & Moon, Y. (2019). Performance analysis of cyber manufacturing systems. Proceedings of the Institution of Mechanical Engineers. Part B, Journal of Engineering Manufacture, 233(5), 1362-1376. http://dx.doi.org/10.1177/0954405417706996.
http://dx.doi.org/10.1177/09544054177069...
introduced a cyber-manufacturing system architecture that consisted of five component levels and investigate the performance of the proposed system by using simulation techniques. Merdan et al. (2019)Merdan, M., Hoebert, T., List, E., & Lepuschitz, W. (2019). Knowledge-based cyber-physical systems for assembly automation. Production & Manufacturing Research, 7(1), 223-254. http://dx.doi.org/10.1080/21693277.2019.1618746.
http://dx.doi.org/10.1080/21693277.2019....
proposed a model-driven technique for automatically configuring the control layer of a CPS based on knowledge representation of the environment and component capabilities. The proposed technique includes a control architecture that is examined in two industrial use cases. Huang (2016)Huang, P. B. (2016). An intelligent neural-fuzzy model for an in-process surface roughness monitoring system in end milling operations. Journal of Intelligent Manufacturing, 27(3), 689-700. http://dx.doi.org/10.1007/s10845-014-0907-6.
http://dx.doi.org/10.1007/s10845-014-090...
developed a decision-making model for surface roughness monitoring for end milling operation. The developed model achieves a higher level of accuracy for surface quality prediction. Furthermore, the decision-making algorithm should be applied to implement a cutting tool monitoring system. This system is; an adaptive control of machining parameters that adjusts the parameters for quality surface roughness for the smart Computer Numerical Control (CNC) machine. De Paula Ferreira et al. (2020)De Paula Ferreira, W., Armellini, F., & De Santa-Eulalia, L. A. (2020). Simulation in industry 4.0: a state-of-the-art review. Computers & Industrial Engineering, 149, 106868. http://dx.doi.org/10.1016/j.cie.2020.106868.
http://dx.doi.org/10.1016/j.cie.2020.106...
proposed a stat of the art research study on simulation in the field of Industry 4.0 (I4.0). Mourtzis (2020)Mourtzis, D. (2020). Simulation in the design and operation of manufacturing systems: state of the art and new trends. International Journal of Production Research, 58(7), 1927-1949. http://dx.doi.org/10.1080/00207543.2019.1636321.
http://dx.doi.org/10.1080/00207543.2019....
introduced the significant milestones in the manufacturing system evaluation due to quick response and analysis, low cost, and decreasing the risk of operation. Jiang et al. (2014)Jiang, P., Jia, F., Wang, Y., & Zheng, M. (2014). Real-time quality monitoring and predicting model based on error propagation networks for multistage machining processes. Journal of Intelligent Manufacturing, 25(3), 521-538. http://dx.doi.org/10.1007/s10845-012-0703-0.
http://dx.doi.org/10.1007/s10845-012-070...
proposed an innovative approach to adaptive analyses of machining process stability to improve the quality of the machining process, which is solved with the backpropagation neural network and support vector machine. The equipment model service performance prediction is established to forecast the quality of the machining form features in real-time. Shaban et al. (2017)Shaban, Y., Meshreki, M., Yacout, S., Balazinski, M., & Attia, H. (2017). Process control based on pattern recognition for routing carbon fiber reinforced polymer. Journal of Intelligent Manufacturing, 28(1), 165-179. http://dx.doi.org/10.1007/s10845-014-0968-6.
http://dx.doi.org/10.1007/s10845-014-096...
developed a pattern-based Machine Learning (ML) approach to detect characteristic patterns to control the quality of a machined part at a specific range. The proposed methodology used to find these patterns lead to conforming products. Also, an online machining process control has been implemented by using the experimental results. A process control model shows how two-class Logical Analysis of Data is used to control the routing process by autonomously tuning the routing conditions to always return to the machining zones. The generated model introduces the different patterns of conforming and nonconforming production quality. This use in this paper was a two-class decision-making approach; its use was limited to control of only one conforming quality variable. Additionally, they use a simple multiple linear regression in the simulation of the CFRP machining process.

In this paper, we present a simulation model of a novel CPCS by using ML and online connectivity of the internet. Due to the very rare information available about the machining process of CFRP, and how the interaction between the production stages makes the manufacturing process quite difficult is considered. This paper's originality arises from its aim to build a cloud computing platform for monitoring and control of the Production's performance autonomously, and the exploration of manufacturing data to generate interpretable patterns to be used in process control decision making and simulate the interaction between two production stages. We use Artificial Neural Network (ANN) to simulate machine behavior during the production process. A Graphical User Interface (GUI) was built to simulate the machine-to-machine connection. In section 2, (CPCS) based on internet connectivity is presented. The proposed methodology is introduced in section 3. In section 4, the experimental setup and results are given. In Section 5 the accuracy of the proposed simulation model compared with the most popular machine learning techniques of ANN and Support Vector Machine (SVM) are presented. A simulation online decision-making process is presented in section 6. Finding the autonomous corrective action is the subject of section 7. The sentencing step is illustrated in section 8. Discussion, conclusions, and future work are presented in section 9.

2 The cyber process control system

The process control system has an adaptive control loop with an automatic adjustment of controllable machining variables. The automatic control is used to improve productivity and product quality, which is not commonly available in CNCs (Liang et al., 2004Liang, S. Y., Hecker, R. L., & Landers, R. G. (2004). Machining process monitoring and control: the state-of-the-art. Journal of Manufacturing Science and Engineering, 126(2), 297-310. http://dx.doi.org/10.1115/1.1707035.
http://dx.doi.org/10.1115/1.1707035...
). In this paper, we present the process control in two production steps; the first step is the machining step and the second step is the sentencing step. Figure 1 illustrates the machine-to-machine (M2M) interaction.

Figure 1
Machine to machine interaction structure.

To produce within the pre-defined specifications, the production process is continuously monitored during its process. Due to continuous monitoring, big data is generated. The big volume of data that is generated during monitoring needs scalable storage space and a parallel processing analyzer. In this paper, we build a production control system based on CC. The main advantages of using CC are accessibility, scalability, security, unlimited storage space, and cost-effectiveness. CC services are provided by Amazon AWS, Dropbox, Google Cloud, IBM, Microsoft Azure, and, 24/7 support is available (Avram, 2014Avram, M. G. (2014). Advantages and challenges of adopting cloud computing from an enterprise perspective. Procedia Technology, 12, 529-534. http://dx.doi.org/10.1016/j.protcy.2013.12.525.
http://dx.doi.org/10.1016/j.protcy.2013....
). The benefits of the proposed system include secure access and adjustable storage capacity, ease of use, fast speeds, and efficiently synchronized technology.

The architecture of the CPCS consists of two steps. The first step is divided into four layers which are parameters; sensing, communication, analysis and sentencing, and corrective action.

Parameter sensing (PS): PS consists of sensors connected to the machine to provide parameters’ values such as forces, temperature, and pressure. The setup of these sensors has Internet of Things (IoT) capability for wireless communication that enables data transfer via the internet to the higher layer. A combination of a sensor, microprocessor, and communication technology is used to convert environmental inputs into readable data, and to transmit this data onwards to a centralized repository. In contrast, traditional sensors rely on the manufacturer to perform the processing of inputs. Smart sensors allow for data to be transmitted with fewer errors, as the processing happens closer to the source, and can remain within a company’s network. A PS comprises an assortment of spatially disseminated and autonomous gadgets that gather data and carefully communicate it over a remote channel. A PS can utilize several sensors, joined by gateways and an organizing gadget, to detect the natural or states of being of a framework, and to screen or control it. Every hub contains at least one sensor that can be detached or dynamic. These sensors speak with one another to send the data to a worker CC that deals with the data of the whole system (Rashvand et al., 2014Rashvand, H. F., Abedi, A., Alcaraz-Calero, J. M., Mitchell, P. D., & Mukhopadhyay, S. C. (2014). Wireless sensor systems for space and extreme environments: a review. IEEE Sensors Journal, 14(11), 3955-3970. http://dx.doi.org/10.1109/JSEN.2014.2357030.
http://dx.doi.org/10.1109/JSEN.2014.2357...
). Additionally, smart sensors can be more easily customized for specific use cases while traditional sensors are generally mass-produced. In this paper, the monitored cutting forces are measured using a Kister dynamometer 9255B, and temperatures are measured using a FLIR Thermo Vision A20M infra-red camera,

Communication: Communication consists of distributed file storage and parallel processors that connect the virtual and physical sides. CC is the on-request conveyance of IT assets over the Internet with increasing pay requirements only as costs arise. Rather than purchasing, claiming, and keeping up physical server farms and workers, you can get to innovation administrations; for example, registering force, stockpiling, and databases, dependent upon the situation from a cloud supplier. The proposed system doesn’t need to over-arrange assets in advance to deal with top degrees of business action later on. Rather, you only arrange the measure of assets that you need. You can scale these assets up or down to immediately develop and shrivel limits as your business needs change. This layer uses the internet to transfer the collected data from smart sensors to the central hub, which is explained below. In this paper, we use Dropbox Cloud storage, with a capacity of 2 Gigabytes.

Sentencing: This layer includes the analyzer software that converts uncontrollable sensing data into useful information. We use historical data in offline learning to build the analyzer. The analyzer compares the offline learning patterns and the new sensing data that comes from the smart sensor. After analyzing the collected data and defining the conforming conditions, the corrective actions are sent back to the following layer.

Implementation of corrective actions: - this layer consists of controllers that receive the corrective actions to adjust the control parameters that produce workpieces within conforming conditions.

This paper presents a simulation model of the CPCS. Figure 2 illustrates the architecture of the proposed model. The proposed architecture is matched with the CPS to achieve Industry 4.0 requirements (Rashvand et al., 2014Rashvand, H. F., Abedi, A., Alcaraz-Calero, J. M., Mitchell, P. D., & Mukhopadhyay, S. C. (2014). Wireless sensor systems for space and extreme environments: a review. IEEE Sensors Journal, 14(11), 3955-3970. http://dx.doi.org/10.1109/JSEN.2014.2357030.
http://dx.doi.org/10.1109/JSEN.2014.2357...
). We use the ML to convert the historically uncontrollable measuring data of the machining process to generate governor patterns in the offline analysis. Also, we use the controllable variable in the offline analysis to extract the control pattern to start building the online model of the proposed CPCS.

Figure 2
Architecture of the CPCS.

To simulate the proposed process control system, a simulated example for multi-parameter process control is developed using MATLAB 2015/b.

3 Multi-Class Logical Analysis of Data (MC-LAD)

In the following section, the proposed methodology is presented. Logical Analysis of Data (LAD) is a machine learning and knowledge discovery technique that generates patterns that are extracted from the given training data. These patterns represent rules that describe the states of the process during machining. They are interpretable as zones of conditions that lead to conforming or nonconforming products with different anomalies.

The identification of these patterns in any new dataset is an indication of the production output’s condition. The cbmLAD (Alexe et al., 2004Alexe, G., Alexe, S., Liotta, L. A., Petricoin, E., Reiss, M., & Hammer, P. L. (2004). Ovarian cancer detection by logical analysis of proteomic data. Proteomics, 4(3), 766-783. http://dx.doi.org/10.1002/pmic.200300574. PMid:14997498.
http://dx.doi.org/10.1002/pmic.200300574...
) software is used. The multi-class LAD methodology is composed of 3-steps; Data Binarization, Pattern Generation, and Theory Formation (Yacout et al., 2012Yacout, S., Salamanca, D., & Mortada, M.-A. (2012). Patent Cooperation Treaty PCT/CA2011/000876, No.Wo 2012/009804 A1.; Moreira, 2000Moreira, L. M. (2000). The use of Boolean concepts in general classification contexts (Doctoral dissertation). Ecole Polytechnique Federale de Lausanne, Lausanne.‏).

4 Case study

We consider the machining of Carbon Fiber Reinforcements Polymer (CFRP) as a case study. The CFRP properties include high specific strength and stiffness, performance to weight ratio, high chemical and thermal stability, and high connectivity and corrosion resistance. These properties make them the backbone of many applications, especially in mechanical engineering, aerospace, aviation, automotive industries, and sports (Mortada et al., 2014Mortada, M. A., Yacout, S., & Lakis, A. (2014). Fault diagnosis in power transformers using multi-class logical analysis of data. Journal of Intelligent Manufacturing, 25(6), 1429-1439. http://dx.doi.org/10.1007/s10845-013-0750-1.
http://dx.doi.org/10.1007/s10845-013-075...
; Sharma et al., 2014Sharma, M., Gao, S., Mäder, E., Sharma, H., Wei, L. Y., & Bijwe, J. (2014). Carbon fiber surfaces and composite interphases. Composites Science and Technology, 102, 35-50. http://dx.doi.org/10.1016/j.compscitech.2014.07.005.
http://dx.doi.org/10.1016/j.compscitech....
; Soutis, 2005Soutis, C. (2005). Fibre reinforced composites in aircraft construction. Progress in Aerospace Sciences, 41(2), 143-151. http://dx.doi.org/10.1016/j.paerosci.2005.02.004.
http://dx.doi.org/10.1016/j.paerosci.200...
; Paiva et al., 2009Paiva, J. M. F. D., Santos, A. D. N. D., & Rezende, M. C. (2009). Mechanical and morphological characterizations of carbon fiber fabric reinforced epoxy composites used in aeronautical field. Materials Research, 12(3), 367-374. http://dx.doi.org/10.1590/S1516-14392009000300019.
http://dx.doi.org/10.1590/S1516-14392009...
). CFRP is designed to gradually substitute conventional metallic materials (Mallick, 2007Mallick, P. K. (2007). Fiber-reinforced composites: materials, manufacturing, and design. Boca Raton: CRC Press.‏ http://dx.doi.org/10.1201/9781420005981.
http://dx.doi.org/10.1201/9781420005981...
). Most CFRP studies are concentrated on its material properties. CFRP machining is more difficult than conventional metal machining due to the different material structures (Tyczyński et al., 2014Tyczyński, P., Lemańczyk, J., Ostrowski, R., & Ewa S´liwa, R. (2014). Drilling of CFRP, GFRP, glare type composites. Aircraft Engineering and Aerospace Technology: An International Journal, 86(4), 312-322. http://dx.doi.org/10.1108/AEAT-10-2012-0196.
http://dx.doi.org/10.1108/AEAT-10-2012-0...
). This challenge increases the importance of studying machining to reduce the production cost (Che et al., 2014Che, D., Saxena, I., Han, P., Guo, P., & Ehmann, K. F. (2014). Machining of carbon fiber reinforced plastics/polymers: a literature review. Journal of Manufacturing Science and Engineering, 136(3), 034001. http://dx.doi.org/10.1115/1.4026526.
http://dx.doi.org/10.1115/1.4026526...
). Milling composite materials is a complex task. Challenges include material heterogeneity, distance error and parallelism during the machining process, and material characteristics and cutting parameters; namely, spindle speed (v), feed (f), length of cut (LOC), and tool overhang length (LOT). The manufacturers of CFRP use milling as a corrective operation to produce a well-defined and high-quality surface that requires the removal of excess material to control tolerance (Ferreira et al., 1999Ferreira, J. R., Coppini, N. L., & Miranda, G. W. A. (1999). Machining optimisation in carbon fibre reinforced composite materials. Journal of Materials Processing Technology, 92-93, 135-140. http://dx.doi.org/10.1016/S0924-0136(99)00221-6.
http://dx.doi.org/10.1016/S0924-0136(99)...
; Sorrentino et al., 2016Sorrentino, L., Turchetta, S., & Bellini, C. (2016). Milling machining of CFRPs: a model to simulate and forecast the cutting forces intime domain. IACSIT International Journal of Engineering and Technology, 8(5), 1880-1892. http://dx.doi.org/10.21817/ijet/2016/v8i5/160805402.
http://dx.doi.org/10.21817/ijet/2016/v8i...
).

Routing processes were tested on a Quasi-isotropic laminate comprising 35 piles of 8-harness satin woven graphite-epoxy prepared with the final cured thickness of 6.35±0.02mm. The specification of the cutting tool is 6.3mm, 4 flutes, and solid carbide end mill (Davim & Reis, 2005Davim, J. P., & Reis, P. (2005). Damage and dimensional precision on milling carbon fiber-reinforced plastics using design experiments. Journal of Materials Processing Technology, 160(2), 160-167. http://dx.doi.org/10.1016/j.jmatprotec.2004.06.003.
http://dx.doi.org/10.1016/j.jmatprotec.2...
). The experiments were performed on a Makino A88ɛ machining center. A spindle speed attachment was used to achieve spindle speed up to 40,000 rpm, which has 1 kw of power. The slotting was tested along with the full thickness of the composite material. After each 32mm of cutting distance, tool wear was investigated at the flank and the rake faces. The total cutting distance was 96mm. The experimental test matrix was used with spindle speeds (v-rpm) 10,000, 20,000, 30,000, 40,000, 3 feeds (f-mm/min): 250, 500, 1000, 3 values of cutting distance (C-mm) 24, 31, 38 and 3 overhang lengths (TL-mm) 30, 60, 90. Therefore, the total number of full factorial designs of experiments is 108 observations. The monitored variables are feed force (Fx), transverse force (Fy), axial force (Fz)for different speeds, feeds and tool overhang length of TL1=38mm and TL3=24. The machined slots were characterized in terms of parallelism and a distance error. The specifications of these qualities and characteristics were the following: Parallelism ≤ 1% and a distance error ≤ 0.5%. To consider both quality characteristics, a multi-class pattern generation problem is based on the experimental data. Is solved. Table 1 illustrates a sample of three classes of observations that satisfy quality specifications (class 0), the observations with unsatisfied parallelism (class1), as well as the observations with both unsatisfied parallelism and distance error (class 2). The experimental data illustrate the controllable and uncontrollable parameters which affect machine production.

Table 1
A sample of the experimental results.

5 Methodology test

In this section, the comparison between the classification accuracy of the proposed machine learning technique (MC-LAD) with the most popular machine learning techniques such as the Artificial Neural Network (ANN) and Support Vector Machine (SVM) was illustrated in the following section.

6 Artificial Neural Network (ANN)

The Artificial Neural Network is the most popular supervised ML approach. In 1943 a computational model for neural networks based on mathematics and threshold logic algorithms was developed (Meshreki et al., 2012Meshreki, M., Sadek, A., & Attia, M. H. (2012). High speed routing of woven carbon fiber reinforced epoxy laminates. In ASME 2012 International Mechanical Engineering Congress and Exposition (pp. 2061-2066). New York: American Society of Mechanical Engineers.‏ http://dx.doi.org/10.1115/IMECE2012-88616.
http://dx.doi.org/10.1115/IMECE2012-8861...
). ANN is composed of three layers, the input layer, neuron layer, and output layer. The input layers accept the input attributes. The neuron layer and number of neurons depend on the nonlinearity of the model, which interconnects between the input and output layers (McCulloch & Pitts, 1990McCulloch, W. S., & Pitts, W. (1990). A logical calculus of the ideas immanent in nervous activity. Bulletin of Mathematical Biology, 52(1-2), 99-115. http://dx.doi.org/10.1016/S0092-8240(05)80006-0. PMid:2185863.
http://dx.doi.org/10.1016/S0092-8240(05)...
).

In this work, there are two models, the monitor, and control model. The input variables in the monitoring model are the feed force, transverse force, axial force, and the average temperature of the machining process. The control model input variables are cutting speed, feed, overhang tool length, and cutting distance. The multivariable output layers in our work are the quality outcomes which are “conforming”, “nonconforming with distance error” and “nonconforming with distance error and parallelism error”. In Figures 3a and 3b the controllable and uncontrollable variables are illustrated. The following ANN models were developed to compare the classification accuracy and the proposed ML technique accuracy. The developed ANN models have one hidden layer with five neurons. The training and testing procedure is known as the K-fold cross-validation procedure. In our work, (K=5).

Figure 3
ANN controllable and uncontrollable variables models.

The second ML illustrated is the Support Vector Machine (SVM). SVM is a supervised non-parametric statistical learning technique, therefore there is no assumption. The SVM training algorithm aims to find a hyperplane that separates the dataset into a discrete predefined number of classes in a fashion consistent with the training examples. SVM gives the ability to generalize from a limited amount of training data with variable quality. Compared to alternative methods such as backpropagation neural networks, SVMs can yield comparable accuracy using a much smaller training sample size. This is in line with the “support vector” concept that relies on only a few data points to define the classifier’s hyperplane (Sharma et al.., 2008Sharma, V. S., Dhiman, S., Sehgal, R., & Sharma, S. K. (2008). Estimation of cutting forces and surface roughness for hard turning using neural networks. Journal of Intelligent Manufacturing, 19(4), 473-483. http://dx.doi.org/10.1007/s10845-008-0097-1.
http://dx.doi.org/10.1007/s10845-008-009...
). The support-vector network implements the following idea: it maps the input vectors into a high dimensional feature space Z through some non-linear mapping chosen a priori. In this space, a linear decision surface is constructed with special properties that ensure a high generalization ability of the network (Cortes & Vapnik, 1995Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273-297. http://dx.doi.org/10.1007/BF00994018.
http://dx.doi.org/10.1007/BF00994018...
). The advantage of using an SVM includes flexibility in the choice of the threshold separating the solvent from insolvent companies, the use of nonlinear transformations no assumptions about the functional form of the transformation, good out-of-sample generalization, and the ability to deliver a unique solution. The disadvantage includes the inability to represent the score of all companies as a simple parametric function of the financial ratios, since its dimension may be very high, or as a linear combination of single financial ratios, or other simple functional forms.

In this paper, we use the Weka data mining software (Mountrakis et al., 2011Mountrakis, G., Im, J., & Ogole, C. (2011). Support vector machines in remote sensing: a review. ISPRS Journal of Photogrammetry and Remote Sensing, 66(3), 247-259. http://dx.doi.org/10.1016/j.isprsjprs.2010.11.001.
http://dx.doi.org/10.1016/j.isprsjprs.20...
) to build multi-class monitored and a multi-class control model. The number of observations of each class is 27, 25, 56 for conforming, distance error, and both distance and parallelism respectively.

The validation and comparison between different ML techniques is a real challenge for researchers (Hall et al., 2009Hall, M., Frank, E., Holmes, G., Pfahringer, B., Reutemann, P., & Witten, I. H. (2009). The WEKA data mining software: an update. SIGKDD Explorations, 11(1), 10-18. http://dx.doi.org/10.1145/1656274.1656278.
http://dx.doi.org/10.1145/1656274.165627...
). Usually, to compare techniques for the same problem, the accuracy of each technique is compared. This accuracy metric is obtained from cross-validation with several repetitions. The technique with the highest accuracy is preferable. This comparison method is sufficient in most practical research (Wolpert, 1996Wolpert, D. H. (1996). The lack of a priori distinctions between learning algorithms. Neural Computation, 8(7), 1341-1390. http://dx.doi.org/10.1162/neco.1996.8.7.1341.
http://dx.doi.org/10.1162/neco.1996.8.7....
). The accuracy testing process is performed by dividing the experimental data into two sets. The first set is the training set which covers the different classes with a constant percentage of each class observation number. The second set is the tests data that test the generated model to find the accuracy of classifying the tested observation with its class. The training and testing procedure is known as the K-fold cross-validation procedure. In our work, (K=5). To calculate the accuracy of the proposed methodology for the same problem we use the software cbmMC-LAD (Alexe et al., 2004Alexe, G., Alexe, S., Liotta, L. A., Petricoin, E., Reiss, M., & Hammer, P. L. (2004). Ovarian cancer detection by logical analysis of proteomic data. Proteomics, 4(3), 766-783. http://dx.doi.org/10.1002/pmic.200300574. PMid:14997498.
http://dx.doi.org/10.1002/pmic.200300574...
). In the Table 2, the accuracy of each ML technique is illustrated.

Table 2
Comparison of the accuracy of MC-LAD, ANN, and SVM.

Table 2 illustrates how using MC-LAD improves the accuracy of detecting unsatisfied specifications. In Tables 3 and 4, the generated patterns for the controllable variables and the uncontrollable variables are illustrated. We use these patterns in the CPCS to keep the machining process in the zone of patterns in class 0, which is the zone where both quality specifications are satisfied. In the following section, the adaptive process control system is illustrated.

Table 3
Generated pattern for Controllable variables using MC-LAD.
Table 4
Pattern generated for uncontrollable variables using MC-LAD.

7 Simulation of the CPCS machining process (Step 1)

In the previous studies, the researchers use linear regression to simulate the machining process and the relation between the input and output of the machining process (Shaban et al., 2017Shaban, Y., Meshreki, M., Yacout, S., Balazinski, M., & Attia, H. (2017). Process control based on pattern recognition for routing carbon fiber reinforced polymer. Journal of Intelligent Manufacturing, 28(1), 165-179. http://dx.doi.org/10.1007/s10845-014-0968-6.
http://dx.doi.org/10.1007/s10845-014-096...
). Due to the non-linearity between the input and output of the machining process of CFRP, the ANN is selected to simulate the machining process. The simulator CPCS for the machining of CFRP was developed by using ANN. We monitored four uncontrollable variables, feed force (Fx), transverse force (Fy), axial force (Fz), and mean temperature (Tmean) to detect the state of the machining process. We built the control process by using the controllable variables, spindle speed (v) and feed (f), overhang tool length (TL), and cutting distance (C). In the remote quality conforming center the sensors’ data that comes from the machining process (layer1) is checked with the patterns generated from historical data and classified into one of the three specified classes. The sensors’ data comes from sensors with wireless connections which send the reading of the uncontrollable variables to the cloud. The second step in the process control is to find the corrective action when the quality is not conforming. The developed ANN models have one hidden layer with two neurons. In the simulation ANN model, the K-fold validation (K) was five. Matlab software was used to simulate this process by using an ANN (McCulloch & Pitts, 1990McCulloch, W. S., & Pitts, W. (1990). A logical calculus of the ideas immanent in nervous activity. Bulletin of Mathematical Biology, 52(1-2), 99-115. http://dx.doi.org/10.1016/S0092-8240(05)80006-0. PMid:2185863.
http://dx.doi.org/10.1016/S0092-8240(05)...
). Figure 4 illustrates the network of controlled input parameters and the output values of the uncontrollable variables.

Figure 4
The ANN that simulates the inputs and output of the machining process.

According to the conforming pattern shown in Table 3, the generated patterns illustrate that overhang tool lengths (TL) less than 24 mm produce a conforming production. Also, the cutting distance (C) value is 24 to 96. In Figure 5, the decision-making procedure schematic is presented. This decision-making schematic presents the control loop of the process control. It starts from the inserting of the controllable variables and ends with finding the corrective action of controllable variables if the uncontrollable variable analysis is the nonconforming pattern.

Figure 5
Decision-making procedure schematic.

In the online process, the overhang length and cutting distance cannot be modified, so in our simulation, we predefine and fixed the value of the two variables. For the overhang tool length, we selected a value less than 24mm. For the cutting distance, we used an interval from 24 to 96. In the following table, the new negative pattern of the controllable model is presented. In the online process, the overhang length and cutting distance cannot be modified so for our simulation, we predefined and fixed the value of the two variables. For the overhang tool length, we selected a value that is less than 24mm. For the cutting distance; we used an interval from 24 to 96. In the Table 5, the new negative pattern of the controllable model is presented.

Table 5
Generated Conforming Controllable parameters patterns (feed and speed).

8 Finding the corrective action

The following graph illustrates the conforming pattern’s zoning. The corrective action to return the machining process from the non-controllable condition to the correct condition is illustrated in Table 6.

Table 6
Corrective actions for the controllable variable (feed and speed).

In zone (D, E, F) the controller measures the distance between the controllable parameter (v, f) and the nearest corrective pattern (vc, fc) according to the following Equation 1.

d = ( v c - v ) 2 + ( f c - f ) 2 (1)

For example in zone (D), if the operation parameter (v, f) is equal to (20000, 200) the corrective action would be (v, 300) or (38000, f) (Equations 2 to 5):

d 1 = ( 20000 - 20000 ) 2 + ( 300 - 200 ) 2 (2)
d 1 = 100 (3)
d 2 = ( 38000 - 20000 ) 2 + ( 300 - 300 ) 2 (4)
d 2 = 18000 100 = 180 (5)

In this case d1<d2 so the corrective action is (v, 300).

In addition, for example if the operation parameter (v, f) in zone (F) is equal to (27000, 600) the corrective action would be (v, 500) or (38000, f) or (25000, f) (Equations 6 to 11):

d 1 = ( 27000 - 27000 ) 2 + ( 500 - 600 ) 2 (6)
d 1 = 100 (7)
d 2 = ( 38000 - 27000 ) 2 + ( 600 - 600 ) 2 (8)
d 2 = 11000 100 = 110 (9)
d 3 = ( 25000 - 27000 ) 2 + ( 600 - 600 ) 2 (10)
d 3 = 2000 100 = 20 (11)

In this case d3<d2 and d3<d1 so the corrective action is (25000, 600).

Figure 7 illustrates some corrective action examples by computing the minimum distance between the operation condition and the nearest corrective action. In Figure 8 the GUI of CPCS is shown. It simulates the machine’s behavior by generating a network between the input controllable variable and the output monitoring variable. Then, the simulator characterizes the quality specifications and indexes them according to the illustrated method in the previous section. After that, the nearest corrective action is computed. If a pattern is non-conforming, the simulator sends the workpieces that have faults to a sentencing station.

Figure 7
Corrective Action Examples.
Figure 8
Simulation GUI of CPCS.

9 Sentencing process (step 2)

In this section, the product generated from step (1) is divided into two scenarios as shown in Figure 9. The first scenario is that the workpieces have a geometrical conforming condition. In this case, the workpieces proceed to the second step (sentencing process). The second scenario is that the product has a non-conforming condition. In this scenario, the work piece goes to the manual inspection station. This control system decreases the after machining cost and makes sure that any workpieces in the second step are accepted according to the geometrical requirement. This increases the efficiency of the production process. Figures 1 and 6 illustrate the two scenarios. In our study, the proposed system sends a warning signal with the status of the produced workpieces from the machining step. According to this signal, the production pieces transfer to the after machining process if it is a conforming condition. In the non-conforming case, the product goes to the inspection station to make sure that only the products that conform will transfer to the subsequent production step.

Figure 9
CPCS schematic.
Figure 6
conforming control parameter pattern.

10 Conclusions

In this paper, a novel system for monitoring and controlling a manufacturing process is developed. The proposed CPCS connects autonomously between multi manufacturing processes. The system is based on CC to connect the proposed system layers. The CC gives the ability to monitor, control, and analysis the behavior of the machining process continuously and via distance. The first step of this system consists of four layers, which include the uncontrolled parameter sensing layer, communication layer, analysis and decision making layer, and corrective action layer. The second step of the proposed system is divided into two scenarios conforming and non-conforming. In the case of conforming case, the system completes the manufacturing process and in the non-conforming case, the system feed the corrective action back to save the manufacturing process in the conforming zone. The proposed system is tested by using an experimental result of high-speed routing of CFRP as a study. The new system is developed as a step to convert a traditional factory into a smart factory. The new system is constructed based on a methodology to find interpretable rules that are governed by the generated patterns; these patterns describe the machining process of conforming products. We compare the proposed methodology and the most popular ML techniques ANN and SVM. The results are illustrated in Table 2. This comparison illustrates that the new approach improves the accuracy of the monitor and control models. By using the generated offline pattern from the new technique, shown in Table 3 we build CPCS. In step (1) the simulated machining process control system monitors the uncontrollable variable measured during the machining process and compares them with the offline pattern to classify the quality condition. The second step begins if the quality status is nonconforming by generating corrective control variables to control the machining process. The second step is illustrated in Figure 6. In summary, the implemented system helps to achieve the “Smart Factory” status and enhance the production process.

For future research, we are working on applying the proposed CPCS in a real factory conversation from the traditional production methods to the new smart factories. Also, we are working on improving the communication architecture to achieve minimum time delay between the sensing actions to the corrective actions. We are working on implementing a real-time quality monitoring alarm based on the cyber-physical system.

  • Financial support: None.
  • How to cite: Ali, A. M., Yacout, S., Rabeih, E., & Shaban, Y. (2022). A cyber process control system based on pattern recognition and cloud computing. Gestão & Produção, 29, e05221. https://doi.org/10.1590/1806-9649-2022v29e5221

References

  • Alexe, G., Alexe, S., Liotta, L. A., Petricoin, E., Reiss, M., & Hammer, P. L. (2004). Ovarian cancer detection by logical analysis of proteomic data. Proteomics, 4(3), 766-783. http://dx.doi.org/10.1002/pmic.200300574 PMid:14997498.
    » http://dx.doi.org/10.1002/pmic.200300574
  • Avram, M. G. (2014). Advantages and challenges of adopting cloud computing from an enterprise perspective. Procedia Technology, 12, 529-534. http://dx.doi.org/10.1016/j.protcy.2013.12.525
    » http://dx.doi.org/10.1016/j.protcy.2013.12.525
  • Che, D., Saxena, I., Han, P., Guo, P., & Ehmann, K. F. (2014). Machining of carbon fiber reinforced plastics/polymers: a literature review. Journal of Manufacturing Science and Engineering, 136(3), 034001. http://dx.doi.org/10.1115/1.4026526
    » http://dx.doi.org/10.1115/1.4026526
  • Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273-297. http://dx.doi.org/10.1007/BF00994018
    » http://dx.doi.org/10.1007/BF00994018
  • Davim, J. P., & Reis, P. (2005). Damage and dimensional precision on milling carbon fiber-reinforced plastics using design experiments. Journal of Materials Processing Technology, 160(2), 160-167. http://dx.doi.org/10.1016/j.jmatprotec.2004.06.003
    » http://dx.doi.org/10.1016/j.jmatprotec.2004.06.003
  • De Paula Ferreira, W., Armellini, F., & De Santa-Eulalia, L. A. (2020). Simulation in industry 4.0: a state-of-the-art review. Computers & Industrial Engineering, 149, 106868. http://dx.doi.org/10.1016/j.cie.2020.106868
    » http://dx.doi.org/10.1016/j.cie.2020.106868
  • Ferreira, J. R., Coppini, N. L., & Miranda, G. W. A. (1999). Machining optimisation in carbon fibre reinforced composite materials. Journal of Materials Processing Technology, 92-93, 135-140. http://dx.doi.org/10.1016/S0924-0136(99)00221-6
    » http://dx.doi.org/10.1016/S0924-0136(99)00221-6
  • Hall, M., Frank, E., Holmes, G., Pfahringer, B., Reutemann, P., & Witten, I. H. (2009). The WEKA data mining software: an update. SIGKDD Explorations, 11(1), 10-18. http://dx.doi.org/10.1145/1656274.1656278
    » http://dx.doi.org/10.1145/1656274.1656278
  • Huang, P. B. (2016). An intelligent neural-fuzzy model for an in-process surface roughness monitoring system in end milling operations. Journal of Intelligent Manufacturing, 27(3), 689-700. http://dx.doi.org/10.1007/s10845-014-0907-6
    » http://dx.doi.org/10.1007/s10845-014-0907-6
  • Jiang, P., Jia, F., Wang, Y., & Zheng, M. (2014). Real-time quality monitoring and predicting model based on error propagation networks for multistage machining processes. Journal of Intelligent Manufacturing, 25(3), 521-538. http://dx.doi.org/10.1007/s10845-012-0703-0
    » http://dx.doi.org/10.1007/s10845-012-0703-0
  • Liang, S. Y., Hecker, R. L., & Landers, R. G. (2004). Machining process monitoring and control: the state-of-the-art. Journal of Manufacturing Science and Engineering, 126(2), 297-310. http://dx.doi.org/10.1115/1.1707035
    » http://dx.doi.org/10.1115/1.1707035
  • Mallick, P. K. (2007). Fiber-reinforced composites: materials, manufacturing, and design Boca Raton: CRC Press.‏ http://dx.doi.org/10.1201/9781420005981
    » http://dx.doi.org/10.1201/9781420005981
  • McCulloch, W. S., & Pitts, W. (1990). A logical calculus of the ideas immanent in nervous activity. Bulletin of Mathematical Biology, 52(1-2), 99-115. http://dx.doi.org/10.1016/S0092-8240(05)80006-0 PMid:2185863.
    » http://dx.doi.org/10.1016/S0092-8240(05)80006-0
  • McFarlane, D., Sarma, S., Chirn, J. L., Wong, C., & Ashton, K. (2003). Auto ID systems and intelligent manufacturing control. Engineering Applications of Artificial Intelligence, 16(4), 365-376. http://dx.doi.org/10.1016/S0952-1976(03)00077-0
    » http://dx.doi.org/10.1016/S0952-1976(03)00077-0
  • Merdan, M., Hoebert, T., List, E., & Lepuschitz, W. (2019). Knowledge-based cyber-physical systems for assembly automation. Production & Manufacturing Research, 7(1), 223-254. http://dx.doi.org/10.1080/21693277.2019.1618746
    » http://dx.doi.org/10.1080/21693277.2019.1618746
  • Meshreki, M., Sadek, A., & Attia, M. H. (2012). High speed routing of woven carbon fiber reinforced epoxy laminates. In ASME 2012 International Mechanical Engineering Congress and Exposition (pp. 2061-2066). New York: American Society of Mechanical Engineers.‏ http://dx.doi.org/10.1115/IMECE2012-88616
    » http://dx.doi.org/10.1115/IMECE2012-88616
  • Moreira, L. M. (2000). The use of Boolean concepts in general classification contexts (Doctoral dissertation). Ecole Polytechnique Federale de Lausanne, Lausanne.‏
  • Mortada, M. A., Yacout, S., & Lakis, A. (2014). Fault diagnosis in power transformers using multi-class logical analysis of data. Journal of Intelligent Manufacturing, 25(6), 1429-1439. http://dx.doi.org/10.1007/s10845-013-0750-1
    » http://dx.doi.org/10.1007/s10845-013-0750-1
  • Mountrakis, G., Im, J., & Ogole, C. (2011). Support vector machines in remote sensing: a review. ISPRS Journal of Photogrammetry and Remote Sensing, 66(3), 247-259. http://dx.doi.org/10.1016/j.isprsjprs.2010.11.001
    » http://dx.doi.org/10.1016/j.isprsjprs.2010.11.001
  • Mourtzis, D. (2020). Simulation in the design and operation of manufacturing systems: state of the art and new trends. International Journal of Production Research, 58(7), 1927-1949. http://dx.doi.org/10.1080/00207543.2019.1636321
    » http://dx.doi.org/10.1080/00207543.2019.1636321
  • Mourtzis, D., Vlachou, E., Milas, N., Tapoglou, N., & Mehnen, J. (2019). A cloud-based, knowledge-enriched framework for increasing machining efficiency based on machine tool monitoring. Proceedings of the Institution of Mechanical Engineers. Part B, Journal of Engineering Manufacture, 233(1), 278-292. http://dx.doi.org/10.1177/0954405417716727
    » http://dx.doi.org/10.1177/0954405417716727
  • Paiva, J. M. F. D., Santos, A. D. N. D., & Rezende, M. C. (2009). Mechanical and morphological characterizations of carbon fiber fabric reinforced epoxy composites used in aeronautical field. Materials Research, 12(3), 367-374. http://dx.doi.org/10.1590/S1516-14392009000300019
    » http://dx.doi.org/10.1590/S1516-14392009000300019
  • Rashvand, H. F., Abedi, A., Alcaraz-Calero, J. M., Mitchell, P. D., & Mukhopadhyay, S. C. (2014). Wireless sensor systems for space and extreme environments: a review. IEEE Sensors Journal, 14(11), 3955-3970. http://dx.doi.org/10.1109/JSEN.2014.2357030
    » http://dx.doi.org/10.1109/JSEN.2014.2357030
  • Shaban, Y., Meshreki, M., Yacout, S., Balazinski, M., & Attia, H. (2017). Process control based on pattern recognition for routing carbon fiber reinforced polymer. Journal of Intelligent Manufacturing, 28(1), 165-179. http://dx.doi.org/10.1007/s10845-014-0968-6
    » http://dx.doi.org/10.1007/s10845-014-0968-6
  • Sharma, M., Gao, S., Mäder, E., Sharma, H., Wei, L. Y., & Bijwe, J. (2014). Carbon fiber surfaces and composite interphases. Composites Science and Technology, 102, 35-50. http://dx.doi.org/10.1016/j.compscitech.2014.07.005
    » http://dx.doi.org/10.1016/j.compscitech.2014.07.005
  • Sharma, V. S., Dhiman, S., Sehgal, R., & Sharma, S. K. (2008). Estimation of cutting forces and surface roughness for hard turning using neural networks. Journal of Intelligent Manufacturing, 19(4), 473-483. http://dx.doi.org/10.1007/s10845-008-0097-1
    » http://dx.doi.org/10.1007/s10845-008-0097-1
  • Song, Z., & Moon, Y. (2019). Performance analysis of cyber manufacturing systems. Proceedings of the Institution of Mechanical Engineers. Part B, Journal of Engineering Manufacture, 233(5), 1362-1376. http://dx.doi.org/10.1177/0954405417706996
    » http://dx.doi.org/10.1177/0954405417706996
  • Sorrentino, L., Turchetta, S., & Bellini, C. (2016). Milling machining of CFRPs: a model to simulate and forecast the cutting forces intime domain. IACSIT International Journal of Engineering and Technology, 8(5), 1880-1892. http://dx.doi.org/10.21817/ijet/2016/v8i5/160805402
    » http://dx.doi.org/10.21817/ijet/2016/v8i5/160805402
  • Soutis, C. (2005). Fibre reinforced composites in aircraft construction. Progress in Aerospace Sciences, 41(2), 143-151. http://dx.doi.org/10.1016/j.paerosci.2005.02.004
    » http://dx.doi.org/10.1016/j.paerosci.2005.02.004
  • Tyczyński, P., Lemańczyk, J., Ostrowski, R., & Ewa S´liwa, R. (2014). Drilling of CFRP, GFRP, glare type composites. Aircraft Engineering and Aerospace Technology: An International Journal, 86(4), 312-322. http://dx.doi.org/10.1108/AEAT-10-2012-0196
    » http://dx.doi.org/10.1108/AEAT-10-2012-0196
  • Wolpert, D. H. (1996). The lack of a priori distinctions between learning algorithms. Neural Computation, 8(7), 1341-1390. http://dx.doi.org/10.1162/neco.1996.8.7.1341
    » http://dx.doi.org/10.1162/neco.1996.8.7.1341
  • Yacout, S., Salamanca, D., & Mortada, M.-A. (2012). Patent Cooperation Treaty PCT/CA2011/000876, No.Wo 2012/009804 A1.
  • Zhong, R. Y., Xu, X., Klotz, E., & Newman, S. T. (2017). Intelligent manufacturing in the context of industry 4.0: a review. Engineering, 3(5), 616-630. http://dx.doi.org/10.1016/J.ENG.2017.05.015
    » http://dx.doi.org/10.1016/J.ENG.2017.05.015

Publication Dates

  • Publication in this collection
    01 Aug 2022
  • Date of issue
    2022

History

  • Received
    27 Mar 2022
  • Accepted
    02 May 2022
Universidade Federal de São Carlos Departamento de Engenharia de Produção , Caixa Postal 676 , 13.565-905 São Carlos SP Brazil, Tel.: +55 16 3351 8471 - São Carlos - SP - Brazil
E-mail: gp@dep.ufscar.br