Novel Switching Frequency FCS-MPC of PMSG for Grid-Connected Wind Energy Conversion System with Coordinated Low Voltage Ride Through

: The integration of wind energy systems (WECS) into the power grid through power electronic converters should ensure the high performance of the control system. In spite of several advantages of conventional Finite control set-model predictive controller (FCS-MPC), variable switching frequency and high computational burden are considered its main drawbacks. In this paper, a fast FCS-MPC of a machine side converter (MSC) of direct-driven permanent magnet synchronous generator (PMSG) based wind turbines for wind energy conversion system is proposed. The wind energy conversion system has been realized using a direct driven PMSG and a full-scale back-to-back power converter. The proposed controller is designed to reduce the required calculations in each horizon. In addition, the performance of conventional FCS-MPC is compared with the proposed method, and an improvement in total harmonic distortion spectra and simulation time required even when imposing a lower sampling frequency was found. To overcome the variable switching frequency problem, a modulation algorithm is introduced in the minimization process of modulated FCS-MPC. To keep the proposed system attached to the utility during a fault, a coordinated pitch angle control and low voltage-ride through (LVRT) algorithm is designed and inserted in the vector control of the grid side converter (GSC) to supply reactive power to the grid during fault for ensuring safe operation of the inverter and meeting the grid code requirements. The effectiveness of the proposed controller is illustrated using simulation results under different operating conditions.


Introduction
The generation of wind power has been increasing rapidly in the last years. An adjustable speed wind energy conversion system (WECS) mostly includes a doubly fed induction generator (DFIG) and direct-driven permanent magnet synchronous generator (PMSG) full power converter. PMSG has many benefits in comparison with DFIG because of the elimination of the gearbox and the full decoupling between the grid and the generator [1]. Different control strategies have been submitted to regulate the generated power of PMSG. Field oriented control (FOC) and direct power control (DPC) are the most prevalent control strategies now. Despite good steady-state and dynamic performance of FOC, it is complicated due to PI tuning problems. On the other hand, DPC provides good performance, simplicity of control structure, and robustness against control parameter 2 of 19 variations. However, the harmonic spectrum of the output current is large and its variable switching frequency complicates filter design [2,3].
For the above-mentioned reasons, Model predictive control (MPC) has recently been introduced [4][5][6]. MPC has various advantages, including simple control, absence of modulator, fast dynamic response, and ability to overcome non-linearity and multi-objectives control problems [7][8][9]. In [7], a model predictive based on direct power control for multiobjectives control has been introduced, which merges the converter switching frequency, minimizing power deviation and manipulates the system stability. Furthermore, A direct torque MPC model for multi-objective control is designed in [8] for decreasing the converter switching frequency and ripples of flux and torque of induction motors. In [9], a virtual flux evaluation based on direct power MPC is presented.
Finite control Set MPC (FCS-MPC) is commonly used for power converters control. Its concept is to predict the response of the system for each switching state, then evaluating a cost function and the switching state that provides minimum cost function will be taken as an optimum wherefore it is applied for the next control cycle. FCS-MPC provides easy implementation and online optimization, so it is applied in power and torque control of induction motors and grid power converters [8][9][10][11].
A comparative study of sliding mode controller, FCS-MPC, and PI controller schemes for machine side converter based on rotor flux orientation of PMSG has been presented in [12]. Despite its several merits, variable switching frequency, large harmonic content in the current and high computational burden are considered its main drawbacks [13][14][15][16]. Many solutions have been introduced to fix the switching frequency and reduce harmonic content of conventional FCS-MPC [14][15][16]. In [14], FCS-MPC for two-level grid connected converters operating with constant switching frequency has been accomplished through an optimal switching sequence of DPC. In [15], a constant switching frequency in FCS-MPC for the three-phase active-front-end rectifiers is studied; however, the proposed method is complex and needs large calculations of voltage converters. In [16], a Multiple-Vector FCS-Model Predictive Power Control is introduced for the grid-side converter control. Three types of FCS-MPC schemes with duty cycle optimizations are compared.
To obtain good and fast steady-state performance of FCS-MPC, the computational load needs to be released and the time of real implementation should not constitute a high percentage of the switching time for the sake of other functions accommodation such phase locked loop (PLL) and maximum power tracking. It is expected that the implementation duration using digital signal processing (DSP) or microcontroller is limited to 100 µs. Thus, for FCS-MPC algorithm, at least 52 µs is required for online calculations and evaluation of cost function and this will be time consuming. So, to overcome these limitations, a modulated MPC (M2MPC) with constant switching frequency and fast computation algorithm was presented in [17][18][19][20]. M2MPC is designed to control the three-phase active rectifier [17], seven-level cascade H-bridge [18,19] and matrix converter [20]. In spite of the proposed M2MPC provides fixed switching frequency, the power circuits of H-bridge and matrix converters are complex, and the proposed algorithm has a large computational load.
Because of large generated electric power from wind energy systems, so many countries have updated their grid codes to obtain a much more reliable and efficient wind power system [21][22][23][24]. The main important issue in the wind power generation is the low voltage ride through (LVRT), which is also named fault-ride through (FRT) [22]. Recently, one of the most common requirements in a wind power system is to keep the wind turbine connected to the grid during a fault without any failure and with minimum technical requirements taking only grid code specifications into account. Various research has developed methods for LVRT control [25]. In Ref. [26], a machine learning method is used where a fuzzy logic control method is applied to guarantee the grid stability as it uses the data from the wind turbine and an energy storage system to obtain a stable and reliable operation during grid fault, but it requires high installation cost and large constraints for batteries charging and discharging. The concept of LVRT is to keep the wind energy conversion system attached to the grid during system faults and to inject the system with reactive power to recover the grid from the voltage dip. PMSG wind energy system has high power extraction at different wind speeds, which enhances LVRT requirements and makes it the most promising trend for high power wind turbines [24].
In Reference [27], a multi-objective control for wind turbine power system is studied using a ranking and sorting approach without utilizing scaling factor tuning process. Meanwhile, an FCS-MPC with a small number of commutations for line current balancing is executed in [28]. However, the quality function needs to be enhanced to improve the current spectrum. Also, a model predictive direct torque control without utilizing weighting gains for PMSG wind power system is studied in [29], which reduces the computational time and overcomes the effect of parameter variations. Furthermore, a fixed switching frequency FCS-MPC algorithm synthesized by system delay compensation is applied for two-level converters in [30]. The system enhanced computational efficiency by reducing the number of sectors in the controller. An FCS-MPC for torque control based permanent magnet synchronous machine drives has been implemented in [31] to reduce the real-time implementation but, the effect of inverter switching sequence on efficiency is not considered.
To obtain a fixed switching frequency and to reduce harmonics in output waveforms of a two-level voltage source converter (VSC), a modulated FCS-MPC with constant switching frequency and fast computation is presented in this paper and compared with its conventional FCS-MPC scheme. The proposed algorithm reduces the number of sectors from six to one and this will increase the calculation efficiency. The control algorithm is applied to the generator-side converter of PMSG. Furthermore, a simplified approach for coordinated low voltage ride through capability is studied to enhance the WECS responsibility throughout the grid voltage sag. The principle of the coordinated LVRT algorithm depends on changing the active and reactive power injected in the grid-by-grid side converter during a fault in conjunction with pitch angle control to ensure that the wind speed and DC voltage is held within its constraints. In this approach, the performance of LVRT of a PMSG wind turbine is achieved without the need for hardware components since the power of PMSG is controlled by the grid power and a reactive power is delivered to support the grid voltage during fault conditions depending on grid code specifications [32]. The main contributions of this paper are as follows:

1.
Overcoming the variable switching frequency of the two-level converter problem by designing a modulation algorithm that obtains a fixed switching frequency.

2.
A coordinated pitch angle control and low voltage-ride through (LVRT) algorithm is designed and inserted in the vector control of the grid side converter (GSC) to supply reactive power to the grid during fault for ensuring safe operation of the inverter.

3.
A comparison with conventional FCS-MPC is made to show the effectiveness of the proposed method.
This paper is arranged as follows. First, the principle of wind energy conversion system and the mathematical modeling of direct driven permanent magnet synchronous generator and grid-side converter are established. Then, the modulated model predictive control algorithm is explained in detail in comparison with conventional FCS-MPC. Finally, simulation results through a MATLAB/Simulink Package for the proposed algorithm in both steady-state and transient operation are presented to confirm the system effectiveness.

Principle of Wind Energy Conversion System
The single line diagram of kinetic to electric energy conversion system based on direct driven PMSG and full-scale back-to-back power converter is illustrated in Figure 1. First, kinetic energy is converted to variable frequency power via PMSG. In direct driven PMSG, the gearbox is eliminated, and the generator is directly coupled to the wind turbine system [33]. The generated power is then transferred to the power system grid after conversion to fixed frequency through AC-DC-AC converters, i.e., Machine-side Converter (MSC) and Grid-side Converter (GSC). The first one is controlled to regulate generator output power and rotational speed while the other achieves power factor control and dc-link voltage stability [1]. output power and rotational speed while the other achieves power factor control and dclink voltage stability [1].
The mechanical power ( ) which can be extracted from wind turbine rotor blades rotating through an area with speed can be formulated as follows [23]: where represents air density, and is the wind turbine power coefficient, which ranges between 0.32 and 0.52 according to the new generation of high-power WTs [22], [23].

WECS Controller
Generator-side converter Grid-side converter Figure 1. Kinetic to electric energy conversion system based on direct-driven permanent magnet synchronous generator (PMSG) topology.

Mathematical Modeling of Direct-Driven Permanent Magnet Synchronous Generator
For the sake of simplicity, the higher-order harmonic component effect will be excluded, and the mathematical equation of PMSG in − rotating reference frame can be written in the following form [27]: The mechanical power (P m ) which can be extracted from wind turbine rotor blades rotating through an area A r with speed V w can be formulated as follows [23]:

Modelling of Machine Side Converter
where ρ represents air density, and C p is the wind turbine power coefficient, which ranges between 0.32 and 0.52 according to the new generation of high-power WTs [22,23].

Mathematical Modeling of Direct-Driven Permanent Magnet Synchronous Generator
For the sake of simplicity, the higher-order harmonic component effect will be excluded, and the mathematical equation of PMSG in dq − axes rotating reference frame can be written in the following form [27]:

Modelling of Machine Side Converter
For its simplicity, a two-level three-phase converter is proposed as a machine side converter where eight switching states' voltage vectors can be generated and are profiled in Figure 2. For its simplicity, a two-level three-phase converter is proposed as a machine side converter where eight switching states' voltage vectors can be generated and are profiled in Figure 2. By means of the switching state functions, the phase voltages can be formulated as where the switching states of the inverter are = and The output voltages in the stationary reference frame ( − β) in the term of switching states can be expressed as Similarly, the representation of output voltages in − reference frame in the term of switching states is as follows

Conventional FCS-MPC of the MSC Scheme
Finite control set model predictive control depends on the prediction of system ability to the variation of control parameters to obtain minimum error in the next one or more sampling time. The output of this control is in a discrete form. It can be applied to the converter directly after minimizing the cost function that represents the square of the error between the reference and its predicted value of current at time instant ( + 1), as depicted in Figure 3.
The FCS-MPC uses the concept of discrete-time model to predict current values at a future sampling period. For discretization, the well-known forward Euler method with sampling time is applied to the time-continuous model Equations (2) and (3). By means of the switching state functions, the phase voltages can be formulated as where the switching states of the inverter are S = S a S b S c T and The output voltages in the stationary reference frame (α − β) in the term of switching states can be expressed as Similarly, the representation of output voltages in d − q reference frame in the term of switching states is as follows

Conventional FCS-MPC of the MSC Scheme
Finite control set model predictive control depends on the prediction of system ability to the variation of control parameters to obtain minimum error in the next one or more sampling time. The output of this control is in a discrete form. It can be applied to the converter directly after minimizing the cost function that represents the square of the error between the reference and its predicted value of current at time instant (k + 1), as depicted in Figure 3.
After evaluating the predictions, a cost function has to be developed to find the optimal control actions. The cost function equation of the proposed FCS-MPC is formulated as = ( * ( + 1) − ( + 1)) + * ( + 1) − ( + 1)  As shown in Figure 2, there are eight voltage vectors (VVs); two zero VVs and six non-zero VVs. Consequently, conventional FCS-MPC needs to evaluate eight prediction currents and eight cost functions that enlarge the computational load, especially for long step predictions [29].
The time sequence of the model predictive control for analog to digital implementation is performed in Figure 4. At sampling time ( ) the converter is sampled by an analog to digital converter (ADC) and this process is ended at time then, the main algorithm is applied at and the switching vectors of the converter is generated at instant ( + 1). Accordingly, the voltage vectors employed at instant ( ) is delayed and applied to the The FCS-MPC uses the concept of discrete-time model to predict current values at a future sampling period. For discretization, the well-known forward Euler method with sampling time T s is applied to the time-continuous model Equations (2) and (3).
MSC model Equation (9) is combined with the discrete model of PMSG Equation (10), and the combined model can be expressed as: After evaluating the predictions, a cost function has to be developed to find the optimal control actions. The cost function equation of the proposed FCS-MPC is formulated as As shown in Figure 2, there are eight voltage vectors (VVs); two zero VVs and six non-zero VVs. Consequently, conventional FCS-MPC needs to evaluate eight prediction currents and eight cost functions that enlarge the computational load, especially for long step predictions [29].
The time sequence of the model predictive control for analog to digital implementation is performed in Figure 4. At sampling time (k) the converter is sampled by an analog to digital converter (ADC) and this process is ended at time t 1 then, the main algorithm is applied at t 2 and the switching vectors of the converter is generated at instant (k + 1). Accordingly, the voltage vectors employed at instant (k) is delayed and applied to the controller at instant (k + 1). In summary, the computational delay due to digital implementation through DSP or microcontroller can be compensated by shifting the discrete controller at instant ( + 1). In summary, the computational delay due to digital implementation through DSP or microcontroller can be compensated by shifting the discrete equations of the model one sampling time as will be highlighted in the next sections. A flow chart for the conventional FCS-MPC algorithm is illustrated in Figure 5.

Proposed Modulated Model Predictive Control for the MSC
As previously described, the conventional FCS-MPC needs to repeat the calculations of the prediction current eight times during each horizon. Also, the output current con-

Proposed Modulated Model Predictive Control for the MSC
As previously described, the conventional FCS-MPC needs to repeat the calculations of the prediction current eight times during each horizon. Also, the output current contains many ripples, and the harmonic spectrum is distributed in a spread range of frequency which complicate the design of the filter [30]. So, to fix the switching frequency, modulated model predictive control MMPC is proposed. Figure 6 shows a taxonomy of the proposed MMPC for machine side converter. The dq components of reference currents i * d (k + 1) and i * q (k + 1) in rotating reference frame at instant (k + 1) can be represented using linear interpolation theorem as follows: quency which complicate the design of the filter [30]. So, to fix the switching frequency, modulated model predictive control MMPC is proposed. Figure 6 shows a taxonomy of the proposed MMPC for machine side converter. The components of reference currents * ( + 1) and * ( + 1) in rotating reference frame at instant ( + 1) can be represented using linear interpolation theorem as follows: The reference currents at instant time ( + 1) * ( + 1) = 3 * ( ) − 3 * ( − 1) − 3 * ( − 2) Similarly, the reference currents at instant time ( + 2) * ( + 2) = 3 * ( + 1) − 3 * ( ) − 3 * ( − 1) (15) * ( + 2) = 3 * ( + 1) − 3 * ( ) − 3 * ( − 1) The actual currents prediction at instant time ( + 1)   The reference currents at instant time (k + 1) Similarly, the reference currents at instant time (k + 2) The actual currents prediction at instant time (k + 1) From the previously written equations, the predicted voltage vectors in discrete-time form which is used to obtain the future values of the output variables on one sampling time T s can be written based on normal forward Euler approximation [11,34] Using Equation (9), the voltage vectors of the converter according to the switching states can be expressed as: To obtain a fast and perfect current tracking, the cost function based on the predicted and output voltage vectors of the converter [29] For the convenience of description of the proposed MMPC to obtain fixed switching frequency, take the first sector of Figure 2 as an example where u 1 , u 2 and u 0 or (u 7 ) are the voltage vectors of this sector. The corresponding cost functions of these vectors are g 1a , g 1b and g 1c , respectively. Meanwhile, the operation time of these voltage vectors can be derived from the next equations [30]: t 1a = T s g 1b g 1c g 1a g 1b + g 1b g 1c + g 1c g 1a (22) t 1b = T s g 1a g 1c g 1a g 1b + g 1b g 1c + g 1c g 1a (23) t 1c = T s g 1b g 1a g 1a g 1b + g 1b g 1c + g 1c g 1a (24) From the concept of FCS-MPC operating with a constant switching frequency, the sector cost function (G) of the first sector can be written as: A similar concept can be applied to obtain other voltage vectors and their corresponding sector cost functions will be G 2 , G 3 , G 4 , G 5 and G 6 . The sector which provides minimum G will be selected as the optimum one and its corresponding voltage vectors will be applied in the next control cycle.
The desired sector and its corresponding sequence time can be determined, so the number of sectors for FCS-MPC will be decreased from six to one. Consequently, the computational load will be suppressed, and its efficiency will be greatly improved.
In order to eliminate the converter output current and voltage harmonics, the operating time of the voltage vectors should be distributed in a similar way as will be seen below. Also, suppose that the reference voltage vector is presented in the first sector, the switching pattern can be arranged as: 000, 100, 110, 111, 110, 100, and 000. Hence, its sequence time is illustrated in Figure 7.
The desired voltage vectors will be obtained by knowing the reference voltage vector location u * re f (k) = u * d (k) + j u * q (k) according to Equation (19) and the following flow chart can easily explain the proposed MMPC algorithm (see Figure 8). The desired voltage vectors will be obtained by knowing the reference voltage vector location * ( ) = * ( ) + * ( ) according to Equation (19) and the following flow chart can easily explain the proposed MMPC algorithm (see Figure 8).

Modelling and Control of Grid-Side Converter
The grid-side converter mathematical modeling in rotating reference frame can be obtained from [35]:

Modelling and Control of Grid-Side Converter
The grid-side converter mathematical modeling in dq rotating reference frame can be obtained from [35]: On the other hand, grid-side converter active and reactive power can be expressed in terms of dq components of grid voltages and currents as below: The DC-link voltage should be kept constant. When a grid voltage dip condition occurs, DC-link voltage can suffer some variation but is still close to its nominal value via suitable protection or controller. Consequently, the grid-side converter can be considered completely separated and decoupled from the machine-side converter [28]. Block diagram of vector control of grid side converter Low voltage ride through (LVRT) algorithm is given in Figure 9. Low voltage ride through algorithm will be explained in the next section.
Electronics 2021, 10, x FOR PEER REVIEW 13 of 22 The DC-link voltage should be kept constant. When a grid voltage dip condition occurs, DC-link voltage can suffer some variation but is still close to its nominal value via suitable protection or controller. Consequently, the grid-side converter can be considered completely separated and decoupled from the machine-side converter [28]. Block diagram of vector control of grid side converter Low voltage ride through (LVRT) algorithm is given in Figure 9. Low voltage ride through algorithm will be explained in the next section.

Control Strategy of Grid Side Converter
From the E-ON grid code, the LVRT will operate when there is a grid voltage dip. Suppose the grid voltage reduces below 90% of its nominal value. In that case, the system has to inject 2% reactive current for every 1% voltage dip and if it decreased below 50%, rated reactive current should be supplied to retain the system stability. Figure 10a shows the generation of − reference currents for the grid-side converter during LVRT operation depending on E-ON German code [24].

Pitch Angle Control Strategy
As discussed in Section 2, the pitch angle has a great effect on the performance of the power coefficient , i.e., the output power extracted from wind turbine can be controlled through a pitch angle controller. When pitch angle increases, will be reduced and consequently, the mechanical power will be reduced. Figure 10b shows how the controller can regulate the pitch angle in case of grid voltage dip. When the rotor speed exceeds its reference value, or the controller detects a voltage dip, immediately, the pitch angle increases to reduce the rotor speed and hence the mechanical power.

Control Strategy of Grid Side Converter
From the E-ON grid code, the LVRT will operate when there is a grid voltage dip. Suppose the grid voltage reduces below 90% of its nominal value. In that case, the system has to inject 2% reactive current for every 1% voltage dip and if it decreased below 50%, rated reactive current should be supplied to retain the system stability. Figure 10a shows the generation of dq − axis reference currents for the grid-side converter during LVRT operation depending on E-ON German code [24].

Simulation Results and Case Studies
In order to verify the performance of the proposed overall scheme during three-phase grid voltage dip, simulation modeling is designed via MATLAB/Simulink package. The simulation tests are carried out during transient and steady-state operation with the LVRT capability applied to the grid-side converter. Furthermore, the control performance of the conventional FCS-MPC is illustrated and compared with the control performance of the proposed MMPC. The simulation results are executed at a sampling time of T_s = 1/10,000 sec while the switching frequency of the generator-side converter is noted as 4 kHz.
Case 1: For balanced grid voltage operation, the proposed MMPC algorithm perfor mance under step increase in wind speed from 8 m/s to 12 m/s at time t = 2 sec will be evaluated as shown in Figure 11. Figure 11a-h represent the response characteristics of three-phase grid phase volt ages, grid currents, stator current, zoom of grid current, dq-axis grid current, active and reactive grid power, dc bus voltage and rotor speed, respectively. All these figures are

Pitch Angle Control Strategy
As discussed in Section 2, the pitch angle has a great effect on the performance of the power coefficient C p , i.e., the output power extracted from wind turbine can be controlled through a pitch angle controller. When pitch angle increases, C p will be reduced and consequently, the mechanical power will be reduced. Figure 10b shows how the controller can regulate the pitch angle in case of grid voltage dip. When the rotor speed exceeds its reference value, or the controller detects a voltage dip, immediately, the pitch angle increases to reduce the rotor speed and hence the mechanical power.

Simulation Results and Case Studies
In order to verify the performance of the proposed overall scheme during three-phase grid voltage dip, simulation modeling is designed via MATLAB/Simulink package. The simulation tests are carried out during transient and steady-state operation with the LVRT capability applied to the grid-side converter. Furthermore, the control performance of the conventional FCS-MPC is illustrated and compared with the control performance of the proposed MMPC. The simulation results are executed at a sampling time of T_s = 1/10,000 s while the switching frequency of the generator-side converter is noted as 4 kHz.
Case 1: For balanced grid voltage operation, the proposed MMPC algorithm performance under step increase in wind speed from 8 m/s to 12 m/s at time t = 2 s will be evaluated as shown in Figure 11.   Figure 11a-h represent the response characteristics of three-phase grid phase voltages, grid currents, stator current, zoom of grid current, dq-axis grid current, active and reactive grid power, dc bus voltage and rotor speed, respectively. All these figures are plotted in pu values for simplicity. Figure 11a,b displays the waveforms of the grid voltage and current where the grid voltage seems very smooth and have no disturbance despite the step increase in wind speed at t = 2 s. Also, the grid current tracks this variation well and it takes about 150 ms to reach its desired value, as illustrated in Figure 11d.
The PMSG stator current represented in Figure 11c also tracks the wind speed increase but it contains some harmonics which will affect the electromagnetic torque. However, under the decoupling between the generator and grid-side converters, these harmonics will not transfer to the grid. Since the system operates at unity power factor, the reactive power supplied to the grid is 0 pu. The PMSG-WECS gives only active power (Figure 11f). Moreover, this is also illustrated from the zero value of q-axis grid current. The grid has only d-axis component value, which follows the wind speed increment as presented in Figure 11e. The magnitude of DC-bus voltage in Figure 11g is maintained at its nominal value with a small overshoot and dip during the application and removal of grid fault. Figure 11h shows the PMSG rotor speed, which can mutate to wind speed variation without any oscillation.
To compare the quality for the traditional and proposed schemes in more details, the voltage and current spectra for machine side converters and total harmonic distortions (THDs) are shown in Figure 12a,b, respectively. The results show that the proposed algorithm enhances the steady-state performance than the conventional FCS-MPC. The total harmonic distortion (THD) of stator current is reduced from 5.82% to 5.27%, respectively. On the other hand, the current harmonic spectrum is concentrated over the switching frequency and its multiple such 4 kHz and 8 kHz eases the filter design. This is similar to space vector modulation PWM. In a word, these results substantiate that the MMPC with fixed switching frequency can be used in power conversion system efficiently as it reduces the converter computational effort and hence more efficiency compared to conventional FCS-MPC.   ( )) in this case of study. Moreover, the pitch angle controller is also enabled as described in Figure 10. The control scheme is tested under transient operation with a fixed wind speed of 12 m/s and a three-phase grid voltage dip is applied from rated value to 10% of its rated at = 1 sec with a duration of 150 msec. The corresponding results of a fixed switching frequency MMPC algorithm are depicted in Figure 13.
During grid voltage dip (Figure 13a), the magnitude of grid current should increase to a higher value, but with the presence of LVRT controller, its value is limited to rated (1 pu) as profiled in Figure 13b. A fast and reasonably accurate transient response with no overshoot or dip in grid current during applying and removal of grid fault as shown in Figure 13d. Also, the PMSG stator current has no response to the voltage dip, as shown in Figure 13c.
As can be seen from Figure 13b-h, the WECS could maintain the system stable under fixed wind speed so the power generation system could provide active power to the grid without any compliance. Since the system operates at unity power factor, reactive power delivered to the grid is 0 pu and the PMSG-WECS gives only active power. However, throughout the voltage dip, the active power injected into the grid decreases to zero ( = To better illustrate the comparison results, this section summarizes the aspects of both presented methods in terms of their THD, total execution time of simulation, and controller and reduction in time required as listed in Table 1. Since in the conventional FCS-MPC, only one voltage vector is applied during the whole sampling time, which results in a variation in switching frequency. The proposed MMPC applies two active and one zero voltage vectors during the sampling time based on the switching pattern in Figure 7. Thus, the computational efforts associated with the calculation of duty cycle are smaller than the conventional FCS-MPC because of the reduction in simulation and controller time.

Case 2:
The effectiveness of the proposed modulated model predictive control (MMPC) with the grid-side LVRT controller is enabled (i * dg (k) = i * dg,LVRT (k), i * qg (k) = i * qg, LVRT (k)) in this case of study. Moreover, the pitch angle controller is also enabled as described in Figure 10. The control scheme is tested under transient operation with a fixed wind speed of 12 m/s and a three-phase grid voltage dip is applied from rated value to 10% of its rated at t = 1 s with a duration of 150 ms. The corresponding results of a fixed switching frequency MMPC algorithm are depicted in Figure 13.
to a rated value (1 ) during voltage dip and recover back to its zero value with less overshoot after fault clearance. Meanwhile, the magnitude of dc bus voltage in Figure 13g is maintained at its nominal value but with a small overshoot and dip during the application and removal of grid fault but still within its safe limits. Figure 13h highlights the PMSG rotor speed which does not mutate to the grid voltage fault, which proved that the proposed algorithm is able to operate during all possible cases without any failure to the WECS.  During grid voltage dip (Figure 13a), the magnitude of grid current should increase to a higher value, but with the presence of LVRT controller, its value is limited to rated (1 pu) as profiled in Figure 13b. A fast and reasonably accurate transient response with no overshoot or dip in grid current during applying and removal of grid fault as shown in Figure 13d. Also, the PMSG stator current has no response to the voltage dip, as shown in Figure 13c.
As can be seen from Figure 13b-h, the WECS could maintain the system stable under fixed wind speed so the power generation system could provide active power to the grid without any compliance. Since the system operates at unity power factor, reactive power delivered to the grid is 0 pu and the PMSG-WECS gives only active power. However, throughout the voltage dip, the active power injected into the grid decreases to zero (i dg = 0) (Figure 13e), and according to power balance, this power will be stored in the dc bus capacitor. So, the PMSG should inject the system with reactive power to hold the grid voltage and prevent the dc bus voltage value from increasing above its threshold and distortion.
Thus, with the operation of LVRT, the q-axis grid current in Figure 13e is increased to a rated value (1 pu) during voltage dip and recover back to its zero value with less overshoot after fault clearance. Meanwhile, the magnitude of dc bus voltage in Figure 13g is maintained at its nominal value but with a small overshoot and dip during the application and removal of grid fault but still within its safe limits. Figure 13h highlights the PMSG rotor speed which does not mutate to the grid voltage fault, which proved that the proposed algorithm is able to operate during all possible cases without any failure to the WECS.

Conclusions
This paper proposed a novel MMPC of a PMSG wind energy system, which overcomes the variable switching frequency problem in the conventional FCS-MPC. Compared to FCS-MPC, the proposed MMPC gives lower THD in stator current and lower simulation time required for implementation. In addition, the operation with MMPC gives a fixed switching frequency, and lower ripple in the stator current, which reduces the ripple contents in active and reactive grid power and provides a more concentrated THD spectrum; hence, the filter design will be simple. Moreover, to compensate for the injected reactive power into the grid during faults and enhance the performance during the grid voltage dip, a coordinated LVRT algorithm, which is applied in the grid side converter, in addition to a pitch control to inject reactive power to keep the wind speed and DC-link voltage within its limits without additional expensive hardware, has been designed.
Computer simulations have been executed to evaluate the effectiveness of the proposed control strategy. The results show that the proposed MMPC has a fast transient response and smooth operation during wind speed variation and symmetrical grid fault. Moreover, it has good performances in terms of low THD in the stator currents and good robustness compared with the conventional MPC during different operation conditions.

Conflicts of Interest:
The authors declare no conflict of interest. Filter resistance and inductance v dc , v qc dq component of grid-side converter voltages and is determined by the switching function S ω g Grid voltage angular frequency.