On Design of IoT-based Power Quality Oriented Grids for Industrial Sector

A R T I C L E I N F O A B S T R A C T Article history: Received: 16 September, 2020 Accepted: 16 December, 2020 Online: 25 December, 2020 Manufacturing industry is facing several challenges in power quality and energy consumptions that play a significant role in the cost of goods sold in addition to the operational efficiency of manufacturing plants. The current techniques are not enough to manage the manufacturing processes from power perspectives as it is focusing only on the monitoring of the power grids using smart meters connected to SCADA systems. In this paper, a novel technique is proposed that is based on energy-aware manufacturing process control model using internet of things technology. The model is applied on cabling industry use case in addition to implementation of a MATLAB model for this purpose whereas the IoT physical layer is collecting , analyzing and communicating the electric power parameters correlated with the manufacturing process parameters received from PLC IoT nodes. Accordingly, the effective power quality is enhanced using manufacturing process control rather than additional correction nodes in traditional techniques. On applying the model on cabling use case, the Total Harmonic Distortion (THD-current) is improved 10 times to be 3.1% against 31.4% and the power factor is improved by 33% from 0.7 to 0.93 without additional correction nodes.


Introduction
This paper is an extension of work originally presented in 15th International Computer Engineering Conference (ICENCO) [1]. Power Quality ( PQ) has recently become a very important topic because of its effect on energy producers, equipment's, manufacturers and consumers. There are so many industries nowadays that produce and use high technology for production thus high quality and high reliability are needed for these supplying strength [2]. The advantages of gathering real time monitoring is to develop the perception of awareness for power quality in factories.
Despite these circumstances, the executions of energy quality steps in improving energy efficiency have not yet satisfied expectations. The reason for the deficits in energy efficiency realization include lack of time and clarity on energy consumption [3]. The widespread use of non-linear loads leads to a huge distortion of voltage and especially current waveforms that affect any power electronic system [4]. In power systems, harmonic distortion and power factor disturbance increase on daily basis due to an increase in the use of nonlinear loads such as system resonances, voltage distortion, interference with communications networks, transformers overloading, a negative impact on energy metering and a decrease in the overall system efficiency. Thus, these two factors are set to be a serious problem in terms of power quality and this may affect other pieces of equipment connected to a particular system. The optimal performance between increasing in energy demand without severe increases in energy costs come to be our challenge now days. Hence, according to IEEE and International Electro-technical Commission (IEC) standards, industries must devote a greater attention to keeping harmonics and Power Factor (PF) within permissible limits [5,6]. Furthermore, (IoT) could have significant contribution on energy management, hence several (IoT) applications to reduce the energy consumption have been developed [7,8].
Power quality (PQ) monitoring methods that are recently produced have the capability to calculate and store data ASTESJ ISSN: 2415-6698 automatically with a high sampling rate. Significant quantities of measured data, such as current signals, voltage signals, total harmonic distortion, and power factor, can be obtained by monitoring devices. Yet, they do not identify distortions automatically, and involve off-line analysis of the data recorded. Consequently, in order to identify the type of end-use equipment, harmonic variations, and power factor detection a real time technique study is provided in this paper to develop the perception of awareness for power quality in factories and examine the impact of energy efficiency in industries. In today's power systems connected to nonlinear loads, voltage and current waveform distortion are more prevalent. The prevalence and interaction of loads of this kind with the power supply system increases the need to use power monitoring equipment to assess the quality of electric power. This paper proposes a new architecture which makes use of real-time data to ensure prediction of machine failure, using power quality data and ways to improve the energy efficient process. The algorithm proposed can be used for automated correction of industrial energy profile using Internet of Things (IoT) technology.

Literature review
Systematic approaches to eliminate the consumption of energy has been studied. Hence in order to explain the significance of problems with power quality, a detailed representation of any nonlinear system may be needed in the case of weak systems as interactions may occur between harmonics of different orders in such systems that are not predicted by linear time invariant models. Thus to identify and evaluate energy quality indices for various categories of electricity users, a fuzzy logic-based approach is suggested in [9]. Low energy quality is a serious concern for domestic, commercial and industrial users, in [10] issues of power quality in electrical systems is illustrated briefly.
Harmonics in electricity networks have recently gained even more attention from the power industry as a key cause of PQ problems, in [11], the total harmonic and unbalance distortion is well-defined to help factories to reduce harmonic distortion. In [12], an index is determined to represent the thermal effects on three phase induction motors as a result of harmonic distortions. Researchers in [13,14] illustrate other methods of PQ disturbances such as inter harmonics and voltage fluctuations. Furthermore , a Harmonic Trap Filter in conjunction with a line reactor designed and implemented by [15], using Simulink to demonstrate the principle of harmonic analysis in a three-phase system.
Additionally, the dramatic increase of electricity each year take the initiative on the aspect of energy efficiency in order to address the environmental issues. One of these aspects is the power factor correction. In [16], it is studied the importance of power factor which reflects how much the industries or organizations will consume the electricity efficiently. In [17], the authors investigate a system to carry out the effect of power factor on inductive loads using capacitor bank. Moreover, a system using a thyristor switching capacitor was proposed by [18], which helped to improve the quality of power and regulate the reactive power under the regularization of power factor.
Decreasing energy consumption is important for increasing productivity thus the relationship between electricity and economic growth is vital .To conserve energy and enhance its efficiency, smart grids (SG) were developed to do that [19]. John S. In [20], it is highlighted and clarified the different demand response (DR) programs. A number of DR-based programs are offered to organization managers and consumers, in general, where they choose which program they want to follow in order to decrease the overall energy consumption. Likewise, as energy saving has been one of the critical problems in designing electronic devices, Smart home appliance control system was developed in the IoT environment, a smart control system based on the technologies of internet of things has been proposed in [21].

Architecture for power quality management using IoT technology
In this paper a new architecture is proposed to increase the levels of power efficiency in industries. A smart energy management technique is illustrated in Figure 1. Using this block diagram will help factories to reduce their energy consumption. This architecture depends on tracking different loads in the downstream zone.
The architecture shown in Figure 1 is focused on monitoring the different loads attached in a Sensor Area Network (SAN), for the purpose of automated real-time monitoring of transient behaviour and accordingly the detection of anomalies related to power quality issues as voltage dwells, low power factor, and high order harmonics, that might happen as a result of grid's load nonlinear behaviour. Most of this phenomenon is currently detected by capture of a measurement sample from the sub-system under test and that is usually reactive rather than proactive.
The concept emphasized by the study is about converting the grid system into an autonomous grid that has the ability to auto detect the phenomenon using a transit-time domain analysis and thus paves the way for artificial intelligence techniques on board to automatically detect the abnormal phenomena even on odd occurrence based on the intra-load communication, source-load communication and load on board processing. The concept also states the edge of machine to machine communications that is the core base of the well-known IoT technology.
According to Figure 1, the central processing server (CPS) is the node that is responsible for orchestration of the correction nodes on the correction plane according to the dynamicity of the load, and thus the CPS calculates and signals the configuration parameters to the corresponding correction nodes based on the measurements done by the IoT layer. The key difference between the existing techniques of correction and the proposed technique is mainly the holistic management of correction for the detected problem according to the multi-factor causal analysis.
One example is the power factor transient's detection that will be captured by IoT layer that is then escalated to CPS layer which in turn take the holistic decision to off -load the power factor capacitor bank and signal the synchronous power factor correction node to be in place in addition to active harmonic cancellation node in place of the passive one. The solution needs a level of intelligence as the classical capacitor bank response time to the change in loads will cause the failure of the classical technique. Moreover, the active cancellation will become effective due to the significant presence of several orders of harmonics rather than the classical passive filter mode. The edge of the IoT layer in this example is in the consolidated view for the potential sources of problem with the decision of act on the optimum solution of correction. Illustrated in Figure 2 the concept of IoT smart grid which adds intelligence at each step by using online monitoring of transmission lines for disaster prevention and efficient use of power in order to decrease the overall energy consumption inspired by the factory. The three-layer architecture provides a high level framework through which different approaches might be implemented. The first layer consists of Machine drives, which are pumps, electric motors, and fans, account for about half of the manufacturing sector's delivered electricity, layer two is the IoT layer which consists of IoT beacon which are used as linking bridge that helps to provide total tracking and the last layer is named by correction plane layer in which the power factor correction bank and the harmonic filter exists.
The energy efficiency scheme is demonstrated by the flow chart in Figure 3, which begins by monitoring various production lines where each line has different load numbers, X is the order of each load, and N is the total number of loads. Two different parameters are evaluated on each load; power factor and harmonics. The CPS can detect if any of these parameters are not functioning effectively. A signal is sent to the CPS in the event of any errors. Where the problem can be overcome by the CPS,

Power Factor correction and Harmonics detection Matlab simulation model results and analysis
A Matlab Model is designed to limit the voltage and current harmonics to be applicable with the IEC standards and to improve the power factor value. A Three-phase harmonic filters with power factor correction model for High-Voltage Direct Current (HVDC) is designed in Figure 4, using Matlab Simulink platform to reduce the voltage and current distortion in the power system. The model is designed using a frequency of 60 HZ and a firing angle = 19°. One capacitor bank C1 of 150 Mvar designed by a "Thee-Phase Series RLC Load". Three types of different filters combination were also used including one C-type high pass filter tuned to the 3rd F1 of 150 Mvar ,one doubled -tuned filter 11/13th F2 of 150 Mvar and one high pass filter tuned to the 24th F3 of 150 Mvar.
The model used a switch control device for reducing the load imbalance and improving the efficiency of data processing. This   3. Schema for the modules composing an intelligent energy management system in factories switch control is used to switch on or off when the CPS detect that the data received from the load is not achieving the threshold. The filter can be activated and deactivated using the breaker in the circuit. When the breaker (i.e. CPS) is closed, the filter is activated, the current and voltage will pass through the filter and will successively be filtered. Conversely when the breaker is opened the filter will be deactivated and will have no effect on the output waveforms of the system.
After running the developed Simulink model with different values of . A various responses are observed. The waveforms in Figure 5, 6 respectively illustrate that when the breaker is opened, the filter is deactivated, a highly distorted waveform was detected because of the nonlinear loads that can be existing in the system. Hence when the breaker is closed, the filter can remove the harmonics given the desired waveform which is free from distortion.     2 illustrate that by using a suitable harmonic filter with the aid of a suitable capacitor value, we can control the flow of these fluctuations. From theses measureable results, it can be inferred that the system has worked successfully. As for example, it is clear that with the assistance of the harmonic filters and a capacitor, the THD voltage has fallen dramatically from 17.1 percent to 0.6 percent with an impedance of 407 Likewise, from 7.4 % to 0.3 percent, the new THD has decreased. The PF has risen from 0.3 to almost 0.9, coming close to the ideal 1.0.0. The proposed technique is therefore highly effective. 1.

Existing and future power quality system model for different loads
In the current technological transition scenario, power is very precious. A lot of researches need to improve the power quality system and find out the causes of power loss. In industries the huge increase in the use of inductive loads will leads to deficiency of the power system hence a routinely techniques have been used to detect the failures of their loads and correct it [22]. The classical approach shown in Figure 7 is to connect a direct act device with a current transformer (C.T) across the industrial input power lines. The C.T is directly installed at each load. In the classical scenarios, the technique of switching method (on/off) is used. Each load is supported by a controller device which is responsible for detection or cancellation to any failure on each line.
For example, to correct the power factor, these old techniques make use of a microcontroller to control the switching phase of the linked capacitor bank at the end of the main power supply. Each load has its specific control device connected to the main power supply close to the variable load. The controller's job is to read the power factor, voltage and current of the device. Then the controller determines, according to a proven algorithm, to cut off the power for the specified load and decide how many capacitors should be added to raise the power factor to the value required.
With this classical approach, there are two major problems: (1) the correction is a fixed one, so that if the industrial load differs , the correction becomes either less efficient or on the other hand, potentially overly efficient, resulting in an undesirable low leading power factor , (2) many industrial capacitor banks have inherently unpredictable maintenance problems. It would therefore be highly desirable to provide a device that would automatically correct the power factor of an induction motor in real time, so that as the applied mechanical load is varied, the motor runs at or near optimum efficiency continuously.
Substantial energy savings could be achieved through the Building Energy Management System (BEMS) within the Smart Electric Grid setting. A new technique based on IoT real time data acquisition using Message Queuing Telemetry Transport (MQTT) protocol which is the most commonly used protocols in IoT projects. The proposed architecture make use of real-time data to ensure prediction of machine failure using power quality data and ways to improve energy efficient process. The development of an energy monitoring system with the ability to acquire, process and store data in real-time is required for improving energy efficiency operations of the manufacturing industries and to enable proactive maintenance .This architecture prove the concept of sense, infer and act. As shown in Figure 8, the IoT beacons can contact with each other through the MQTT protocol. Thus, they can agree together that for example load number (2) will be compensated only. Consequently, tune tone generated by centralized harmonic cancellation to connect central node to a specific load.

Power factor and harmonics improvement: A Case study and Analysis of the processes of the production of a metals in Factories
This work is a case study and review of the technological and energy aspects of the recommended design of the metal factory production lines in Egypt. The study provide the factory with some technologies which can be integrated into the factory production  processes in order to improve the product quality, minimize the need for electrical energy, reduce maintenance time and cost, and increase reliability and real-time data accuracy.
This study reviewed the production line of metals in factories. The metal production line consists of four main process illustrated in Figure 9 which are drawing, stranding, insulation and assembly. In this power quality assessment, a power quality analysis of metal production process has been shown where power is given to different loads through transformer. Readings of power quality parameters such as voltage unbalance, current unbalance, power factor, harmonics and voltage fluctuation in each phase of the metal production have been studied.
The purpose of the electrical distribution system is to support proper operation of the loads. When any one of the loads fails to meet its purpose, it is time to investigate the problem, find the cause and initiate corrective action. When a load does not operate properly, the other loads agree together through the proposed architecture shown in Fig.9 that this load should be compensated only. Figure 10-13 show the average voltage distortion, average current distortion, average power factor and average harmonic in the drawing phase, stranding phase, insulation phase and assembly phase respectively from the metal factory. Finally all these parameters are measured at the main line, so that the power factor and the harmonics at the main line can be fixed directly. Thus, Figure 14 and Figure 15 illustrated the reading at the main line before and after correction correspondingly.
(d) Figure 15: The average current distortion, average voltage distortion, average power factor and average harmonic readings respectively for the main line after correction.
The proposed system shown in Figure 9 will monitor the load current to detect the harmonics wave up to 49 th order and performs the computing process to analyse and calculate the power factor, then to transfer them to the high current capacity rectifier module along with the module processor in order to generate the compensation current in reverse direction, with overall response time less than 10ms and perform exceeding 97%. Furthermore, Figure 16 illustrated the power consumption for one of the loads in four days. The measuring is taken by calculating the consumption of power for the three phases of one of the loads over time. Thus, it can be concluded that when using the proposed architecture a daily real time monitoring can be conducted which offers an understanding of energy usage and efficiency across different loads.

Discussion and conclusion
The manufacturing industry has been challenged with a lot of power quality problems in the overall including power factor, harmonics, unbalance ratios, power swells and dwells. Traditional techniques are moving towards correction steps as power factor correction using capacitor banks, synchronous power factor correction on individual loads, passive harmonic cancellations, active harmonic cancellations, soft switches to absorb spikes, voltage regulators, inverting technologies and others. However, those techniques are more focusing on correction of power rather than correction of manufacturing process that leads to the impact.
In the presented work , energy-aware process control model is proposed that is depended on IoT technology that enables the communication between PLC on machines and the energy management analytic platform on board to pinpoint the process that causes the phenomena to happen rather than the machine. For example, if two different machines working in parallel and doing the same operation type, machine x and machine y, that are installed in a factory. If the two machines are operating during three time shifts daily .Once the proposed model explore that machine x is doing wide spectrum of harmonic compared to machine y. The model will operate machine y for only two time shifts while machine x will operate for only one time shift. Hence the proposed model is able to stop the noisy machine and improve the overall power quality.
The model is simulated using MATLAB and is applied on a use case in factory that is specialized in cable industry. The results shows that the model pinpoints key areas of improvement of reducing the operation hours of a specific malfunctioning machine by one shift (eight hours) and increasing on the other side of operation hours of other two healthy machines doing the same operation type by 3 hours each has led to significant improvement of the power factor by 33% to reaches 0.93 versus 0.7 without impacting average OEE of the operation. On the other hand, the current total harmonic distortion is improved 10 times from 31.4% to 3.1% as shown in Figure 17 and 18 respectively.
The proposed model enables the cost-effective process management concept to achieve the same production results with better power quality and less energy consumption with minimum addition of correction nodes.