Научная статья на тему 'INTELLIGENT MANGEMENT OF ENERGY SYSTEM IN MANUFACTURING PROCESS USING DATA-DRIVEN STOCHASTIC MODEL'

INTELLIGENT MANGEMENT OF ENERGY SYSTEM IN MANUFACTURING PROCESS USING DATA-DRIVEN STOCHASTIC MODEL Текст научной статьи по специальности «Медицинские технологии»

CC BY
25
4
i Надоели баннеры? Вы всегда можете отключить рекламу.
Журнал
Science and innovation
Ключевые слова
gaussian processes / machine learning / model predictive control / stochastic model / sustainable manufacturing

Аннотация научной статьи по медицинским технологиям, автор научной работы — Sh. Abdufattokhov, T. Makhamatkhujaev

To overcome the environmental impacts of a manufacturing factory over its life cycle, the role of sustainable energy effectiveness is vital. For this reason, implementing energy conservation technologies to empower energy efficiency has become an essential business for most manufacturing plants. Data-driven control setups are a novel idea to handle the energy efficiency of such complex systems, while machine learning is becoming well-known in the system engineering community. In this paper, a new approach together with optimal control application is considered to open promising energy-saving ideas through investigating machines of a factory using machine learning, specifically, Gaussian Processes (GP), where the model is built by correlating the dynamics, complexity, and interrelated energy consumption recordings. We connect the idea with controlling a manufacturing system energy in an optimized way, where the Model Predictive Control loop delivers optimal solutions for each control time step. In the end, a numerical example is demonstrated to give a clear picture of the proposed modelling method's potential.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «INTELLIGENT MANGEMENT OF ENERGY SYSTEM IN MANUFACTURING PROCESS USING DATA-DRIVEN STOCHASTIC MODEL»

INTELLIGENT MANGEMENT OF ENERGY SYSTEM IN MANUFACTURING PROCESS USING DATA-DRIVEN

STOCHASTIC MODEL

Shokhjakhon Abdufattokhov 1, Toir Makhamatkhujaev 2

1 2Turin Polytechnic University in Tashkent, Uzbekistan https://doi.org/10.5281/zenodo.10001543

Abstract. To overcome the environmental impacts of a manufacturing factory over its life cycle, the role of sustainable energy effectiveness is vital. For this reason, implementing energy conservation technologies to empower energy efficiency has become an essential business for most manufacturing plants. Data-driven control setups are a novel idea to handle the energy efficiency of such complex systems, while machine learning is becoming well-known in the system engineering community. In this paper, a new approach together with optimal control application is considered to open promising energy-saving ideas through investigating machines of a factory using machine learning, specifically, Gaussian Processes (GP), where the model is built by correlating the dynamics, complexity, and interrelated energy consumption recordings. We connect the idea with controlling a manufacturing system energy in an optimized way, where the Model Predictive Control loop delivers optimal solutions for each control time step. In the end, a numerical example is demonstrated to give a clear picture of the proposed modelling method's potential.

Keywords: gaussian processes, machine learning, model predictive control, stochastic model, sustainable manufacturing.

I. INTRODUCTION

Improvements in distributing total energy economically optimal are among the major prerequisites to fulfil the demand of industrial process facilities due to high and fluctuating prices in local and global energy markets. Even though many innovative approaches have been discovered and implemented consistently, the energy management requirements have not been fully utilized. Thus, manufacturing facility managers' society still lacks novel ideas to overcome concerns about energy efficiency [1]. Moreover, the role and contribution of continuous reductions in energy consumption over a manufacturing factory's life cycle to cut off GHG emission impact are crucial in jumping towards an eco-friendly environment. For these reasons, identifying energy-related problems have become a hot area of interest in recent years. Herrmann et al. [2]-[3] proposed his state of the art for optimized process chains and locations of technical building services. Devoldere et al. [4]-[5] researched energy-related impact and cost reduction proposals for machine design in the production line. The combinations of power metering with sensors to monitor energy management systems was another considerable work by authors of [6]-[9]. On the other hand, Abdufattokhov et al. [10] tested the performance of the data-driven control idea and showed the proposed technique has a promising future. Our contribution in this work is to solve the aforementioned problem through discussions on how artificial intelligence technics can be applied to data collected from machines in order to achieve energy-efficient manufacturing management using Model Predictive Control (MPC). MPC has been applied to real systems and shown to be an efficient supervisory control solution providing 17 % energy savings with better thermal comfort

over rule-based control [11] with the ability to estimate a plant's future response using a statistical model.

The reminder of the paper content is organized as follows: In section II, primary energy consumers and producers in a manufacturing process is explained, followed by an approach on how data can be collected. Next, two sections III and IV are devoted to the methodology of the proposed approach. Finally, we end up with a demonstrative example and conclude sections V and VI, respectively.

II. DATA ACQUISITION FROM MANUFACTURING PROCESS

Total energy delivered to a manufacturing factory is wasted for production and auxiliary services. While the former can include machine tools, conveyors, robots, heaters, fridges, etc., the latter includes chillers, air compressors, boilers, lighting and etc. As shown in Figure 1, the chillers' workload is to negotiate with the heat produced by machines of the production system, taking into account constraint qualifications. In addition, there exist three primary energy emissive sources: heat transferred from ambient environment Qconduction, by radiation from sunshine Qradiation, and the last one, heat coming from doors or windows openings, Q infiltration ■

Electricity —» Fuels—

- Air-compressors Boilers

Compressed-air Steam

QIM

Qlights

Injection Molding Motor-driven 0„ens/H!,aters Fridge/c<,olers Lights Machines Machines

Walls/Celling/Floorfjl] Workshop Wall Qcmdiri«™

^^—- Factory

Windows/Doors

Qfladiation + Qinffltnrtiun

Fig. 1 Energy distribution among main consumers in a factory.

From Figure 1, it is evident that the relationships are complex, non-linear, and dynamic. Although it may seem possible to model theoretically their dynamic correlations based on physical engineering theories with acceptable accuracy for a realistic understanding of their behaviours, in reality, controlling their performance for energy efficiency remains extremely difficult. One possible way to achieve the objectives without relying on theoretical models is to collect energy consumption and operation data and develop a model of the system using the data only. Since our focus is improving energy efficiency, the power consumption p is an objective parameter, and it is defined by several output measurements y, which can be formulated as a function of control inputs u. We can collect time-series data matrix Ma as follows

(Pa = ipfi

Ma = ipa ya uai = \ya = \y?j\ (1)

Ua= №

where i=1,2,3...n; j=1,2,3...m; k=1,2,3...q. a - machine type superscript;

i - time interval, j - th output and k - th input parameter subscripts, respectively; n - is the total number of data gathered; m - is the total number of output parameters;

q - is the total number of input parameters.

For example, uika stands for the value of input parameter k of machine a at time interval i. Similarly, time-series matrix for energy consumption and operation data of other systems can be obtained through either SCADA(supervisory control and data acquisation) software system or directly from relevant digital sensors.

III. PREDICTIVE MODELLING USING GAUSSIAN PROCESSES

In most deterministic machine learning algorithms, difficulties in the training process stem from a lack of inefficient data. When the model is chosen, examining directions anticipated from this model leave the training data. Although the forecasts of the capacity approximator are discretionary, they are guaranteed with "full certainty" [12]. To conquer the issue, building up a model dependent on an appropriate intelligent algorithm that fabricates the framework's model utilizing a stochastic capacity approximator that puts a back dispersion over the mapping capacity and communicates the degree of vulnerability about the model [11] another option and practical arrangement. Thus, we initially require a probabilistic model to communicate model vulnerability for gaining without any preparation. See Figure 2 for visualizing what is aimed to construct in the paper. Hence, for learning from scratch, we initially need a probabilistic model to express model uncertainty. For this purpose, we can use a non-parametric probabilistic Gaussian Processes Regression(GPR) to prepare a model.

r

-5-4-3 -2 -1 0 1 2 3 4 5

Xi

Fig. 2 '+' - training samples. Deterministic function approximators (left) and Probabilistic

function approximator (right).

Gaussian Processes Regression

A Gaussian processes is a batch of random variables, which form Gaussian distribution jointly. We can include the Gaussian Processes(GP) models into a class of a nonparametric method of nonlinear system identification where new predictions of system behaviour are computed through the use of Bayesian inference techniques applied to empirical data [11]. GP models can be considered as a new approache such as Support Vector Machines [13]-[14]. In addition, GPs make possibile to include various kinds of prior knowledge into the model [15] for the incorporation of local models and the static characteristic.

A GPs is completely specified by its mean function and covariance function. It is very common to define mean function m^(x) and the covariance function Cf(xi,xj) of a dynamic process f(x) under consideration as

mf(Xi) =E[f(Xi)] (2)

Cf(xi,xj) = E [(/(Xi) - m/(Xi)) (/fa) - m/(xy})] (3)

In order to develop a prognostic model using predefined data in Section II, we use GPs, please refer to [1] for more brief details.

Consider the system

y = f(x) + e (4)

with the white Gaussian noise e ~N(0, a£), with the variance and the vector of regressors x from the input dimension space RD. We have [y1... yn]T ~ N(0,K) with

K= Kf+ all (5)

where Kf is the covariance matrix for the noise-free f of the system that is evaluated from the covariance function Cf(xt,xj') applied to all the pairs i and j of measured data. I is the n x n identity matrix. More information on a wide range of mean and covariance functions together with its use in GP models can be found in [16]. Here, we consider the composite covariance function made out of the squared exponential covariance function and the constant covariance function because of uncertainties caused by environment:

C(xuxj)= afexp -- } 0d(xf-xf) + ol^j (6)

Prediction with Gaussian Processes Regression

In order to predict a new output estimate y* of the GP model for a given x*, we use Bayesian framework [19]. The following step is to find how a new input is inserted to the covariance matrix Kn+1. For the batch of random variables [y1... yn,y*] we define:

Yn+i ~ N(0,Kn+i) (7)

with the covariance matrix

= & KK'J 8

Kn+i — \Vt

where

K* = [C(x1, x*),..., C(xn, x*)] is the nx1 vector of covariances between the training and the test input data,

K** C (x *, x*) is the autocovariance submatrix of the test input data.

Finally, we end up with the Gaussian prediction with the following mean and variance:

E[y*] = n(x*) = mf(x*) + KjK-1 (y - mf(X)) (9) var[y*] = a2(x*) = K**-KjK-1K* (10)

IV. GPR BASED MODEL PREDICTIVE CONTROL Introduction to MPC

Model Predictive Control (MPC) is one member of the most popular and widely spreaded control algorithms that the future plant response is predicted using an explicit process model in

industrial use. Thanks to a trustful and robust predicted system output and prediction control horizon, the MPC algorithm optimises the controllable variables to use an optimal future plant response for the next several steps. The prediction horizon range together with optimisation ability of MPC algorithms to handle with constraints that are often met in control practice have made it popular and widely used compared to other approaches in many applications [20]-[24].

The MPC working standard can be summed up as follows:

1. Expectation of framework yield signal y (r + ft) is determined for each discrete example r for future ft = 1,2 ... Nft. Estimations are meant as y(r + ft|r) and defines ft - step ahead estimation, while is an upper bound of forecast horizon. Yield signal forecast is determined from our GP procedure model. Estimations are reliant on the control situation later on u(r + ft|r); ft = 1,2 ... — 1, which is applied from a second t onwards.

2. The vector of future control signals u(r + ft|r); ft = 1,2 ... — 1 is determined by minimization of estimation error y(r + ft|r).

3. Just the principal component of the optimal control signal vector is applied. In the following emphasis, another deliberate yield test is recorded and the entire portrayed procedure above is circled inside the loop.

Data-driven control

Combining input-output model of dynamic system with our GP model, we write our dynamical system as follows

p(r) = /(x(t)) + e(T) (11)

x(t) = [p(r — Z-J,..., p(r — 1), u(t — Z2),...,u(t), d(r — Z3),..., d(r)] (12)

with 0^), t - the time step, e - measurement noise, p - the (past) output, u - the

control input, d - the exogenous disturbance input and Zx, Z2, Z3 - the lags for autoregressive outputs, control inputs, and disturbances, respectively.

Optimization problem

Now let's focus on our MPC optimization problem. Since, in our case the process model is GP, including uncertainity term makes possible to design a robust controller that will optimise action according to the validity of model. Overall, the optimization problem with quadratic cost is

min ZSollPS(T + ft)||J + £s2(t + ft) + ||ws(r + ft)||£

s.t. ps(r + ft) = m^(xs(r + ft)) + ff.%-1 (r — m^(x5))

os2(t + ft) = KX —

ps(r + ft) e Ps

Us(r + ft) e

(13)

where s stands for machines a, c,... ; Ps is state output constraint set, is set of feasible solutions; ||x||^ = xT^x Euclidian norm for xefi" and Q, R are positive definite matrices.

Fig. 3 Structure of GP based MPC. Optimization problem in (10) is solved in every t time step.

Here, u -optimized control input vector applied to machines, d - external disturbance vector

andy - output vector measured from machines.

Minimizing terms mentioned above are common ones when working with GP model based dynamical systems and are non-unique. It can be chosen freely depending on the desire and constraints. In Figure 3 one can see overall MPC loop structure together with manufacturing process whose energy usage is controlled through GP model with the data provided by sensors set up on machines.

V. NUMERICAL EXAMPLE

Due to complexity and being time consuming of data collection from manufacturing process, we omit illustration GP based MPC on real industrial system. Rather, the accompanying state space model below (11) outlines the utilization of proposed GP strategy for system identification of highly fluctuating and non-periodic system. Simulation were carried out in Matlab software and CPU Intel Core i5-5200U.

Consider the following discrete nonlinear system:

1

yi(T + 1) = yi(r) + sin(yi(r)} + -(ui(t) + U3CO) + v(Y)

4 / A 3 (14)

y2(T + 1) = y2(T) +^COs(yi(r)) + ^UiCO - U2CO

5

PCO = y2(T) + W(r)

The yield of the given model is output p (can be looked as machine power) that is disrupted with Gaussian white noise with v ~ N(0,0.002), whereas state y1 is suffered by noise w ~ N(0,0.0035) We generate 3 inputs by a random number generator with uniform distribution in the magnitude between 10 and 20 for the first input, between 5 and 10 for the second input, and in range 0 and 1 for the last input with number of samples N = 600 by not changing control signals u1 consecutive 4 time instants, u2 consecutive 6 time instants and u3 consecutive 8 time instants. Here, our task is to obtain a GP model for given inputs of the discrete-time system described by (11) based on statistical data and by following step by step the proposed methodology in the section III. We use 66 % of the generated data set N (the rest is used for testing), and the system is modeled by Gaussian Process Regression with zero mean and the covariance function, which is composed of sum of squared exponential and periodic covariance functions. We tried several composite covariance functions, but this one performed with better accuracy.

V

GP model simulation on training data

«I-

20

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

10 0. ^

■10

20 ■m so 1C0 120 140 133 ISO 2ft

i

Fig. 4 GP model performance for the training signal. Upper part plots the true values, the predicted mean and 95 % confidence intervals, whereas below part shows the absolute

residuals.

Fig. 5 Control signals of training data

ui - firsl control signal

y> jo tii № mi i;ii in 's: IM Uj • second control signal

runu J s

» 40 «0 to 103 141 'r. 1» 2) u3-third control signal

x-/ III '—

■81 IM 2M

Fig. 6 Control signals of test data

Fig. 7 GP model performance for the test signal. Upper part plots the true values, the predicted meanand 95 % confidence intervals, whereas below part shows the absolute residuals

Models of various orders were fitted as highlighted in Table 1 , as a result our proposed approach found the second order model with lp = 2, lUi = 1, lU2 = 1, lUs = 1, and ld = 0 as the most appropriate with metrics NRMSE=0.00950 and MSLL=-3.1754 provided in [20]. The results of the Gaussian Processes model to the training and test signals are given in Figure 4 and Figure 7, respectively. One can see that, even though test data fitting graph has larger variance, it still captures the trajectory well. On the other hand, Figure 5 and Figure 6 illustrates control signals applied to the system during model identification, where we can see not repeated line graphs, values are different for each control signal in both phases. Furthermore, it is remarkable that the

system is depend on control signals at the previous time step, because in absence of controller signal, the accuracy experienced a significant decrease Table 1.

Table 1. GPR modeling accuracy results for test data.

MODEL ORDER NRMSE MSLL

Z = 3 Z =2 I =2 i = 2, zd = 1 0.15098 1.02915

Z = 2 Z =1 I = 1 i = 1, id = 0 0.00950 -3.1754

Z = 2 Z =1 I =2 I = 1, ¿d = 0 0.01844 2.09245

^p = 2,^u1 = 0, = 1, = 1, ¿d = 0 0.11951 1.08813

VI. CONCLUSIONS

This paper tried to show how dynamic systems can be modelled using machine learning. Specifically, Gaussian Processes Regression is applied to historical data collected from sensors of production machines. Once we have defined the modelling sequence, we connected the idea with the possibility to use this algorithm in controlling the manufacturing system in an optimized way, where the Model Predictive Control loop defines optimal solutions for each control time step. In the end, the numerical example presented GPR modelling potentials. The proposed approach can be looked at as a new tool for identifying energy-saving perspectives and quantifying their respective energy-saving potentials.

Moreover, it provides a trust region with 95 % confidence that enables the discovery of unseen energy-saving challenges that seem hard to identify. In particular, this can be a fundamental idea for companies with successful energy improvement programs to empower their research areas for further improvement. Our next mission will be to show the interpretability and advantages of the proposed method through experimental results based on data of real system dynamics.

REFERENCES

1. Abdufattokhov Sh., Muhiddinov B., Stochastic Approach for System Identification using Machine Learning, International Conference on Dynamics of Systems, Mechanisms and Machines (Dynamics), Omsk, IEEE proceedings, 2019.

2. Dhankhar, and K. Solanki. A comprehensive review of tools and techniques for big data analysis. International Journal of Emerging Trends in Engineering Research, Vol. 7, No. 11, pp. 556-562, 2019

3. Herrmann C, Thiede S. Process chain simulation to foster energy efficiency in manufacturing, CIRP Journal of Manufacturing Science and Technology, Volume 1, Issue 4, pp. 221-229, 2009, https://doi.org/10.1016/j.cirpj.2009.06.005.

4. Hesselbach J, Herrmann C, Detzer R, Martin L, Thiede S, Ludemann B. Energy Efficiency through optimized coordination of production and technical building services, 15th CIRP International Conference on Life Cycle Engineering, 17-19 March 2008.

5. Devoldere T, Dewulf W, Deprez W, Willems B, Duflou JR. Improvement Potential for Energy Consumption in Discrete Part Production Machines, 15th CIRP International

Conference on Life Cycle Engineering, 2007, https://doi.org/10.1007/978-1-84628-935-4\_54.

6. Devoldere T, Dewulf W, Deprez W. Energy related life cycle impact and cost reduction opportunities in machine design: the laser cutting case, 15th CIRP International Conference on Life Cycle Engineering, 2008.

7. Herrmann C, Bogdanski G, Zein A. Industrial Smart Metering-Application of Information Technology Systems to Improve Energy Efficiency in Manufacturing, 43rd CIRP International Conference on Manufacturing Systems, 2010.

8. Magori B, Yashiro T, Hiroshi S. Development research of real-time monitoring and optimized control for energy conservation and CO2 reduction of existing buildings, proceedings of World SB14 Barcelona, 2014.

9. Bauerdick C JH, Helfert M, Menz B, Abele E. A Common Software Framework for Energy Data Based Monitoring and Controlling for Machine Power Peak Reduction and Workpiece Quality Improvements, Procedia CIRP, Volume 61, pp. 359-364, 2017, https://doi: 10.1016/j.procir.2016.11.226.

10. S. Abdufattokhov, K. Ibragimova, M. Khaydarova, A. Abdurakhmanov, , "Data-Driven Finite Horizon Control Based On Gaussian Processes And Its Application To Building Climate Control," International Journal on Technical and Physical Problems of Engineering (IJTPE), vol. 13, no. 2, pp. 40-47, 2021.

11. David Sturzenegger, Dimitrios Gyalistras, Manfred Morari, and Roy Smith. Model predictive climate control of a swiss office building: Implementation, results, and cost-benefit analysis. IEEE Transactions on Control Systems Technology, 24(1), pp. 1-12, 2016, https://doi: 10.1109/TCST.2015.2415411.

12. Abdufattokhov Sh., Muhiddinov B., Probabilistic Approach for System Identification using Machine Learning, International Conference on Information Science and Communications Technologies (ICISCT), IEEE proceedings, 2019, https://doi: 10.1109/ICISCT47635.2019.9012025.

13. D. A. Petrosov, R. A. Vashchenko, A. A. Stepovoi, and N. V. Petrosova, Application of artificial neural networks in genetic algorithm control problems, International Journal of Emerging Trends in Engineering Research, vol. 8, no. 1, pp. 177-181, 2020. https://doi.org/10.30534/ijeter/2020/24812020

14. Galiana, F., Handschin, E., and Fiechter, A., Identification of stochastic electric load models from physical data, Automatic Control, IEEE Transactions 19(6), pp. 887-893, 1974, https://doi: 10.1109/TAC.1974.1100724.

15. Thompson, K.: Implementation of Gaussian process models for non-linear system identification, PhD thesis, University of Glasgow, Glasgow, 2009.

16. Dong, B., Cao, C., and Lee, S. E., Applying support vector machines to predict building energy consumption in tropical region, Energy and Buildings 37(5), p. 545-553, 2005, https://doi.org/10.1016Zj.enbuild.2004.09.009.

17. Quinonero-Candela, J., C.E. Rasmussen. Analysis of Some Methods for Reduced Rank Gaussian Process Regression. In: Murray-Smith, R. and R. Shorten (Eds.), "Switching and Learning in Feedback Systems", Lecture Notes in Computer Science, Vol. 1, p. 33-55, 2005, https://doi.org/10.1007/978-3-540-30560-6\_4.

18. Solak, E., R. Murray-Smith, W.E. Leithead, D.J. Leith, and C.E. Rassmusen, Derivative observations in Gaussian Process Models of Dynamic Systems. In: Becker, S., S. Thrun, K. Obermayer (Eds.), ''Advances in Neural Information Processing Systems", MIT Press, pp. 529-536, 2003, https://doi.org/10.1145/1330598.1330647.

19. Rasmussen, C. E. and Williams, C. K. I., Gaussian processes for machine learning, Vol.1, MIT press, Cambridge, MA, 2006.

20. Jus Kocijan., Modelling and control of dynamic systems using Gaussian process models, Springer, 2016.

21. D. Angeli and J. Rawlings, Economic optimization using model predictive control with a terminal cost. Annual Reviews in Control, 35(2), pp.178-186, 2011, https://doi: 10.1016/j.arcontrol.2011.10.011.

22. M. Diehl, G. Bock, J. Schloder, R. Findeisen, Z. Nagy, and F. Allgower, Real-time optimization and nonlinear model predictive control of processes governed by differential-algebraic equations. Journal of Process Control, 12(4), pp. 577-588, 2002.

23. B. Kouvaritakis, M. Cannon, P. Couchman, MPC as a tool for sustainable development integrated policy assessment. IEEE Trans. Autom. Control, 51(1), pp. 145-149, 2006, https://DOI: 10.1109/TAC.2005.861702.

24. P. Patrinos, S. Trimboli, A. Bemporad, Stochastic MPC for real-time market-based optimal power dispatch, in Proceedings of the 50th Conference on Decision and Control, Orlando, USA, pp. 7111-7116, 2011, https://doi:10.1109/CDC.2011.6160798.

i Надоели баннеры? Вы всегда можете отключить рекламу.