1. Introduction
Mining is a critical industry for energy transition because, although it has a considerable environmental footprint, it provides raw materials, such as gold and copper, which are required for electronic devices, transmission lines and electrical machines [
1]. Nowadays, the transition of the mining industry towards smarter and cleaner operations includes environment-friendly practices and policies, pursuing an optimal consumption of water and energy, reduction of carbon emissions, and more precise extraction techniques [
2]. In this sense, the coexistence of older machinery, such as cycloconverter-based drives in crushers and mills, and newer technologies, such as electrical hauling trucks, is unavoidable during this transition process.
In mining facilities, adjustable frequency drives have been used throughout the whole mining process. Historically, cycloconverter topology was a well-accepted solution for low-speed grinding mills control; however, its related harmonics issues in mining power systems are significant [
3]. In this sense, the academic community is currently exploring converters based on multilevel topologies in addition to diode-based rectifiers and active front end (AFE) converters. These converters have been used for high-power mills [
4], for medium-power conveyor belts [
5,
6] and for hauling trucks [
7,
8]. In contrast to the academic trend, mining companies’ transition towards new technologies is slower because additional business concerns must be considered. Therefore, the coexistence of old and new technologies in mining facilities implies a tough challenge to be overcome in the short term.
Although AFE has shown better control capabilities and efficiency than cycloconverters, both of them impact the power quality of the mining power system. For example, cycloconverters inject harmonic distortion to the grid because of the absence of a DC-link or other reactive components that operate as a filter between the machine-side and the grid-side [
9]. On the other hand, DC-link and LC-filters of AFE topologies easily reduce high-frequency components, but low-frequency harmonics, below 200 Hz, caused by unbalances, PLLs tracking errors, and nonlinear loads, are reflected in the power system [
10].
As a consequence of this low-order harmonics pollution, magnetic flux inside of transformers and motors of mining machinery is affected, and, thus, the damage risks increase [
11]. In addition, because of changes in mining facilities over time, long cables and poor design and selection of transformers, the active power transference capacity of the power grid is also reduced. Therefore, mining companies should be aware that power quality improvement at the point of common coupling (PCC) with the utility grid, and other sensitive nodes, represent a more efficient operation of the power system.
The IEEE std 1547 [
12] states that the reference points into power systems are those where characteristics, such as voltage, frequency, total rated current distortion, and response-to-failure capabilities, meet the standard. Although PCCs are defined as reference points, it is possible to define additional ones to satisfy internal requirements in the microgrid or power system area. For instance, in the mining industry, electric rope shovels used for ore extraction are sensitive to harmonics pollution and voltage sags/swells. In this case, filtering devices are used to reduce the risk of damage and preserve their operational integrity; however, considering that this type of machinery is replaced according to mine expansion, passive filtering is not an optimal solution [
13].
There are two main approaches for managing harmonic distortion issues. The first one considers this issue by directly improving control and modulation algorithms over the power converter. In [
14], common mode voltage is mitigated by integrating this objective in a primary controller which states the switching pattern, modifying the classical space vector modulation scheme. The authors of [
15] proposed an MPC for hybrid AC/DC microgrids that finds a balance between the power quality and efficiency of the system in order to control the power exchange between the microgrids. In [
16], the authors proposed a dual PWM technique to reduce the grid flickering and aliasing distortion caused by low-frequency oscillations that emerge in the power grid when torque disturbances occur in adjustable frequency drives. Model predictive control (MPC) was also used in this approach [
17,
18,
19,
20]. In [
17,
18], finite control set MPC applications were reported considering power quality objectives, by minimizing unbalanced and harmonics components, respectively. In [
17], unbalances compensation is made through the computation of positive and negative sequences of active and reactive powers, whereas the harmonics detection strategy in [
18] uses synchronous reference frames rotating at harmonics frequencies. The authors of [
19] proposed an MPC that maintains low current distortion, which is based on dividing the operating regions of the space vector diagram and compensating for absent vectors. Similarly, reference [
20] proposed a multi-vector MPC to reduce the current distortion, where the volt–second balance is achieved when three optimal vectors are adopted to synthesize the desired voltage. In these approaches, model predictions are one step ahead and the cost function is computed for each switch’s combination.
The second approach states the integration of passive and active filters along the microgrid or power system area, usually close to sensitive nodes; however, it implies the integration of additional hardware. A deep analysis of the selection and design of passive filters for high-power applications in mining is presented in [
10]. The authors conclude that C-type filters, and second-order high-pass filters could be used appropriately in mining applications because of their low-order current harmonics attenuation and reactive power compensation properties. On the other hand, active filtering is a widely used technique in the industry to compensate for the pollution caused by unbalances and harmonics. This technique is based on measuring power components from the load to supply and compensating the undesired ones, reducing higher order harmonics at the PCC. The most common frameworks used to state the value of the compensation components are selective harmonics compensation, instantaneous power theory [
21], and conservative power theory [
22].
Applications of active filtering using instantaneous power and conservative power (CPT) theories have been reported in [
23,
24], respectively. A remarkable advantage of these techniques is the decomposition of power in direct and oscillatory components, where the latter is controlled to a zero reference; thus, simple controllers, such as proportional integral (PI) controllers, can be used. However, a drawback of such techniques is the low bandwidth of PI controllers, which may not meet the high bandwidth required for controlling the oscillatory components. In this sense, this solution is classified into the primary control level in microgrids or power systems. In contrast, the selection of harmonics to compensate them by injecting a counter-phase current increases the computational burden required for total distortion mitigation but improves the system frequency response. In [
25], sliding discrete Fourier transform allows distortion mitigation, by proportional control of each voltage harmonic, as a complementary objective in the primary level of distributed generators. In [
26], a set of second-order band-pass filters are defined for harmonics filtering in the
domain, and then compensation components are computed at the primary level as well. Conversely, approaches based on consensus theory to share imbalances [
27] and harmonic distortion [
28] have been reported. For instance, in reference [
27] three-phase MGs are controlled as three single-phase subsystems, where droop reactive power–voltage controllers are employed to share imbalances. The authors of [
28] use the CPT to share imbalances and harmonics in four-wires droop-based MGs. The CPT is used to decompose currents and powers in the balanced, unbalanced and distorted components. Then, virtual impedance loops are implemented. Similar approaches for imbalance sharing are proposed in [
29,
30,
31]. Nevertheless, these approaches are based on PI controllers and use virtual impedance loops computed via power theories. It has been validated that virtual impedance loops do not guarantee the sharing of single-phase powers.
In [
32], current harmonics components are detected by using fast Fourier transform and used as initial conditions for a discrete-time model of the converter’s output filter. In this case, a continuous control set MPC is used for minimizing the overall system distortion in a marine vessel power grid, and, thus, Kirchhoff laws are used to solve the power flow. By using current as the optimization variable, capacity constraints are included to avoid overpassing maximum values, notably present in the presented simulation results. Another application of continuous control set MPC for power quality is shown in [
33], where independent synchronous reference frames are used to estimate phase voltage vectors in order to compensate imbalances in a microgrid. This approach uses consensus of reactive power, among distributed generators, to satisfy phase voltage unbalance rate constraints in a cooperative way.
Based on this context, this paper proposes a novel MPC scheme for current distortion mitigation by including power harmonics compensation and total current distortion as optimization constraints. This MPC-based solution is justified because of the optimal distribution of the control effort along the prediction horizon, and the bounding of the solution space through equality and inequality constraints. The contributions of this work are stated as follow:
A frequency harmonics decomposition of real power is proposed, enabling control of their magnitudes by an MPC and of their angle phases by a traditional PI controller.
A reformulation of the MPC optimization problem is performed, in order to control two current harmonics components by manipulating one power harmonic component and satisfying current distortion requirements imposed by IEEE std 1547.
As a result of previous contributions, the proposed scheme was validated in a Hardware-In-the-Loop (HIL) system, validating its capability to be synthesized in real-time applications and embedded devices.
The rest of this paper is organized as follows. In
Section 2 preliminary concepts and the mathematical formulation of power bounds to current harmonics control are derived. In
Section 3, the optimization problem used by the MPC scheme is stated, whereas a real-time simulation setup and the results of this proposal are presented in
Section 4. Finally, conclusions are drawn in
Section 5.
4. System Implementation and Results
As (5) states magnitude and phase angle for each harmonic component, if power measurements are decomposed, then, these components can be controlled independently. In this sense, the proposed scheme for harmonics compensation uses a two-level hierarchy. The primary level is composed of a PI-based current control, where its reference is computed as a function of the local node voltage, and the power components, as shown in
Figure 2.
In order to preserve the proper synchronization, an additional PI control loop is required to adjust the phase angle,
, according to the power decomposition estimated by a set of resonant Infinite Impulse Response (IIR-peak) filters. The resonant IIR-Peak type is a very-narrow bandpass filter, which is tuned to harmonic frequencies, preserving the magnitude inside the band, and mitigating frequencies outside it [
38]. A PLL is used to estimate the instantaneous phase angle of each harmonic, which is compared locally with a phase oscillator. The whole primary control level and the three-phase three-wire power system of
Figure 2 was deployed in an OPAL OP4510 real-time computer in a Hardware-In-the-Loop (HIL) configuration.
On the other hand, the secondary control level is composed of the proposed MPC, which is deployed in a MicroLabBox-dSPACE platform. The QP optimization problem is solved using OPTI-CasADi [
39], and voltage and current measurements, used to compute real power, were acquired via analog inputs from the OPAL platform. The control actions represented by harmonics magnitudes were sent through analog outputs to the OPAL platform. Although MPC, based on QP problems for power quality improvement, has been reported, the proposed scheme integrates power-based constraints, instead of current or voltage constraints, extending the scope of the power quality issues to be addressed. For instance, the selective harmonics compensation technique, presented in [
32], can be implemented by settling
close to zero, whereas imbalance issues covered by [
33] can be addressed by controlling triple harmonics. Another remarkable advantage of the proposed MPC is the IEEE std 1547 compliance, through harmonics management in a range, instead of a constant reference value. A detailed comparison is provided in
Table 1, where the main features of the proposed scheme are compared against the approaches of [
32,
33]. Detailed information about the deployed algorithm used for MPC implementation is provided in Algorithm 1. Moreover,
Figure 3 presents the HIL setup developed with the system parameters of
Table 2.
Algorithm 1 DMPC solution for harmonics compensation |
Inputs: Measurements and estimations: |
|
Set points and optimization parameters: |
|
Outputs: |
Initialisation: |
1: State and compute based on Equation (16). |
2: for every k do |
3: Compute and based on Equations (15) and (16). |
4: Update Inequality (18) based on (19). |
5: Update set point in cost function (21). |
6: Solve QP problem using OPTI–CasADi framework. |
7: if Optimal solution is feasible and then |
8: Extract from optimization output. |
9: else |
10: . |
11: end if |
12: Send to integrators to update controller outputs |
13: end for |
Four cases were studied to provide evidence of the MPC capabilities related to selective harmonics mitigation, total current distortion, IEEE std 1547 compliance, and power capacity limitation. For all of these cases, the load was preserved as constant, demanding currents of 0.7 P.U. @ 50 Hz, 0.08 P.U. @ 100 Hz, and 0.05 P.U. @ 150 Hz and 200 Hz. A scale factor of 10× was used in analog inputs and outputs to visualize these signals properly. The system was started considering the DG disabled; therefore, the whole demand was supplied through the PCC, as shown
Figure 4. The studied cases are presented in the following subsections.
4.1. Case 1: Compensation of Selected Harmonics
This scenario considered two periods as shown in
Figure 5a. In the first period, the second and fourth current harmonics were compensated to zero references (
Figure 5b); therefore, power supplied through the PCC was composed of a DC component and a 100 Hz component (
Figure 5c). Note that, in
Figure 4, the
and
currents had different DC values, which was corrected in
Figure 5c. This was because, according to Inequality (12), by bounding
, current components
and
are controlled. However, this does not mean that unbalances are mitigated, as shown
Figure 5c.
The second period of case 1 considered the total compensation of harmonics in the PCC, as shown in
Figure 5d,e. In this case, the power delivered through the PCC was close to a DC signal, which indicated that only active power was supplied from the utility to the load, whereas the DG supplied harmonic components. As shown in
Figure 5a, an active power component (0.2 P.U.) was also supplied by the DG. Measured current values and the tuned weights of the MPC are shown in
Table 3.
4.2. Case 2: Compensation of Total Current Distortion
In this case,
was relaxed to provide evidence of the effect of the THD constraint. Similar to case 1, this test was divided into two periods, shown in
Figure 6. The first period began when
was settled to 5%, reducing the current harmonics, as shown in
Figure 6a,b. Unlike case 1, none of the three current harmonics were totally mitigated, but current THD reduced from 25.7% to 2.45%; therefore, distortion on the PCC currents and power was allowed, as shown in
Figure 6c.
The second period began when the active power component supplied by the DG increased, but
was preserved. In this case, distortion caused by harmonic components should also be reduced, because the PCC current at the fundamental frequency is reduced, preserving the power THD into the range stated by Inequality (18). Tuned weights and magnitudes of current harmonic components are shown in
Table 4. According to the results, the current THD was lower than 5% in both periods; therefore, TRD requirements from IEEE std 1547 were satisfied as well.
4.3. Case 3: IEEE std 1547 Current Distortion Compliance
For the third case, current harmonics boundaries and THD requirements were settled according to the IEEE std 1547. Due to
values were not zero, and distortion on power signal was allowed, as shown in
Figure 7a. In the same way, as shown
Figure 7b, current components were in the range stated by (14) and (15). The highest being the the third harmonic, as it was allowed by the referred standard. Tuned weights, reference IEEE std 1547 values and measured currents are shown in
Table 5.
4.4. Case 4: Power Capacity Test
In this test, the DG was saturated, which meant that power requirements to satisfy harmonics compensation and active power delivery overran its power capacity. For this test, current
was increased to 1 P.U. at the load to increase the current required for harmonics compensation, and settled to 5% at the beginning of period 1. As shown in
Figure 8, the compensation requirements were satisfied, with the total power supplied by the DG being lower than its capacity. Around
t = 100 s,
increased from 0.2 P.U. to 0.4 P.U. and, therefore,
started its transition, but currents related to compensation were adjusted once
was achieved, after 50 s, as shown
Figure 9.
Since the new value of
was unachievable, the DG was saturated; however, harmonics compensation at the PCC was not altered. Finally, around
t = 240 s, the set points
were adjusted, according to IEEE std 1547. In this case, harmonics currents, as well as the fundamental component supplied by the DG, were rearranged at the end of period 2. The results associated to both aforementioned disturbances are shown in
Figure 8b and
Figure 9. The current frequency spectrum and the time–domain signals of power and
currents at the PCC are shown in
Figure 8c,d. Note that, although current shapes were similar in both periods, power distortion at the beginning indicated more relaxed compensation requirements than the final state. Measured current values and parameters used in this test are shown in
Table 6.
4.5. Analysis
Four different cases were presented to evidence the proposed MPC capabilities related to low-frequency harmonics compensation. Although the computational burden of MPC applications is recognized, the proposed scheme allows the integration of power quality constraints referred to the IEEE std 1547.
Cases 1 and 2 showed the capabilities of the proposed scheme, i.e., selective harmonics and THD compensation, respectively. Each one of these cases demonstrated that the system currents were, individually, in the expected range, due to the power Constraints (14) (case 1) and (18) (case 2). The controller was able to properly compensate for harmonics and current distortion. In the same way, case 3 presents the results when both aforementioned constraints were settled according to the IEEE std 1547. In this case, the second current harmonic was close to its maximum value, but the third and the fourth harmonics were lower to preserve , as the standard requires.
Similarly, case 4 showed the system performance when the DG was saturated. In this case, the saturation was due to an over-rated active power reference. The results showed that power quality objectives were prioritized over active power transference. This is because active power used for mining activities is mainly supplied by third-party power purchase agreements; therefore, generation is not the main topic in the mining industry. In contrast, promoting high power quality requirements in mining power systems reduces not only operational expenditures but also power system failures.
The four cases analyzed demonstrated that the proposed MPC scheme is able to compensate for harmonics and current distortion effects without adding additional power converters. Instead, these capabilities are embedded in the control system of the DGs. This is of great importance, as implementation costs are reduced and no hardware intervention is needed. Moreover, the MPC strategy fulfils the requirements of the IEEE 1547 standard, while the maximum power ratings of the DGs are respected. The proposed MPC strategy presents a better solution than PI-based approaches, as with these approaches it is hard to include constraints in the controlled variables and to achieve multiple objectives at the same time. Finally, note that the four cases analyzed were validated via hardware-in-the-loop experiments.
5. Conclusions and Final Remarks
In this paper, a novel MPC strategy for power quality improvement was presented. The proposed scheme is deployable in mining industry environments once power systems of mining facilities are affected by low order harmonics (below 200 Hz), which are not easily filtered, even when AFE converters are used as the interface between rotary machines and the power grid. In this sense, the proposed controller optimizes the power required for harmonics compensation and prioritizes this objective over active power delivery to preserve the power quality inside the power system. Furthermore, the proposed optimization can be executed for real-time applications, once formulated in terms of harmonics magnitudes, allowing more extended sampling periods than the primary control level continuous-set implementations and integrating more restrictive constraints than reported in the reviewed literature.
Although the results shown in this paper are promising, compensating harmonics pollution only in the PCC of mining facilities is not the most efficient scheme because harmonics currents are circulating through the power system. In this sense, some assumptions that our proposed scheme relies on should be covered by future research. The most important assumption is related to the a priori knowledge of harmonics components to be compensated, considering that, in mining facilities, harmonics profiles depend on machinery speed. In this sense, the deployment of computationally efficient methods of harmonics components provides additional features; therefore, the proposed control can be extended to consider this feature. Another open challenge relates to the development of distributed algorithms that allow cooperative compensation for multi-node power grids, which is the case for mining facilities. In this case, the challenge is to find an optimal information management system to reduce the performance requirements on the communication network (bandwidth, latency, and channel capacity), without sacrificing control performance.