Fuzzy rules base formulation of FLCP&O.

## Abstract

This chapter deals with a comprehensive overview study of the direct‐driven (DD) permanent magnet synchronous generator (PMSG) for wind‐energy generation system for stand‐alone applications. The dynamic model of PMSG is presented, and different maximum power point tracking (MPPT) algorithms have been realized in the aim to compare their performance. A comparison of performances of the conventional P&O MPPT and the fuzzy logic P&O (FLC P&O) MPPT is presented. Control technique for the presented system is presented and analyzed for the generator side converter. The simulation results carried out using Matlab/Simulink software show the effectiveness of the wind turbine control system.

### Keywords

- wind‐energy conversion system
- PMSG
- MPPT
- energy storage
- direct‐drive
- direct torque control.

## 1. Introduction

Wind power is an important renewable energy resource, which has known a great growth in the last two decades [1‐4]. This had led to reduced cost comparative to the conventional fossil energy resources. Nowadays, diesel generators are still the main source of energy in remote areas [5‐9]. In stand‐alone applications, small wind turbines provide a very attractive source of renewable energy. Wind turbines contribute to decrease stress on the grid, reduce pollution [10], and save on fuel costs by reducing or eliminating the need for diesel generators. These diesel generators consume a lot of polluting fuel, and their high operation and maintenance costs can result in substantial additional costs if installed in a remote location, where the fuel transport and refueling is a complex mission [6, 8, 11, 12]. In addition, wind turbine in autonomous applications can be installed anywhere the wind resource is abundant and there is no access to the grid, while the grid connection is very expensive [13‐17] or is not authorized or is difficult due to the different official approvals [18]. Nevertheless, in case of hybrid wind‐diesel systems, a more complex control is required to accomplish an effective power management [18, 19].

Several structures of wind turbine systems are proposed in the literature, and their classification can be based on point of view of the type of generators, or a rotational speed, and the type of power control techniques which is used. Comparatively to the fixed speed type, the variable speed operation type permits to reach a high energy gain (20–30% more energy than the fixed speed operation [20]), reduce stresses, and increase efficiency and power quality [21‐24]. In the variable speed wind turbine, to achieve a power flow control, a high efficiency through a maximum power point tracking (MPPT) techniques or a high quality of a delivered power, a (partial or full scale) power converters are needed [18]. In the fixed speed wind turbine, the squirrel‐cage induction machine is commonly used, and no electronic interface is required [25, 26]. Asynchronous and synchronous machines are the most common generators used in variable speed wind turbine systems, where it is possible to operate in wide range of rotation speed with respect to the used generators and power converters types [18].

In the other hand, when considering the drive system, and when the generator is coupled to the turbine's shafts via a gearbox, the turbine is classified into the geared systems. The turbine is classified into direct‐drive (DD) or gearless systems when the generator is directly coupled to the turbine's shaft [18, 22, 27]. The cost, weight, and maintenance of mechanical transmission needs give a serious limitation on the pursuit of increased power [22, 28]. Indeed, the DD type has many advantages such as a lower maintenance cost, noise reduction, and smaller size [22]. As a consequence, the correct selection of type of generator with regard to the wind conditions is essential to capture the maximum wind energy [18]. Typically, the geared generators cover a speed range of much lower about 20 to 60 rpm and much higher poles, (*e.g.,* about 50 to 300 poles) [28]. In order to avoid the excitation requirement of the generators in remote locations, it has been established that the permanent magnet (PM) machines are more suitable [18, 29‐31]. The key technologies of small‐scale wind turbine are listed in [32], where the PM machine is addressed as the competitive solution for stand‐alone applications [33, 34].

This work focuses on overview study of a DD PMSG used in remote areas power systems, since it is the most usually used generator in small‐scale wind turbines [18, 32]. PMSG has many advantages such as its high efficiency, improved thermal characteristics due to the absence of magnetic losses, a solid structure of its field, a high power per weight ratio, and an improved dynamic stability [35‐39]. The PM generators can easily provide power without undergoing the process of voltage accumulation, and there is no risk of loss of excitation. In addition, the application of PM machines as wind turbine generators has grown rapidly due to the development of power electronics and permanent magnet materials [22, 40]. An overall configuration of the wind‐energy conversion system (WECS) based on DD PMSG is shown in Figure 1. It contains the mechanical part (aerodynamics, gearless drive train) and the electrical part (PM generator, full‐scale converters). In this work, each element of the WECS is presented and detailed. The power converters topologies for the direct‐driven PM generator system are widely discussed in the literature [18, 22, 41, 42] and highlighted in this chapter.

A field orientation control (FOC) algorithm, which is the advanced scheme, is the most used technique in AC machine control applications such as a PMSG wind‐generation system [43, 44]. However, FOC technique has many drawbacks, such as high parameter dependence, and requires much computational resources. Furthermore, using mechanical speed sensors or observers is required to achieve FOC applications. Indeed, the rotor position is needed to give both current and voltage coordinates transformation [45]. On the other hand, a direct torque control (DTC), which is introduced in the mid‐1980s [46, 47], is the new concept in WECSs and has many improvements in comparison with the FOC, such as the elimination of the current control loops, reduce the physical parameters sensitivity, intrinsic sensorless operation, and it is easy to implement in variable speed strategies [48]. Then, the DTC is more appropriate in WECS applications than the conventional FOC technique [49, 50]. The standard DTC technique based on switching table is already employed in commercial wind power generation systems using PMSG products. Some works have used a different DTC techniques such as space vector modulation (DTC‐SVM) and a standard DTC in wind‐energy systems, and the conclusion is that a DTC is very well appropriated [49, 51‐53]. The different variable frequency control techniques of PMSG can be classified as shown in Figure 2. However, DTC presents some drawbacks such as the difficulty to control both torque and flux at very low speed, variable switching frequency operation and high torque and current ripple, and high noise level at very low speed [48].

This chapter is organized as follows. A dynamic model of WECS based on axial flux (AF) PMSG and its control are presented in Section 2. In Section 3, a simulation results are presented and analyzed. Finally, a conclusion based on the analysis of performance of different MPPT algorithms is given in Section 4.

## 2. PMSG Modeling Control system

### 2.1. Modeling of Wind Turbine

Generally, wind turbines are characterized by two parameters: tip speed ratio (λ) and power coefficient (Cp). The tip speed ratio is defined as follows:

where R is the radius of the wind turbine aerodynamic rotor in meters Ω is rotational speed of rotor in rad/s, and *v* presents wind linear velocity in m/s.

The mechanical power harvested by the wind turbine, which is given by the usual cube law, can be calculated as follows:

where *ρ* is the air density at the turbine in kg/m^{3}, and Cp designates the fraction of power available in the wind that is converted into mechanical power. Cp has a theoretical maximum value of 0.593, the Betz limit [56, 57], and basically, it depends on the tip speed ratio λ, and the blade pitch angle, β, can be expressed as follows [58]:

with

Figure 3. illustrates the characteristic curves of the power coefficient obtained from (3). In the aim to extract the maximum available wind power by the wind turbine at a certain speed, the operating point of the turbine must be kept in the λ_{opt} area. Consequently, a maximum power point tracking (MPPT) algorithm, which is detailed below, is needed to control the rotational rotor velocity of the turbine and maintains it at the maximum power.

### 2.2. Modeling of PMSG

In the aim to define the PMSG control system, its dynamic model is required. The model of the generator is derived by the projection of its equations on a reference coordinate system rotating synchronously with the magnet flux. In order to reach a synchronization between the *dq* rotating reference frame and the *abc* three‐phase frame, a phase‐locked loop (PLL) is used [59].Then, a dynamic model of the surface mounted PMSG is expressed as follows:

where Ls and Rs are, respectively, the generator inductance and resistance, *w* is the electrical generator speed, and Ψ_{ds} *and* Ψ_{qs} are d‐axis and q‐axis magnet flux, respectively, which are expressed as follows:

where Ф is the magnet flux. Then, the electrical model of PMSG in the synchronous reference frame can be expressed as follows:

The electromagnetic torque of the nonsalient poles of PMSG is written as follows:

where p is the number of pole pairs of the generator. Eq. (8) shows that the generator torque can be controlled directly via the q‐axis current of the stator.

The mechanical dynamics model of the considered wind turbine system can be defined by the following expression:

where T_{T} represents the mechanical torque, J_{T} is the moment of inertia, f is the coefficient of friction, and

### 2.3. Different structures of DD PMSG‐based wind turbine system

For remote area applications, different topologies of PMSG‐based WECS and their control techniques are presented in order to demonstrate their efficient performance [18]. In [60], a diode bridge rectifier and boost DC‐DC converter is controlled in order to extract the maximum power by controlling the duty cycle of the IGBT switch. In addition, a controlled voltage source inverter (VSI) is used to control both voltage amplitude and frequency on the load side. The results have shown that the proposed control strategy gives a good performance in both transient and steady‐state cases. However, these performances can be enhanced by taking into account the use of energy storage systems. An experimental study of a voltage control strategy focused only to compensate harmonic due the using a nonlinear load in autonomous application are presented and analyzed in [61]. In [62], the same structure studied in [60] is analyzed under unbalanced load, with the addition of battery as energy storage device and its DC‐DC reversible converter, with an addition of hydrogen storage in [63]. A dump load is used to balance power between wind generator, battery, and primary load through a controllable switch such as IGBT. Hysteresis band current control (HBCC), voltage‐oriented control (VOC), and flux‐oriented control (FOC) are used to control machine side converter, in order to regulate DC‐link voltage in [64]. It has demonstrated that VOC and FOC control strategies give a small THD in comparison with the HBCC. Therefore, the estimation of the field improves the performance of VOC, making FOC better compared to VOC. However, in this work, the optimization of wind power generation, such as MPPT strategy, has not been taken into account. After presentation and discussion of some works dealing with autonomous PMSG‐based WECSs, we present in the next section their typical topologies.

Figure 4(a). illustrates the PMSG wind turbine system used three‐phase bridge diode rectifier as generator side converter (GSC) and a voltage source converter as GSC in (b).

In remote area applications, due to the intermittent and randomness nature of wind, energy storage system (ESS) is required. Therefore, a bank of batteries is used as an ESS in order to ensure continuity of the power system. Indeed, in the case where production is higher than demand, the batteries are charged through the bidirectional DC‐DC converter. In the other hand, when production is less than demand, the batteries provide the difference between consumption and production. Dump load is used in case of surplus power, and the batteries are fully charged. Note that for this application, hydrogen storage system (HSS) can be a good alternative to meet production and demand power. Indeed, the electrolyzer is used to store the excess power as hydrogen, which will be used to regenerate electricity via fuel cell when production is less than demand.

There are also other configurations of PMSG‐based WECS for remote applications, with the integration of other sources, and using of power electronics. Figure 5 shows the structure of the hybrid power system (HPS) with the main DC bus structure. An ESS is connected to the DC bus, which can contribute to regulate the DC voltage. A PV array and diesel genset are used to reduce the overall cost of the system and the optimization of renewable energy sources penetration rate. Figure 6 represents the simplified block diagram of the HPS with a main AC bus structure.

### 2.4. Control of PMSG

A global scheme of DD PMSG control scheme is illustrated in Figure 7, where two controlled PWM VSI, GSC and LSC, are used. These back‐to‐back converters are controlled in the aim to improve the captured wind power and increase the system performance by adjusting the power factor [44, 65]. The GSC is controlled to maximize the extraction of wind power. Indeed, vector control law associates space vector modulation (SVM) and maximum power point tracking (MPPT) algorithm is used to maximize the provided power under varying wind speed condition.

#### 2.4.1. Generator Side Converter (GSC) Control

The detailed scheme of GSC control is illustrated in Figure 8, where the FOC by mean of vector control is applied. The FOC strategy consists of two outer and inner control loops. An outer loop is applied to regulate the optimal rotor speed, which is given by the MPPT algorithm. The inner loops consist of rotor current control in the aim to improve the performance of the system.

The optimal speed of the generator is determined by MPPT algorithm according to the wind speed variation in order to track the optimum point of power. The controller of speed generates the reference of quadratic axis rotor current, where the direct axis rotor current reference is kept at zero. There are commonly four MPPT algorithms for WECS listed in the literature, which can be used for the control of PMSG WECS. Indeed, the MPPT controller dependent on power electronics converter configuration is used.

a) *Tip Speed Ratio (TSR) technique*

In order to guarantee the maximization of the extraction of the energy, the TSR is kept constant at its optimal value regardless of wind speed. This method requires the direct and constant measure of wind speed, which is impossible in reality and increases the cost of the overall system [66‐70]. Then, some research have make interest on wind speed estimation to improve the reliability of the control system. Neural network technique has been used in [71], to estimate the wind speed. Other methods based on using signals, which are easy to measure to estimate wind speed [72] or with fuzzy logic technique [73‐75], are used to estimate wind speed. The diagram block of TSR control is illustrated in Figure 9.

b) *Hill Climbing Searching (or Perturb & Observe) technique*

The P&O algorithm, which is the sensorless mathematical optimization approach to seek the optimum local point for a given function, is widely used in the literature in order to extract the maximum energy [2, 76‐81]. Nevertheless, this technique has many drawbacks such as mechanical stress due to the constant perturbations [82] and permanent fluctuation around the optimal point [66, 83], especially with medium and large inertia wind turbine. In [84, 85], additional control strategies have been added to a basic P&O algorithm in order to resolve the problems listed above. However, some disadvantages such as the response to fast variations of the wind speed are still persisting. In the other hand, it is not easy to choose step size: A large step size means a fast response but generates more oscillations around the optimum point, and then, efficiency is reduced, where the small step size increases stability and efficiency but makes lower convergence of the control [78, 86]. Accordingly, the performance of these algorithms is particularly low in case of strong changes in wind speed, which is the case of most wind turbines. Then, the development of new algorithms including these issues is required. The P&O control principle is depicted in Figure 10. In [78], it has been reported the absence of difference of the wind power resulting from the variation of the wind speed and those resulting from the change in the previous perturbation.

Some studies [76‐78] have proposed a modified step‐size algorithms in order to improve efficiency and the precision of the conventional P&O algorithms.

c) *Power Signal Feedback (PSF) Control technique*

The PSF control technique requires the knowledge of the optimum power curve of wind turbine (see Figure 11) as function of the rotor speed, which is obtained from experimental tests. Then, the recorded data for maximum output power and the corresponding rotor speed must be implemented in a lookup table [86‐88]. The measured rotor speed is used to provide the optimal power to extract as shown in Figure 12. In [88], the optimum power depends on the rotor speed and the output DC voltage is used to calculate the optimum power [79].

d) *Optimal Torque Control (OTC)*

The principle of the OTC strategy consists of the adjusting of the generator’s speed according to a maximum power reference torque for a given wind speed (see Figure 13) [89]. Indeed, to ensure the maximum capture of the available wind power, the TSR must be kept at its optimal value (λ_{opt}). The characteristic torque as function of rotor speed is shown in Figure 14.

By replacing the wind speed expression from eq. (1) in eq. (2), we can get the following expression:

If TSR is maintained at its optimal value (λ_{opt}), the previous relation is expressed as follows:

If we consider that the wind power is equal of the product of torque and speed, the optimal torque can be written as follows:

where

The OTC method is simple to analyze, easy to implement, and efficient since the measured wind speed is not required achieving the maximum power generation. Nevertheless, in case of strong and fast change of wind speed, the response is low. Indeed, no direct measurement of wind speed allows not reflect the rapid change in the value of the reference torque.

#### 2.4.2. Load Side Converter Control

The main objective of load side converter (LSC) control is to maintain the DC‐link voltage, Vdc, constant regardless the amount and direction of the active power, and the power factor by adjusting the amount of the reactive power. Then, the requirements of unit power factor can also be reached. In order to achieve the control, voltage and current on load side and the DC‐link voltage are measured. Since the load voltage‐phase angle is needed to accomplish the vector oriented control (VOC) of LSC, phase‐locked loop (PLL) is used to track the load voltage vector [90].

In this study, a DC‐link voltage and a unit power factor control are applied. Since we focus our work essentially on the analysis of MPPT's performances, the scheme used in this work was given in several papers [91–95].

Figure 15 illustrates the overall control scheme of the LSC. The control of the DC‐link voltage and the power quality is also reached by current regulation on a synchronously rotating reference frame.

The output voltage signals, which are generated from the current controllers, are used by the space vector pulse width modulation SVPWM module to produce the IGBT gate control signals to drive the LSC. Moreover, to increase the transient performance of the inner current loops, the *d‐q* decoupled current control through vector control is applied.

The proportional‐integral (PI) controllers are used in both outer and inner control loops, and their gains are determined by trial and error method.

## 3. Simulation results and discussions

In order to achieve a comparative analysis of different MPPT algorithms, we consider an isolated application of direct‐drive wind turbine driving a PMSG as shown in Fig. 7 and 8. The WTG represents a 14 kW variable‐speed wind turbine equipped with a 12.5 kW PMSG. An isolated and balanced three‐phase resistive load is connected to the LSC and draws a variable active power from the wind power system. The parameters of the WTG are given in Appendix.

To validate the effectiveness and the dynamic of the PMSG control via GSC, some simulations are carried out using Matlab/Simulink software program. Figure 16 illustrates the wind speed profile that incident on the wind turbine, while Figure 17 shows the performance of the generator speed control. As we can see, the measured rotor speed tracks with a good accuracy the reference optimal value, since the tracking error is kept less than ± 1.5% all the time. Wind power and electrical power provided by the PMSG are depicted in Figure 18. The instantaneous generator currents are indicated in Figure 19. The variation of the power coefficient (*Cp*) with the wind speed is kept at its optimum value as shown in Figure 20.

Subsequently, a comparative analysis of the performance of a new MPPT P&O strategy based on fuzzy logic techniques, which is known to be an excellent tool for modeling and management of nonlinear systems and the conventional P&O MPPT, is presented. The control strategy of the fuzzy logic is based on an expert human operator to interpret a situation and initiate its appropriate command action. Generally, a controller based on fuzzy logic has two inputs and provides a control action. For FLC P&O, inputs are quantized into 5 levels represented by a set of linguistic variables: negative big (NB), negative (NS), zero (Z), positive (PS), and positive big (PB). The fuzzy rules base formulation of FLCP&O is shown in Table 1. These rules are chosen to perform the optimization of wind generation capture as follows: (i) When the input signals are far from the optimal point, the output of the FLCP&O provides a big step size; (ii) when the inputs are close to the optimum point, the output is set to a small value of step size; and (iii) once the inputs are close to the optimum point, then the step size is set to zero. In this article, we use the min and max operators as t‐norm and t‐conorm, respectively. Triangular membership functions are used, principally due to their efficiency and high‐performance computing. The membership adopted for both inputs and output variables is illustrated in Figures 21 and 22, respectively.

Step size | ΔPower | |||||||||
---|---|---|---|---|---|---|---|---|---|---|

NB | N | Z | P | PB | ||||||

ΔSpeed | NB | NB | N | Z | P | PB | ||||

N | NB | N | Z | P | PB | |||||

Z | NB | N | Z | P | PB | |||||

P | NB | N | Z | P | PB | |||||

PB | NB | N | Z | P |

The main drawback of this conventional P&O MPPT is the calculation of step size. Indeed, a major step modification allows a faster convergence of the system, but increases the oscillation around the optimal point. On the other hand, a small step size reduces the oscillations, but it makes the system slower to reach the optimal point, especially in case of rapid changes of wind speed. Fuzzy logic provides an adaptive step size, and its value depends on the distance between the current point and the optimal point. Indeed, if the actual point is very near to the optimum point, the variation is not very larger, thereby increasing the speed of convergence, and while the actual point is nearby the optimum point, step size decreases avoiding oscillation around the optimal point. Figure 23 shows the profile wind speed. Figure 24 depicts the performance of new FLCP&O and the conventional P&O MPPT listed in [70]. As we can see, the new FLCP&O strategy (black dashed curve) is almost confused with the optimal value (red curve). The variation of the step size for both P&O MPPT is illustrated in Figure 25.

After showing the effectiveness and the dynamics of the proposed control strategy system, the assessment of the performance of the different MPPT algorithms is achieved. The comparison of the values of the power coefficient for different MPPT algorithms is depicted in Figure 26. As we can see, the FLCP&O provides the best performances versus OTC MPPT and PFS MPPT methods.

## 4. Conclusion

In this work, a comparative study of different MPPT algorithms is presented. Firstly, the effectiveness and dynamics of the strategy control to extract maximum power, which is implemented using Matlab/Simulink/SimPower dynamic simulation system, are performed. The simulation results demonstrate that the proposed control strategy provides best performances in both transient and steady states. Thereafter, a new P&O MPPT algorithm based on fuzzy logic techniques, which provides a variable step size, was presented. The performances of this novel algorithm were compared to those of the algorithm presented in conventional literature. This new approach allows obtaining a power coefficient, where its value is very close to the maximum value.

After that, a comparative study between a MPPT algorithms applied to the DD‐PMSG has been accomplished. The comparison of their performances is presented and analyzed. It is seen that the new sensorless FLCP&O gives a best performance with comparison to the OTC and PFS MPPT methods. Moreover, this approach is independent to the aerodynamic characteristics of the turbine unlike the OTC and PFS MPPT methods.

**Nomenclature**

Acronyms | Signification | Acronyms | Signification |
---|---|---|---|

AF | Axial flux | PMSG | Permanent Magnet Synchronous Generator |

DD | Direct‐Drive | PLL | Phase‐Locked Loop |

DTC | Direct Torque Control | P&O | Perturb and Observe |

ESS | Energy Storage System | PSF | Power Signal Feedback |

FLC | Fuzzy Logic Controller | PWM | Pulse Width Modulation |

FOC | Field Orientation Control | SVM | Space Vector Modulation |

GSC | Grid Side Converter | TFPM | Transverse Flux Permanent Magnet |

HBCC | Hysteresis Band Current Control | THD | Total Harmonic Distortion |

HPS | Hybrid Power System | VSI | Voltage Source Inverter |

IGBT | Insulate Gate Bipolar Transistor | VOC | Voltage‐Oriented Control |

LSC | Load Side Converter | WECS | Wind‐energy Conversion System |

MPPT | Maximum Power Point Tracking | WTG | Wind Turbine Generator |

OTC | Optimal Torque Control | ||

Greek letters | Signification | ||

λ | Tip Speed Ratio (TSR) | ||

ρ | Air Density [kg/m^{3}] | ||

β | Blade Pitch Angle | ||

Φ | The Magnet Flux [Wb] |

Wind turbine parameters | |

Rated power [kW] | 14 |

Cut‐in wind speed [m/s] | 5 |

Cut‐off wind speed [m/s] | 25 |

Rated wind speed [m/s] | 12 |

Rotor radius (R) [m] | 2.5 |

λ_{opt} | 8.1 |

PMSG parameters | |

Rated power [kW] | 12.5 |

Number of pairs poles | 8 |

Rs [Ω] | 0.5 |

Ls [mH] | 0.5 |

Moment of inertia (J) [kg/m^{2}] | 10 |

Rated rotor speed [rad/sec] | 314 |