Development of an Electric-Load Intelligence System for Component Level Disaggregation to Improve Energy Efﬁciency of Machine Tools

Energy and resource efﬁcient manufacturing has become a key priority due to higher energy cost, market competition and environmental regulations. Better transparency and higher levels of disaggregation of energy data are necessary for energy efﬁciency improvement of machine tools. Since the beginning of the 21st century, some attempts have been made by the researchers to quantify the energy data but only up to the operational state of the machine tool. Better accuracy and transparency require disaggregation up to the component level. This study proposes an Electric-Load Intelligence (E-LI) system for identiﬁcation of machine tool operating state and disaggregation of time and energy consumed up to the component level. The energy proﬁle is obtained at the power input of a machine tool and analyzed using a set of signal processing techniques and load-disaggregation algorithms. The proposed methodology is validated through a case study of milling process. Various classiﬁers used in the disaggregation algorithms are compared for their accuracies using the case study data. The results reveal that only a small portion of the total cutting energy (782.24 kJ) was used for actual material removal (40.73 kJ). The proposed study provides accurate data in user friendly format to assist designers and manufacturers for strategic and economic decision making.


Introduction
Energy efficiency of machine tools has become an important aspect of energy saving studies due to high energy consumption and low efficiency of machine tools. Also, electric energy consumption by machine tools is responsible for more than 99% of their carbon emissions . Hence, any reduction in energy consumption by machine tools will lead to economic as well as environmental benefits. During the early 21st century, the crude oil prices experienced an exponential surge from approximately 25 USD per barrel in 2001 to approximately 100 USD per barrel in 2008. This heightened the need for energy saving; and energy consumption emerged as an important criterion for modeling and optimization studies (Camposeco-Negrete 2015; Kant and Sangwan 2014;Zhang et al. 2018). The research for the improvement of surface finish and tool life, and reduction of cutting forces by optimizing cutting parameters is going on for more than 100 years since the era of Taylor equation. The optimization of cutting parameters is confined to saving of cutting energy, which consists of less than 15% of total energy demand of machine tools. The remaining 85% of the energy is consumed as fixed energy by the auxiliary components (Sihag and Sangwan 2019) (coolant pump, axis feed motors, chip conveyor, spindle motor, router, fans, lights, lubricant pump, etc.). Therefore, analysis and reduction of fixed energy of the machine tools gained attention in the recent years (Jia et al. 2017;Mustafaraj et al. 2015;. The modeling and improvement strategies for cutting and fixed energy have been studied in recent years. The studies have emphasized that efficient monitoring and transparency in energy flow of machine tools is a primary prerequisite for energy saving (Teiwes et al. 2018). It has been observed that energy assessment at each hierarchical level is essential to support efficient decision making for energy saving (Vikhorev et al. 2013). Therefore, innovative and effective energy monitoring and management approaches are required to promote energy efficient machining. Some attempts have been made towards energy data acquisition, mapping and analysis to save energy . A few studies have provided generic models for estimation of machine tool energy consumption using mathematical modeling and finite elemental analysis (Pervaiz et al. 2015;Huang et al. 2016). The correlation between the energy consumption and NC codes has been analyzed to obtain a better picture of energy consumption by various components of a machine tool (He et al. 2011). Micro analysis of the machining energy has been provided to quantify the energy consumption up to component and activity levels for better energy transparency (Sihag and Sangwan 2019). Event stream mapping has been used as an efficient approach for automated energy monitoring of the machine tools (Vijayaraghavan and Dornfeld 2010). But the application of intelligent techniques for energy disaggregation is hardly addressed. A few studies have used various machine learning approaches for determining the operating state of a machine tool (O'Driscoll et al. 2015;Sihag et al. 2018). The energy data is processed and classified into pre-defined classes using various classifiers such as support vector machine (SVM), tree classifier, k-nearest neighbor (k-nn), etc.
It is still a challenge for researchers to identify where and how the energy is consumed during a machining process due to complex structure of the machine tools and large number of energy consuming components. So far, the studies have been confined to the identification of the operational state of the machine tools. The existing research does not disaggregate the energy demand up to the component level to make it more transparent and easy to identify the focused measures for energy efficiency. To bridge this gap, the current study. The current study proposes a non-intrusive Electric-Load Intelligence (E-LI) system using a combination of load disaggregation algorithms (such as feature extraction, support vector machines, median absolute deviation etc.) to estimate the energy consumption and operational time for each machining state as well as for energy consuming components of a machine tool. The main contributions of the current study can be summarized as: • Machine tool status identification using an Electric-Load-Intelligence system.

Electric-Load Intelligence Concept
Electric-Load Intelligence (E-LI) is defined as a detailed analysis of energy consumption behavior of electric appliances and development of intelligent applications using structured algorithms to promote efficient use of electricity (Cheng et al. 2006). The proposed E-LI system serves as a novel solution for the widely discussed issue of industrial smart metering . It can be classified as a blind identification problem, where the energy consumption of individual components is identified using the aggregate data of the machine tool measured at the main power input. In general, the operating states of machine tools are classified as idle state, machine ready state and cutting state. The current study proposes a two-tier classification technique. In the first step, the energy and time consumption for each machining state is determined. In the next step, the energy and time consumed by each energy-consuming component in each machining state is calculated.
Mathematically, the power consumption of a machine tool can be represented as where P(t) is the power consumed by machine tool at time t, P i t is the power drawn by component i at time t, n is number of energy consuming components and ε t is the measurement error.
The main objective of the proposed algorithm is to decompose the total power consumption by the machine tool into component specific power signals in order to achieve disaggregated energy sensing. Each electrical component used in machine tools has a unique energy consumption pattern known as load signature. This signature is used to identify the specific component activation in the total power signature of the machine tool. The framework of the methodology used to develop the intelligent non-intrusive load monitoring (NILM) algorithm in the present study is presented in Fig. 12.1.
The power drawn by the machine tool is measured at the main supply input to obtain root mean square (RMS) power waveform. The activation of an event is identified using an event detection algorithm. A set of features is extracted for each event and compared against the feature data stored in the system library of trained classifiers. A series of conditional statements are applied to calculate the energy consumption and duration for each operational state and auxiliary components.

Load Signature Acquisition and Preprocessing
This study uses a supervised learning process to train the proposed E-LI system. The system is trained with a known data set labelled with a predefined class. For training the algorithm, the power signature for the major energy consuming components including spindle activation at different RPMs, activation of axis motors in x, y, and z directions at cutting and rapid speeds, rotation of automatic tool changer, activation of coolant pump, and basic module are recorded. The energy measurement device is installed at the main power input and load signature is recorded for each component activation for five times. The captured raw data is then processes with a series of data processing and conditioning techniques including filtering and normalization to reduce the noise, standardize the data and compensate for any power quality related issues.

Feature Extraction
The original recorded power signatures are raw waveforms with large dimensions and, generally not suitable for use by the classifiers. In practice, a finite set of measurements called as features are extracted from the raw waveform for each signal segment. The objective of feature extraction is to decrease the dimension of the raw signal while maintaining the required information. The bottom line to choose appropriate features is that they should be able to capture the similarities among the signals from the similar classes and differences among the signals from the different classes. In the present study, six unique features are extracted for each event activation. These features have been selected from literature on pattern recognition studies. They are later used by the different classification algorithms to assign class to a set of extracted features.

Load Disaggregation
In this step, activation of a component is classified using a known database of component power signatures and extracted features. Various classifiers have been used in the literature to classify the load signatures such as k-nn, SVM, Tree algorithm, etc. The selection of a suitable classifier depends on its performance and ability to classify the feature data into respective classes accurately. The present study compares the accuracy of these classifiers. SVM is selected as the suitable classifier for high accuracy as explained in Sect. 12.3. It is an efficient classification approach for high dimensional data and exhibits good performance in general (Widodo and Yang 2007). It uses a mapping function to project the non-linearly separable N-dimensional input vector x into a K-dimensional feature space (K > N) where data are linearly distinguishable.

Conditional Inference for Detection of Material Removal
Once the system is trained, it should be able to detect and classify any unknown/new load signature. As supervised learning approach covers only the predefined data classes, therefore, additional statements are required for identification of metal cutting process. Once the proposed E-LI system has identified and classified the spindle activation, machine tool is considered to be in the machine ready state. The system then searches for a rise in power consumption caused by the commencement of material removal. In the present study, median absolute deviation (MAD) algorithm is used to identify significant rise in power. At each point of time, the median is calculated and compared to previous value and cutting is identified when the change in median is higher than a predefined threshold. Once, the cutting operation is identified, the duration and energy consumption of machine ready and cutting state is calculated. Once trained, the algorithm can be run for any unknown/new data to predict the most likely class for the new data.

Experimental Set-Up
The proposed E-LI system was verified on a 3-axis CNC vertical milling center (LMW KODI 40). A cuboidal aluminum block with dimensions 70 × 70 × 65 mm 3 was used as the test work piece. Multi-pass milling and drilling operations were performed for experimental validation of the proposed E-LI system. First, a layer of 3 mm thickness was removed from the surface using a 25 mm face mill. The cutting parameters selected for facing operation were: spindle speed = 2000 RPM, feed in x-direction = 50 mm/min and feed in z-direction = 100 mm/min. Next, a hole ( 7 mm × 30 mm depth) was drilled at the work piece center using 7 mm drill. The cutting parameters selected for drilling operation were: spindle speed = 1500 RPM, feed in x-direction = 50 mm/min and feed in z-direction = 100 mm/min.

Training Phase
The energy meter was installed at the main energy supply of the machine tool. Fluke 435 series ii, three-phase power quality and energy analyzer was used to measure the energy. The key energy consuming components identified for the VMC are spindle activation at different RPM, activation of axis motors in x, y and z directions at cutting and rapid speeds, rotation of automatic tool changer, activation of coolant pump, and basic module. The power data for each component was recorded and stored for training of the algorithm. The power ratings for each component are also computed and recorded for energy calculations of individual components. The recorded data is first filtered to reduce noise followed by normalization. A set of six features are obtained for the normalized signature of each activation and labelled. This data is used for training of the classifiers. In the present study, the classifiers used to classify the data are identified from the literature and their accuracy analysis is presented in Sect. 12.4.

Prediction Phase
Once the algorithm is trained and validated, it is able to detect and classify any new event activation. The proposed sensor starts to search for event activation using event detection algorithm. The system calculates the profile slope at each point and identifies an activation when slope rises beyond a predefined value k 1 . The event is considered to be active until the slope of power profile decreases beyond a predefined threshold k 2 . The power RMS values should also satisfy certain conditional statements to signify reduction in power consumption. The threshold slope values and power RMS conditions are determined based on preliminary experimentation and training. Once an event is identified, the power profile for that event is normalized. Six predefined features are calculated for the normalized profile and the event is classified using SVM classifier. The system uses the same approach to detect and classify each event during the milling process. After the coolant pump and spindle motor activation is identified and the system becomes stable, it looks for a rise in power consumption due to initiation of material removal process. Once the cutting starts, it keeps on recording the data until the cutting stops and power decreases beyond a predefined value. Similarly, the system records the start and stop of each component and machining state for the entire profile. A set of conditional statements are then used to calculate the energy consumption by each component and operational state. The power profile obtained for the multi pass face milling and drilling operations is shown in Fig. 12.2. The proposed algorithm detects two spindle activations, two coolant activations, and one tool change during the test run as shown in Fig. 12.2. It also identifies the machine ready and cutting states for the machine tool and quantifies the time and energy consumed by them. The total energy consumed for the machining process is hence divided into energy consumed in each machining state and further divided into energy consumed by each component in each state. Similarly, the time duration of machining process is disaggregated.

Accuracy Analysis of the Classifiers
Accuracy of a classification algorithm is an important criterion in selection of suitable classifier. In the present study, supervised learning data is used to obtain and compare the accuracies of different classifiers (Table 12.1). It is evident here that Quadratic  The performance of the selected classifier is further analyzed using the confusion matrix as shown in Fig. 12.3. It provides an insight of the classifier performance by recording the number of times a sample is confused to be in another class. It helps to analyze the possible reasons for errors in classification results for a large number of labeled samples and makes the required adjustments in the classifier. Confusion matrix for the present study is shown in Fig. 12.3. It is observed that FX is often confused with FY and RX is confused with RY. The reason is that the axis motors for x and y directions have the same power ratings. Once the classifier is trained, a new set of data is provided to it for validation of its performance. Data set for eight events is provided to the classifier and it is observed that the events are classified accurately, for each case, by the trained classifier.

Results and Discussion
The proposed E-LI system calculates the total energy consumed and total time duration for the milling operation as 782.24 kJ and 368.50 s, respectively. The energy and time classification are shown in Figs. 12.4 and 12.5, respectively. The actual energy consumption calculated using the power profile is 782.11 kJ. It is evident from Fig. 12.4 that 72% of the total energy is consumed during the cutting state and out of this, only 7% is consumed for actual material removal. Major percentage of the total energy is consumed by the coolant pump (309.15 kJ) followed by basic module (205.91 kJ) and spindle motor (116.89 kJ). The reason behind this is that a high rated motor (1.1 kW) is used for coolant pump and it is active for 354.5 s. Basic module consists of the small components, which are essential for running the machine such as various relays, i/o data cards, PCBs, proximity/limit switches, lamps, etc. The power rating for basic module is less but high operation time results in higher energy consumption. It can be noted here that the present case study is conducted for a particular milling operation, hence, the idle time is negligible here. In actual industrial practices, the idle time of the machine tools is high. Hence, the energy consumed in the idle mode will be higher and the proportion of energy consumed for actual material removal will be even lesser. The disaggregated energy data provided by the proposed sensor can be used to detect the potential energy saving possibilities

Conclusions
Disaggregation of machine tool energy profile up to component level is an essential requirement to achieve better transparency in energy flow. However, it is a challenging issue for researchers due to the complexity of the machine tools. This study presents an Electric-Load Intelligence (E-LI) system for disaggregation of machine tool energy profile up to operating state and component level using a supervised learning approach. It is a non-intrusive energy monitoring method, which computes the activation time and energy consumed by each energy-consuming component by analyzing the power profile measured at the main power inlet of the machine tool. It is a low cost and viable alternative to expensive and complex multi-sensor data acquisition systems. The accuracies of different classifiers commonly used are compared and it is found that quadratic SVM classifier has maximum accuracy. The proposed methodology is verified through a milling case study. The results reveal that the total energy consumed for the test run is 782.24 kJ, but the energy consumed for actual material removal is only 40.73 kJ. The coolant pump consumes 392.15 kJ energy, which is almost half of the total energy consumption. The coolant pump is identified as an inefficient component here and should be replaced with a more efficient pump. It is concluded that the proposed E-LI system is an efficient and feasible approach to identify the time and energy requirement at each operating state and individual components. It provides better transparency in the energy consumption behavior of machine tools to motivate the behavioral changes leading to the reduction in energetic impacts of machining.