1 Introduction

Because of the environmental problems, the oil crisis and the growing demand for alternative sources of energy, wind power is the greatest mature of the different renewable energy technologies which received a lot of concern and attention in perceptible many parts of the world [1]. Nowadays, specifically related to offshore WTs, a new aspect in the construction and a mode of operation demonstrate in wind conversion technology. Currently most WTs operate at variable speed without gearbox and based on permanent magnet synchronous generator (PMSG), this type can work with: a good performance, high reliability, a great ability to track and the extract the maximum power in each wind speed, require a simple maintenance and less expensive than gearbox technology [2,3,4].

Fig. 1
figure 1

Operation regions for variable speed wind turbine (VSWT)

Practically and for safety reasons turbines and uniform stability between supply and demand of energy, WTs operate in a well-defined range of wind speeds bounded by \((V_{min} ) ( {\hbox {cut}{\text {-}}\hbox {in}} ) \) and \((V_{out} ) \ ( {\hbox {cut}{\text {-}}\hbox {out}} )\) as is shown in Fig. 1, where the possibility of four different operating zones [5].

Within these limits and to protect the PMSG, the WT system is sized to provide a power rating \(P_{Nomile} \) at a wind speed of \(V_{Nom} \). Consequently, four main operating areas can be distinguished: The region (I) is the starting region of the generator, it begins when the wind speed exceeds \(({V cut{\text {-}}in})\). The region (II): when the wind speed exceeds \(({V cut{\text {-}}in})\), a control algorithm for extracting the maximum power from the wind has been applied, where the blade pitch angle was held constant at its value minimum \(\beta =0\). The region (III) is defined when the wind speed exceeds \(\hbox {V}_{Nom} \) but in wind speed \(( {V cut{\text {-}}out} )\), the turbine works at a fixed speed to produce a constant power equal to the nominal power of PMSG. In the last region (region IV), the blades of the turbine are carried flags (\(\upbeta = 90\)) to protect the wind [5, 6].

Despite this characteristic, wind force, it is highly fluctuating (also called volatile) for this reason the utmost challenging of the wind energy is the intermittent and unpredictable nature, Which makes the WTs integration in grid very difficult, causing a deterioration in the quality of electrical power [7]. Therefore, the WT manufacturers are supporting these turbines with different energy storage systems, in order to keep the power grid operating safely and reliably, balancing the offer and demand grid side [8, 9]. However, practically and concerning the WTs at variable speed, these advantages remain limited and inadequate. Therefore, effective architecture of control systems are one of the major issues in hybrid VSWT (to extract maximum wind power within the limits to protect the WT system in the region III and to achieve load demand variation and load management), to prevent possible deterioration on the quality of electrical power injected in the grid, where variations of the loads and generations are significant in the system.

It considers all these obstacles and various constraints one of the most motivations for the researchers in this field to optimize and develop on effective and robust control manner for WTs. For instance, in the last years the MPPT techniques for wind energy systems has been optimized in many literatures [5], to track the MPPs in region(II) under fluctuating wind speed (a wind gust). Some of these techniques include: hill-climb searching (HCS)[5], sliding mode control (SMC)[10], perturb and observe (P&O) [5], FLC techniques [11] and tip speed ratio (TSR) [5]. Several methods of power limitation control and pitch power control have been advanced in some studies [12,13,14]. In the same context a novel methods to control the mechanical speed of the PMSG/WT have been designed in many papers in order to obtain the optimum system efficiency (MPP). Some of these techniques are first order sliding mode control (FOSMC) [15], SOSMC [16], FLC [17] and robust control [18]. As previously mentioned, numerous manufacturers of VAWTs [9] advanced the performance benefits of adding energy storage systems in WT, to reduce the variable and relatively unpredictable and random nature of wind energy, ensuring more performance and easily management between generations and demand powers whatever the wind speed, in order to ensure the safety and quality of electricity supply in the grid. More recently and on the subject of the electrical energy quality exchanged between the PMSG and the grid, modern control strategies based on the robustness, efficiency and reliability have been designed and implemented for large wind farm technologies to smooth power flow regulation (grid active and reactive powers) such as: FLC [19,20,21], robust control [22]and SMC [23,24,25].

Based on our previous research experience on WT hybrid power system with battery storage and their supervisory control system [26], this paper provides a key contribution is to define a detailed model based on offshore WT with a storage system (battery) and to propose their novel supervisory control system to maximize and improve the extracted, delivered (grid) powers quality and protecting all the system. This novelty (proposition) is based on the combination and application of the reliable, efficient and robust design techniques used in the wind system technology to make it work as a complementary in various conditions, in order to create a best hybrid WTs (it gives us competition in the commercial market).

Furthermore, contrary to the works found in the literature (recent), this work presents a new approach to control and management for extended control of hybrid VSWT that includes simultaneously the two operating regions (II and III). This adaptation (commutation of control system in both regions) may provide better performance in all possible operational scenarios of the wind (ensure the continuity of power production in a wide range of wind speeds conditions): exploiting and extracting the maximum power from the wind, storage of excess power, compensation of power between supply and demand, limiting the upper power at nominal generator or demand. To reach this goal, three power converters are controlled in a complementary manner; the first is the rectifier (AC/DC) generator side, the second is the (DC–DC) converter which links (DC link voltage and storage battery) and the last is the inverter (DC/AC).

This paper is organized as follows. In the Sect. 2, are view of the previous related work is described. Section 3, presents (WT, PMSG and energy storage system (ESS) mechanical and electrical modelling. In Sect. 4, the proposed control system designed in this study is detailed precisely. While in Sect. 5, numerical results (simulation) are illustrated. Finally, the conclusions and future work are provided in the final section.

2 Related work

The electric power generated by VSWTs is considered one of the most important topics that has long fascinated many scientists aims to improve the monitoring system performance (VSWT) and to ensure a better quality of extract and power delivered to the grid (where we find several advanced control techniques that include various modes). Such as artificial neural networks (ANN) [27,28,29], FLC [30,31,32], FOSMC [15, 33, 34] and SOSMC [35,36,37]. The main objective for this interest is that these methods (algorithms) and structures have mainly focused on how to optimize, maximize and extending the use of wind energy. However, the modern study stayed inadequate because of multiple ignored or neglected issues such as: power flow control, MPPT control, speed control, power limit control and energy storage system. One of these problems contributes to driving performance deterioration of WT system. In Ref. [38], the authors use a PSIM software integration with Matlab/Simulink, also the FLC based MPPT algorithm was performed, in this work the results are limited, the general construction of the WT system is very simple without a storage system, power limitation system (security system) and without effective grid side control (grid power). Moreover, in the Ref. [39], a technique has been proposed based on the strategy FOSMC to achieve grid power flow control. The results show the presence of the chattering phenomenon in the both active and reactive power that means a poor power quality produced by the WT system injected in the grid. Furthermore, in Ref. [3], the author presents a new MPPT algorithm applied to a small WT based on PMSG. On the other hand the operating range of this system is limited in the region (II), because it not contains any limit power control or pitch control in high wind speed. On [9, 40,41,42] the authors modeled and controlled based on a VSWT asynchronous doubly fed generator (DFIG), this system is supported by an energy storage system. Simulation results in different operating modes are convincing but they remain insufficient. In these studies, we observed a complete lack advanced control techniques (effective and robust) in the vital points of the VSWT as MPPT and control of energy flow, which has a lower yield with a poor quality the power injected to the grid. In addition, these WTs are low only in a stable state of operation (no fault in the grid and no wind speed burst). Also in these studies, the authors adopted only on the operating area 2 (this is what makes activity limited by WT). The simulation results in [11] are good and motivating, where the author controlled the wind system by applying advanced control techniques such FLC and SOSMC while applying a method of power limitation. The contributions in this study are limited because of: (1) the choice of the machine used in this system is inappropriate. (2) The author has ignored the use of a storage system to take advantage of excess wind energy (this increases the efficiency of wind with expanding the operating range of the latter (several lines power). Finally the author did not provide any assessment, comparison and analysis harmonic to prove their technical control applied (SOSMC). In the Refs. [43,44,45,46], the authors have designed new MPPT algorithms to extract and improve the maximum power of wind (region II). Due to a most contributions, these fields (MPPT) have brought a many achievements and success especially in recent years. These accomplishments are limited and inadequate to protect the WTs in different regions. In addition, these algorithms (MPPT) are not able to supply the demand all the time (if the power demand exceeds the power of the wind), and the storage system is essential to compensate for lack of power supplied to consumer. In Ref. [26] the authors generally succeed in the choice of the supervisory control system which applied in hybrid VSWT. But they are neglect the protection of the wind system (electric and mechanic) under high wind speed in addition they are limiting the operating range of WT.

Fig. 2
figure 2

Wind generation system configuration

Among the studies and the results reported in the literature, they remain incomplete for many reasons:

  • The multiplicity of obstacles and problems facing it.

  • Partial and separate optimization in some points of the WTs.

  • Diversity in construction of wind turbines.

  • The difficulty and complexity of integrating wind turbines in grid.

Among the proposed solutions, the new surveillance monitoring system we have proposed is considered a universal solution (in VSWT systems).

Nomenclature

\(\hbox {V}_{\mathrm{sd}} ,\hbox {V}_{\mathrm{sq}} \)

dq-axis stator “PMSG” currents

\(\hbox {I}_{\mathrm{sd}} ,\hbox {I}_{\mathrm{sq}} \)

dq-axis stator “PMSG” voltage

\(\hbox {R}_\mathrm{s} ,\hbox {L}_\mathrm{d} ,\hbox {L}_\mathrm{q} \)

Stator resistance, dq-axis PMSG inductance components respectively

\({{{\uppsi }}}_\mathrm{m} \)

The magneticflux

\(\hbox {T}_\mathrm{e} \)

The machine torque

\({{{\upomega }}}_\mathrm{e} \)

The electric pulsation of PMSG

\(\hbox {D}_\mathrm{T} \)

The damping coefficient

\(\hbox {J}_\mathrm{T} \)

The mass moment of inertia

\(\hbox {n}_\mathrm{p} \)

The number of pole pairs

\({I}_{{avg}} (\text{ A })\)

The mean discharge current

\({Q}_{{e}} \)

The battery’s capacity

\(\hbox {WECS}\)

The wind energy conversion system

\(\hbox {E}_{\mathrm{bat disch}} ,\hbox {E}_{\mathrm{bat charg}} \)

Respectively are battery discharge and charge voltage

\(\hbox {R}_\mathrm{i} \)

The battery resistance

\(\hbox {Q}\)

The battery capacity

\(\hbox {i}_\mathrm{t} ,\hbox {i}^{*}\)

Respectively are battery charge and filtered current

\(\hbox {V}_{\mathrm{di}} , \hbox {V}_{\mathrm{qi}} \)

The inverter voltages components

\(\hbox {R}_\mathrm{g} ,\hbox {L}_{\mathrm{dg}} ,\hbox {L}_{\mathrm{qg}} \)

Respectively are resistance and dq-axis grid inductance

\(\hbox {V}_{\mathrm{bat}} ,\hbox {E}_\mathrm{0} \)

Respectively are battery rated voltage and the internal EMF

\(\hbox {V}_{\mathrm{dg}} ,\hbox {V}_{\mathrm{qg}} ,\hbox {I}_{\mathrm{dg}} ,\hbox {I}_{\mathrm{qg}} \)

Respectively are dq-axis grid voltage and currents

\({C}( {{A \cdot s}})\)

The battery’s charge

DOC

The battery depth of charge

3 Wind turbine modeling

The WT topology used in this study is constituted: a VSWT “horizontal axis turbine with a three-bladed rotor design” directly coupled to PMSG shaft (without a gearbox) as shown in Fig. 2. This system is supported by the energy storage system (a lead acid battery) associated with DC-link bus voltage with a DC–DC converter.

3.1 Turbine model

The aerodynamic power \(P_t\) available on the shaft of the turbine is expressed by Azar and Zhu [10]:

$$\begin{aligned} P_t =\frac{1}{2}\rho \pi R_t^2 v^{3}C_p \left( {\lambda ,\beta } \right) \end{aligned}$$
(1)

where v is the wind speed, \(\rho \) is the air density.

The \(C_p\) (power coefficient) represents the aerodynamic efficiency of the WT is dependent on tip speed ratio (TSR) “\(\lambda \)” and the orientation angle of the blade \(\beta \), it defined as [47]:

$$\begin{aligned} C_p =0.073\left( {\frac{151}{\lambda _i }-0.058\beta -0.002\beta ^{2.14}-13.2} \right) e^{\frac{-18.4}{\lambda _i }} \end{aligned}$$
(2)

where \(\lambda _i =\frac{1}{\frac{1}{\lambda -0.02,\beta }-\frac{0.003}{\beta ^{2}+1}}\).

The speed ratio is expressed as the ratio between the linear speed of the blades and the wind speed:

$$\begin{aligned} \lambda =\frac{R_t \varOmega _t }{v} \end{aligned}$$
(3)

or \(\varOmega _t \)is the speed of the PMSG/turbine, \(R_t \) represents the radius of rotor.

3.2 PMSG model

The stator voltages equations of the PMSG are described inthe Park dq axis (synchronous reference frame) as following [47]:

$$\begin{aligned} \left\{ {{\begin{array}{l} {V_{sd} = R_s I_{sd} +L_d \frac{dI_{sd} }{dt}-\omega _e L_q I_{sq} } \\ {V_{sq} = R_s I_{sq} +L_q \frac{dI_{sq} }{dt}+\omega _e \left( {L_d I_{sd} +\psi _m } \right) } \\ \end{array} }} \right. \end{aligned}$$
(4)

The expression of the electromagnetic torque is obtained as [48]:

$$\begin{aligned} T_e =\frac{3}{2}n_p \left( \psi _m I_{sq} +(L_d -L_q)I_{sd} I_{sq}\right) \end{aligned}$$
(5)

3.3 The energy storage system ESS model

Currently, lead acid batteries are most commonly used for WT applications. The mathematical model given by Eq. (1) describes the simplest physical system in [49] that simulates the behavior of the battery and its voltage:

$$\begin{aligned} V_{bat} =E_{bat} -R_i i \end{aligned}$$
(6)

For the period of the discharging or charging of the battery, the expression of the battery load voltage is established in rated value as [40]:

$$\begin{aligned} \left\{ {{\begin{array}{l} {E_{batdisch} =E_0 -K\frac{Q}{Q-i_t }i^{*}-K\frac{Q}{Q-i_t }i_t +f_{hyst{\text {-}}disch} (i)} \\ {E_{batcharg} =E_0 -K\frac{Q}{0.1Q+\left| {i_t } \right| }i^{*}-K\frac{Q}{Q-i_t }i_t +f_{hyst{\text {-}}char} (i )} \\ \end{array} }} \right. \end{aligned}$$
(7)

The instantaneous value of the state of charge (SOC) is determined by Sarrias et al. [40]:

$$\begin{aligned} \textit{SOC}=1-\frac{Q_e }{C({0,\theta })}, \quad \textit{DOC}=1-\frac{Q_e }{C\left( {I_{avg} ,\theta } \right) } \end{aligned}$$
(8)

3.4 The battery converter model

The DC–DC bidirectional converter is widely used in the storage battery connections with renewable energy systems (wind energy). Regardless of the variation of the battery voltage during operating conditions, the converter is used to adjust the DC voltage bus at a desired nominal value. It is composed of an inductor and two (IGBT) insulated gate bipolar transistor of diode switches to combine two operating modes [7] as shown in Fig. 3.

  • In the first mode, the converter operates as a unidirectional buck when switches (B 1 switch and diode B 2) are closed during this period (the loading phase) DC bus provides active power to the BESS.

  • In the second mode, the converter operates as a unidirectional lift to ensure the discharge of the battery in the DC bus and via B 2 switch and diode B 2.

Fig. 3
figure 3

Schematic circuit of the battery power converter

4 Proposed control system

In hybrid/ WT technology and in order to overcome the various constraints (fluctuations in electricity supply and demand, sporadic nature of the wind in different operating areas and the unexpected faults in the system and grid), we need to establish and application a comprehensive and effective supervisory control system. This control system is able to provide several goals, product stability, security and optimize the extracted power in multiple regions (II and III). This novel control is based on optimizing of our concept of classical supervisory control [22].

The major objective most of the control systems used in this work are:

  • In region II Optimizing power extracted from the wind by the combination achieved between the (FLC/SOMSC) and implemented to machine side converter (MSC).

  • In region III Maintaining the extracted power close to its nominal value in (\(V>V_{Nom})\), through adaptive control (FLC–SOSMC–MPPT and the detected extracted power as a feedback).

  • In both regions (II and III) Managing energy between «extracted wind power, power grid demand and battery stored power», using the effective supervisory controller “ switching algorithm» through the battery side converter BSC.

  • In both regions (II and III) Improvement of the electric power quality for grid, through the new efficiency and robust strategy control based on (DPC–SVM–SOSMC) and implemented in the grid side converter (GSC).

4.1 Control of the machine side converter (MSC)

VSWT allow extracting a maximum power for each wind speed. However, this degree of freedom requires a system of speed /sophisticated and robust power control to protect both the “PMSG/WT” system and to monitor the point of maximum available power (region II) and to stabilize the captured power at nominal value when the wind speed exceeds has some value by (region III). In this section, we showed the design of the MSC as shown in Fig. 4, that includes two additional operating modes (adaptive).

Fig. 4
figure 4

MSC control strategy

Fig. 5
figure 5

Real tracking of the optimal rotational speed ORC in regions “II and III”

4.1.1 Tracking mode (region II)

In this area and to meet the total demand for power, the turbine operates at variable speed under a nominal wind speed between \(({V cut{\text {-}}in})\) and \(( {V_{Nom} })\). For this goal we have created two control loops with cascade control structure. In the outer loop, a novel algorithm basedMPPT has been suggested (FLC–SOSMC) to permanently obtained amaximum power (aerodynamic energy). The inner loop allows controlling the rotation speed of the PMSG via a (FOC) strategy which has been designed for controlling dq-axis current of the PMSG [50]. As shown in Fig. 5, for an instantaneous variation of the wind speed and for \(\beta =0\), the FLC–SOSMC based (MPPT) algorithm generates the q-axis current component that optimize the rotation speed of the PMSG to extract power from the turbine.

In the absence of any information about the “characteristic, parameter” of the WT and without the wind sensor, the FLC method ensures a smooth, reliable and quick tracking of the MPP. Besides that this algorithm is used for generating an optimal reference at each wind speed as shown in Fig. 6.

Fig. 6
figure 6

Block diagram of FLC–MPPT

The FLC–MPPT method is one of the best performing control technique in this domain (wind energy) because it is popular and universal for the various WT systems [11]. The suggested FLC–MPPT is appears in Fig. 6, it consists: two inputs (power and rotational speed variation \(\Delta P_t, \Delta \varOmega _t\) respectively) and the output variable (one) is the change in \((\varOmega _{tref} )\). The formation of the fuzzy rules of the system is given in Table 1. The Eq. (9), show a linear relationship between the mechanical power “extracted”, wind speed and the optimum speed rotation.

$$\begin{aligned} \left\{ {{\begin{array}{l} {\Delta P_t =P_t ( k )-P_t ( {k-1} )} \\ {\Delta \varOmega _t = \varOmega _t ( k )- \varOmega _t ( {k-1} )} \\ { \varOmega _{tref} = \varOmega _t ( {k-1} )+ \Delta \varOmega _{tref} } \\ \end{array} }} \right. \end{aligned}$$
(9)
Table 1 Fuzzy rule table

In the same part, as shown in Fig. 6, the reference speed generated (imposing) by MPPT controller, this reference speed is used as an input to the speed control loop to create the q-axis PMSG current component. Therefore, to assure this regulation (optimal speed of PMSG), a new SOSMC algorithm has been proposed and designed. In this algorithm, the chattering phenomenon can be removed to give a smooth trajectory tracking compared with conventional FOSMC.

The speed \(\varOmega _t\)sliding surface is taken as follows:

$$\begin{aligned} s_{\varOmega _t } = \varOmega _{t ref} - \varOmega _t \end{aligned}$$
(10)

Then we have:

$$\begin{aligned} \dot{s}_{{\varOmega _{t} }} = \dot{\varOmega }_{{tref}} - {\dot{\varOmega } _{t} } = \dot{\varOmega }_{{tref}} - \frac{1}{J}\left( {T_{t} + T_{e} - F \varOmega _{t} } \right) \end{aligned}$$

If we put \(G_{\varOmega _t }\) as follows:

$$\begin{aligned} G_{\varOmega _t } = \dot{\varOmega }_{{tref}} - \frac{1}{J}\left( {T_{t} - F~\varOmega _{t} } \right) \quad \hbox {Thus}{:}\quad \ddot{s}_{{\varOmega _{t} }} = \dot{G}_{{\varOmega _{t} }} - \frac{{\dot{T}_{e} }}{J} \end{aligned}$$

The SOSMC proposed in this part is comprises two parts based on super twisting algorithm (ST) as mentioned in [51].

$$\begin{aligned}&I_{sqref} =I_{sqeq} +I_{sqN}\quad \hbox {Where}{:}\quad I_{sqN} =\hbox {I}_1 +\hbox {I}_2\nonumber \\&\hbox {With}{:}\quad \left\{ {\begin{array}{l} {\dot{I}_{1} = - N_{1} sign\left( {s_{{\varOmega _{t} }} } \right) } \\ {I_{{2}} = N_{2} \sqrt{\left| {s_{{\varOmega _{t} }} } \right| } sign\left( {s_{{\varOmega _{t} }} } \right) } \\ \end{array} } \right. \end{aligned}$$

The constants \(N_1\) and \(N_2\) are chosen in a manner to assure in finite time the convergence of the sliding manifolds as follows [52]:

$$\begin{aligned} \left\{ {{\begin{array}{l} {N_1 >\frac{\mu _i }{L_g }} \\ {N_2 \ge \frac{\mu _i ({k_i +\mu _i })}{L_g ^{2}( {k_i -\mu _i })}} \\ \end{array} }} \right. \end{aligned}$$
(11)

4.1.2 Power limit (region III)

To provide greater freedom of operating in VSWT accompanied by a permanent protection, the power limiting system is inevitable (above the nominal wind speed of 11.75 m/s, as shown in the control (Fig. 5). This system intervenes except in region III “in the tolerable beach between \(P_l\) and 1.2 \(P_{l} \)” to ensure a limitation of the extracted power (stable operation mode) to protect the WT and PMSG. The control circuit shown in Fig. 7, is added to the previous design “SOSMC–FLC–MPPT” to generate a reduced reference speed during the period of increase of the extracted power (to prevent the continuation of producing quantities of high power). The new reference rate \(\varOmega _{t ref new} \) is achieved by reducing the amount K of early speed [53] as shown in:

$$\begin{aligned} \varOmega _{t ref new} =\varOmega _{t ref} - \Delta \varOmega _t \end{aligned}$$
(12)
Fig. 7
figure 7

Detailed block diagram of the PowerLimit

4.2 Control of the battery (ESS) side converter (BSC)

In order to ensure the stability of the bus voltage to 800 V in all work scenarios, a DC/DC converter is implemented and controlled. This converter is influenced by changes of voltage (caused by the variation of the production and the demand) that causes a reduction or increase of the voltage in the battery ESS and DC-link voltage.

Fig. 8
figure 8

A control diagram for battery side converter (BSC)

In Fig. 8, we showed two cascade control loops that provide bidirectional power. The outer loop is used to compare the two voltages (measurement and reference) at the DC-link bus. This regulation helps maintain the bus voltage to a nominal value at the end to generate a reference current to the input of the internal control loop. The latter supplies control signals to the converter which adjusts the charge and discharge cycles of the storage system via the cyclical ratio [54].

Fig. 9
figure 9

Flowchart of the charges or discharges cycle in the battery (ESS) side converter

The algorithm presented below Fig. 9, describes excessively various operating modes (charging and discharging of the battery) in nominal and instantaneous variations of the following variables (wind speed, rated power, extracted power and the supply/demand grid power).

The following criteria are the basis of this algorithm:

  • If the power captured by the WTsare less than the nominal power of the turbine can select the operating region of the turbine/PMSG by MPPT. In the same situation, the extracted power from the wind speed is compared with the power specified by the demand: this means the way of power between the battery and the PMSG.

  • Otherwise, if the speed exceeds the nominal wind, the operating area of the turbine is moved to the region III, mode 2 (power limitation) and therefore the power produced to be always constant where the load and the system of discharge \(V_{\textit{DC}}\) are imposed by the amount of power required at the electrical grid.

4.3 Control of the grid side converter (GSC)

This converter allows you to: control the exchange of the active and reactive power between the PMSG and the grid. Ensure constant power to the user in case of grid faults or wind power changes to maintain DC-link voltage constant. To achieve these objectives, we have proposed a new approach of direct power control (DPC) which is based on an algorithm SOSMC and supported by the SVM technique.

Fig. 10
figure 10

A control diagram for GSC used “DPC–SVM based on SOSMC”

Figure 10, shows the GSC circuit diagram regardless of the continuous bus control (which is used a bi-directional DC/DC converter). In this case, a single control loop is implemented (inner loop), which comprises an active and reactive power control on the basis of non-linear regulator SOSMC. The approach of the DPC–SOSMC–SVM strategy directly generates the reference voltage unlike the conventional method of vector [39].

In the control of nonlinear systems or having non-constant parameters, the conventional control laws [55, 56] may be insufficient. For this reason, we must use effective and robust control techniques such as [10, 57,58,59,60,61,62,63,64,65,66,67,68] that are “insensitive to parameter variations, to disturbance and nonlinearities”. In the literature, the sliding mode control is considered one of the most important of these techniques [11, 25, 26, 34,35,36]. The switching high frequencies (chattering) induced by the latter is the main disadvantage to the practical implementation of this method. To reduce this phenomenon (chattering), a higher order control by sliding mode based on nth derivate must be used to keep the same characteristics of the original technical (robustness, efficiency and speed) [69].

In reference frame rotating synchronously and to ensure the active and reactive grid power control, the electrical power equations \(P_g ,Q_g \) are linked to the grid currents as follows [38]:

$$\begin{aligned} \left\{ {{\begin{array}{l} {P_g =\frac{3}{2}V_{dg} I_{dg} } \\ {Q_g =\frac{3}{2}V_{dg} I_{qg} } \\ \end{array} }} \right. \end{aligned}$$
(13)

The optimal reactive power is set to zero to ensure a unity power factor operation of this system: \(Q_{g ref} =0\) whereas the optimal active power \(P_{g ref}\) can be written depending on the needs of the grid.

The sliding surface for the \(p_{g,} Q_g \) powers is shown:

$$\begin{aligned} \left\{ {{\begin{array}{l} {s_P = P_{gref} - P_g } \\ {s_Q = Q_{gref} - Q_g } \\ \end{array} }} \right. \end{aligned}$$
(14)

The first derivatives of the surfaces \(s_P ,s_Q \) are represented:

$$\begin{aligned} \left\{ {\begin{array}{l} {\dot{s}_{P} = \dot{P}_{{gref}} - \frac{{1.5V_{{dg}} }}{{L_{g} }}\left( { - V_{{dg}} - R_{g} I_{{dg}} + L_{g} w_{g} I_{{qg}} } \right) - \frac{{V_{{id}} }}{{L_{g} }}} \\ {\dot{s}_{Q} = \dot{Q}_{{gref}} - \frac{{1.5V_{{qg}} }}{{L_{g} }}\left( { - V_{{qg}} - R_{g} I_{{qg}} - L_{g} w_{g} I_{{dg}} } \right) - \frac{{V_{{iq}} }}{{L_{g} }}} \\ \end{array} } \right. \end{aligned}$$
(15)

If we put \(G_P \) and \(G_Q \) as follows:

$$\begin{aligned} \left\{ {\begin{array}{l} {G_{P} = \dot{P}_{{gref}} - \frac{{1.5V_{{dg}} }}{{L_{g} }}\left( { - V_{{dg}} - R_{g} I_{{dg}} + L_{g} w_{g} I_{{qg}} } \right) } \\ {G_{Q} = \dot{Q}_{{gref}} - \frac{{1.5V_{{qg}} }}{{L_{g} }}\left( { - V_{{qg}} - R_{g} I_{{qg}} - L_{g} w_{g} I_{{dg}} } \right) } \\ \end{array} } \right. \end{aligned}$$
(16)

The second derivation of \(s_P \), \(s_Q\) are displayed:

$$\begin{aligned} \left\{ {\begin{array}{l} {\ddot{s}_{P} = \dot{G}_{p} - \frac{{\dot{V}_{{id}} }}{{L_{g} }}} \\ {\ddot{s}_{Q} = \dot{G}_{Q} - \frac{{\dot{V}_{{iq}} }}{{L_{g} }}} \\ \end{array} } \right. \end{aligned}$$
(17)

The SOSMC proposed in this part is comprises two parts based on ST algorithm as mentioned in [51].

$$\begin{aligned}&\hbox {Where} \ \left\{ {{\begin{array}{l} {V_P ^{ref}=V_p ^{N}+V_p ^{eq}} \\ {V_p ^{N}=w_1 +w_2 } \\ \end{array} }} \right. \nonumber \\&\hbox {With} \ \left\{ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {} \\ {\dot{w}_{1} = - k_{1} sign\left( {s_{P} } \right) } \\ \end{array} } &{}\quad {w_{{2}} = - M_{1} \sqrt{\left| {s_{P} } \right| } sign\left( {s_{P} } \right) } \\ {V_{Q} ^{{ref}} = V_{Q} ^{N} + V_{Q} ^{{eq}} } &{}\quad {V_{Q} ^{N} = w_{1} + w_{2} } \\ \end{array} } \right. \nonumber \\ \end{aligned}$$
(18)
Fig. 11
figure 11

The wind speed profile in (m/s)

Fig. 12
figure 12

FLC–SOSMC–MPPT: a \(C_p \), b \(\lambda \) and c the power generation in both region and d the real tracking of the optimal rotational speed ORC used in region (II, III)

The constants \(k_i \) and \(M_i\) are chosen in a manner to assure in finite time the convergence of the sliding manifolds as follows [70]:

$$\begin{aligned} \left\{ {{\begin{array}{l} {k_i >\frac{\mu _i }{L_g }} \\ {M_i \ge \frac{\mu _i \left( {k_i +\mu _i } \right) }{L_g ^{2}\left( {k_i -\mu _i } \right) }} \\ {\left| {G_i } \right| <\mu _i ;\quad i=1,2} \\ \end{array} }} \right. \end{aligned}$$

5 Results and discussion

To evaluate this work, the entire wind turbine system and its proposed control system was implemented in the environment “MATLAB/Simulink” which the PMSG/WT parameters are provided in “Appendix”. The simulation tests were carried out under an average wind profile around (11.75 m/s) shown in in Fig. 11.

It is noted that in Fig. 11, at below nominal wind speed (11.75 m/s), the WT operates in tracking mode (region II), the MPPT controller proposed in this paper (FLC–SOSMC–MPPT) ensures the optimum monitoring point of maximum power with high reliability while maintaining the power coefficient to maximum \(C_{pmax} =0.48\) with an optimum value of \(\lambda _{opti} =8.1\) as shown in Fig. 12a, b. Figure 12c, d, represent the instantaneous variation of mechanical power extracted and monitoring of the maximum point around ORC respectively, these figures show the judicious choice of the proposed algorithm which explains high efficiency and flexibility of tracking (follow the MPP) and introduces the best power quality product with a minimal stress and mechanical vibration on the mechanical part (shaft, blade) as represented in Fig. 12d. To protect the WT system above the rated wind speed (region III), a control mode 2nd was applied (power limitation). Consequently the \(C_p \) and \(\lambda \) are reduced. The curve shown in Fig. 12c, demonstrating the reliability and the ability to adapt (switching) of the control system in (parts II and III).

As indicated above, the SOSMC algorithm is used for generating a current reference (to the FOCloop) to regulate the speed of PMSG. We can see that in both regions (II and III) of operation, the proposed SOMSC properly follows the speed reference with a negligible error [0.1, −0.1] rad/s as shown in Fig. 13b. To verify the effectiveness of the proposed control approach “SOSMC”, we compared in the same pattern of results with those of FOSMC. The speed control based on FOSMC has an oscillatory response (see Fig. 13a) throughout the simulation, which can cause mechanical vibration, a pulsating torque and poor quality of the extracted mechanical power. However, the SOSMC removes thephenomenon of the chattering, giving a smooth path tracking and a significant decrease of the error of sliding and control effort.

Fig. 13
figure 13

a FOSMC and SOSMC speed control and b error speed

Fig. 14
figure 14

ESS control: a DC link voltage; b ‘extracted, nominal, demand’ active power; c ‘battery, extracted, grid’ active power and d SOC of battery

Whatever the instantaneous variation of the required or available power (from the wind), the exchange of electric power between the PMSG and the grid is assured only if the DC-bus is set at a constant value (nominal). The battery side converter (DC/BESS) is to preserve the DC-link voltage 800 V near its nominal value, as observed in Fig. 14a.

Table 2 THD current
Fig. 15
figure 15

DPC–SVM (four controllers): a grid active power and b grid reactive power

The electric power estimated in diverse sectors of our proposed hybrid system (as well in region II and III, as illustrated in Fig. 14b, c. The desired power ‘reference’ is initially fixed to 3000 W in (5 s). A t = [5–10 s], the demand is increased to a value up to 4000 W and after she continues to increase to 7000 W during the period of [10–14 s], finally, for the duration of [14–19 s] the power has been decreased to 5000 W as shown in Fig. 14b, c.

  • From [0 to 5 s], the electric power demand by the consumer (grid) is \(P_{demand} =3000\,\hbox {W}\) (see Fig. 14b, c). This power (\(P_{demand})\) is inferior to the wind power exist (extracted power at the same time) [\(\hbox {P}_{\mathrm{demand}} <P_{\mathrm{extra}} \)]. At this time, a battery charging cycle starts and continues until the SOC reaches 50.048% or more. During recharge, the battery is stored the excess power provided by the PMSG, which makes the storage system in the field of wind energy from an essential feature.

  • [5–10 s], it is found that the \(P_{demand} =4000\,W\) (a predefined value) that is “lower or higher” to the wind energy available for conversion (extracting) (Fig. 14b, c). Therefore, can be observed that: in this case, the power recommended by the user (required) is greater than the power generated by the turbine (extracted) \([P_{demand} >P_{extra} \)]. from which a part of the energy stored in the battery is deflected towards the outlet of PMSG (discharging mode) to compensate the demand deficit accompanied by a decrease of SOCup to 50.03%. Next, under conditions where the consumer need is satisfied and the wind speed is increasing, this leads to an increase of the extracted power compared to the required energy in the connection point (the request) \([\hbox {P}_{\mathrm{extra}} > \hbox {P}_{\mathrm{demand}} \)]. In this case, there’s an excessiveness of the energy produced at the PMSG output and which will be retained (charging mode) in the battery through (DC/DC) with a marked increase in SOS as shown in Fig. 14d.

  • The need for the power required by the consumer is increased to 7000 W during the period [10–14s], in this period, the wind speed is insufficient [\(v_{aver} =11.5\,\hbox {m}/\hbox {s}\)] to provide this amount of power (demand) \([P_{demand} >P_{extra}\)]. For this reason, a compensation cycle is activated by battery (discharging mode) to cover the lack of the required power. If the wind works in “power limitation mode”. Meanwhile, a battery discharge cycle remains on the same status until 14 s and a significant decrease in SOS continues to 49.97% as shown in Fig. 14d.

  • The same phenomenon of the interval [5–10 s] is identical to the period [14–19 s]. During the time interval [14–19 s] where the demand for power is 5000 W, the latter is inferior or superior to the power derived by the turbine \(P_{demand} >P_{extra}\) noted in Fig. 14b, c. In this situation, the ESS battery (delivers/absorbed) electrical energy (discharging/charging) to compensate or store for (absence/surplus) of the power (supplied to the grid/provided by the PMSG). Of the foregoing, it can be affirmed that the hybrid system applied in this work is able to operate in unforeseeable conditions (region II or III) and overcoming diverse constraints, according.

Fig. 16
figure 16

Grid current phase “A”

Fig. 17
figure 17

a Grid current for PI\(_{\mathrm{conventional}}\), b THD for PI\(_{\mathrm{conventional}}\)

Fig. 18
figure 18

a Grid current for FOSMC, b THD for FOSMC

Fig. 19
figure 19

a Grid current for PI\(_\mathrm{frac}\), b THD for PI\(_{\mathrm{fractional}}\)

After ensuring to provide the energy required by the user (ESS), the quality of this last depends in the control strategies applied to the variables (controllable) related to the grid. For this objective: a new direct power control DPC–SVM used nonlinear control SOSMC has been realized to achieve an effective control to the amount of power grid (active and reactive power). To assess the merit of our choice SOSMC, a comparison was made between four types of controllers (\(\hbox {PI}_{\mathrm{conventional}}\), \(\hbox {PI}_{\mathrm{fractional}}\), FOSMC and SOSMC), these results are supported by a harmonic analysis of each regulator as is shown in Table 2.

Figure 15 displays the electrical power injected in the grid, controlled via the proposed DPC–SVM and used four different types of regulators. From Fig. 15a, b, all types of controllers (\(\hbox {PI}_{\mathrm{conventional}}, \hbox {PI}_{\mathrm{fractional}}\), FOSMC and SOSMC) can track the desired value precisely. But a clear difference between the various regulators appears at the quality level (flexibility) of the active and reactive power, with a clear priority to the (SOSMC/PI\(_{\mathrm{fractional}})\). Simulation results show the superiority of the proposed regulator (SOSMC) based on the algorithm of “super twisting” that guarantees a smooth follow the desired path without chattering phenomenon or oscillations that appear exclusively in the FOSMC. On the other hand, in relation to the two best resulting regulators (SOSMC, PI\(_{\mathrm{fractional}})\), we have observed the superiority SOSMC with a high efficiency and smooth to track the desired slip trajectory precisely unlike the “PI \(_{\mathrm{fractional}}\)”.

Fig. 20
figure 20

a Grid current for SOSMC, b THD for SOSMC

Figure 16 represents the current injected into the phase A in the grid. To clarify the effectiveness of the approach proposed control (DPC–SVM) and the performance of SOSMC used in this technique, we conduct an evaluation and a comparison with (FOSMC–\(\hbox {PI}_{\mathrm{conventional}}\) and \(\hbox {PI} _{\mathrm{fractional}})\). An analysis of harmonic distortion of each controller was required as is shown in Figs. 17, 18, 19 and 20. The THD of the current (phase A) is displayed in Figs. 17 and 18b are bigger and achieves 3.96 and 3.86% respectively. That means, a distorted form of very undesirable current (phase A) throughout the simulation is observed in Figs. 17 and 18a. We concluded that the use of (\(\hbox {PI}_{\mathrm{conventional} }\)/FOSMC) creates a poor quality of the injected grid electrical energy (possibility of degradation of electrical grid). In Figs. 19 and 20b, we noticed a decrease in the best current distortion (0.59 and 0.93%) when we use (SOSMC/\(\hbox {PI}_{\mathrm{fractional}})\) respectively. A significant superiority (SOMSC) is illustrated in the smooth shape of the current (due to the suppression of odd harmonics) as shown in Fig. 20a, b.

A significant improvement was observed in terms of reduction in THD, filtering and removal of odd harmonics [3,4,5,6,7,8,9,10,11] (with a smooth waveform without distortion). From the above and the result summarized in the Table 2. We conclude that SOSMC method attenuates approximately more than 80 and to 40% of odd harmonics contained in the (FOSMC, PI\(_{\mathrm{conventional}})\) and (PI\(_{\mathrm{fractional}})\) respectively.

6 Conclusion and future work

In this research, a mathematical model of a hybrid wind turbine was designed and studied. This design is supported by a new supervisory control system and power management in the both areas (II and III). Compared to existing literature, our suggested architecture of control systems (supervisory control) provides to the WTs a freedom to operate in an expanded range with high protection in nominal wind speed. By simulation study, to evaluate our choice, a comparison has been realized between the proposed controller (SOSMC) with conventional control techniques “classic”, the efficiency of the control architecture has been verified. After analyzing the results, It may be concluded: the proposed control structure based on effective nonlinear algorithm (SOSMC, FLC and SVM) and applied in (hybrid/VSWT) makes the conventional system, stable, enhanced, reliable and effective hybrid system with homogeneous protection, guaranteeing the power quality and management in the system in several operating conditions (region II and II), satisfy energy demand in various working conditions (expands area “II, III”).

In the future work, we wish to exploit a wider ESS (high capacity) when the BESS is in a saturation state. In addition, to evaluate this work the experimental results are necessary (test bench). We anticipate also, to implement these control techniques on several hybrid systems of energy production or in small wind farm with a higher power. Optimizations in untreated point are considered.