Electronics 12 01419 v3
Electronics 12 01419 v3
Article
Design of Vector Control Strategies Based on Fuzzy Gain
Scheduling PID Controllers for a Grid-Connected Wind Energy
Conversion System: Hardware FPGA-in-the-Loop Verification
Mahdi Hermassi 1, * , Saber Krim 2,3 , Youssef Kraiem 4 , Mohamed Ali Hajjaji 1,5 , Badr M. Alshammari 6 ,
Haitham Alsaif 6 , Ahmed S. Alshammari 6 and Tawfik Guesmi 6
Abstract: This paper presents a hardware implementation upon a Field Programmable Gate Array
(FPGA) of improved Vector Control Strategies (VCSs) based on a Fuzzy Logic System (FLS) of a
grid-connected wind energy conversion system. Usually, the classical VCS is based on fixed-gain
Proportional Integral Derivative (PID) controllers, which are known to exhibit limited performance
against the nonlinear behavior of wind systems, such as rapid fluctuations of the wind speed and
Citation: Hermassi, M.; Krim, S.; uncertainties of the system parameters. In order to overcome this limitation, an improved VCS based
Kraiem, Y.; Hajjaji, M.A.; on Fuzzy Gain Scheduling PID controllers (VCS-FGS-PID) is suggested in this work to guarantee
Alshammari, B.M.; Alsaif, H.; good tracking, high accuracy and good robustness under system parameter variations. Indeed, the
Alshammari, A.S.; Guesmi, T. Design PID controller gains are tuned, in real-time, by the FLS. In addition, the proposed VCS-FGS-PID
of Vector Control Strategies Based on methods are implemented on the FPGA in order to reduce the delays and the period of the system
Fuzzy Gain Scheduling PID of the control loop, thanks to its parallel processing. In fact, the performance of the suggested
Controllers for a Grid-Connected
VCS-FGS-PID approaches are proved by digital simulation with the Xilinx system generator tool
Wind Energy Conversion System:
under Matlab/Simulink, in addition to an experimental hardware-in-the-loop implementation using
Hardware FPGA-in-the-Loop
the FPGA. The obtained results demonstrate that the proposed VCS-FGS-PID techniques offer better
Verification. Electronics 2023, 12, 1419.
https://doi.org/10.3390/
performance as regards good tracking and high accuracy and good robustness against stator resistance
electronics12061419 variability compared to VCS-PI.
dynamics of the controlled system [27]. Thus, the negative effects of these disturbances
cannot be mitigated utilizing the VCS-PI controllers with fixed gains [27].
As the WECS is a non-linear system, a well-developed non-linear controller can over-
come the limitations of PI and PID controllers and achieve superior control performance in
the face of uncertainties and external disturbances [28]. Researchers have proposed various
advanced non-linear control techniques for the variable-speed WECSs in recent years,
including back-stepping-based control [29], adaptive control [30], predictive control [31],
intelligent control based on artificial neural networks and fuzzy logic systems [32–36] and
Sliding Mode Control (SMC) [25,37,38]. SMC has been deemed the most suitable control
method for the WECS because of its strong robustness. However, the primary drawback
of first-order SMC is the chattering phenomenon, which causes high oscillations around
the equilibrium point and vibrations in the electrical machines and mechanical parts of
the system due to the discontinuous nature of the control action [39,40]. This issue has
led to SMC’s rejection by designers for certain industrial applications. Therefore, various
improvement studies have focused on reducing chattering, which is considered the main
issue of SMC. Saturation or sigmoid functions can be used instead of the discontinuous
control action to attenuate chattering, ensuring continuous control. However, this control
law drives the system state trajectories towards the sliding surface’s vicinity rather than
towards the sliding surface itself, affecting control robustness under disturbances [41,42].
In addition, the higher-order sliding mode algorithm is deployed in order to reduce the
chattering phenomenon. However, this method requires higher-order real-time derivatives
of the outputs [43]. In [25], the authors put forward an SMC for a grid connected to a
WECS based on a PMSG. Indeed, the SMC was suggested to replace the PI controllers
used in the wind generator control strategies. The SMC would offer good performance
in terms of stability, good dynamic and fast response, but it would cause high oscilla-
tions in the electromagnetic torque, the quadratic stator current, the direct grid current
and the injected active and reactive power. In [30], the authors proposed a Classical Tip
Speed Ratio technique with PI (CTSR-PI) controller for a wind turbine generator. The
performance of the CTSR-PI controller was tested using simulation studies, and it offered
good performance in terms of dynamic response and under wind condition variations,
but it had limitations such as poor tracking accuracy. In the same context, the authors put
forward Adaptive Control Tip Speed Ratio Integral Backstepping (AC-TSR-IBS) in order to
overcome the limitations of the CTSR-PI controller, but its performance was not evaluated
under parameter variations. In [44], the authors suggested a Neuro Second-Order SMC
(SOSMC) technique based on artificial-neural-network controllers with Fuzzy Space Vector
Modulation (NSOSMC-FSVM) to control the reactive and active power of the doubly fed
induction generator. These controllers were compared with the SOSMC-control-based
traditional space vector technique, and the performances of the two controllers were tested
with simulation studies. The NSOSMC-FSVM offered good performance compared to
SOSMC in terms of robustness under wind condition variations and tracking accuracy,
but it had limitations such as the complexity of algorithm implementation. Moreover, the
implementation of large neural networks required an important processing time. In addi-
tion, the SOSMC needed information about the sliding surface and its derivate [45]. In [46],
the authors proposed two neural networks to automate the tuning of PID parameters;
the creation of the data took approximately 120 h to generate million samples of data. It
spent a significant amount of time training, which made the implementation in real-time
more complex.
Moreover, combining fuzzy logic technology with a PI controller can guarantee track-
ing quality even with high model uncertainties. In [47], the authors comparatively studied
PI linear and fuzzy logic controllers for an active grid-interfacing inverter in order to
compensate the harmonic produced by the nonlinear system. The harmonics induced by
the PI controller were high when compared to the FLC-based controller. In fact, fuzzifi-
cation can help mitigate the effect of nonlinearities and disturbances in several ways [48].
Firstly, it allows for the representation of complex nonlinear relationships between the
Electronics 2023, 12, 1419 4 of 36
input and output variables. This means that the control system can handle nonlinearities
that may be difficult to model using traditional control methods. Secondly, fuzzification
allows handling uncertainties and imprecise information. In traditional control systems,
uncertainties and disturbances can cause the system to behave unpredictably. Fuzzy logic
can handle uncertainties by representing the input and output variables as fuzzy sets,
which allows for reasoning with degrees of membership. Finally, the FLC can adjust the
controller parameters dynamically based on the changes in the input signals. Fuzzy rules
can be designed to modify the control output based on the magnitude and direction of the
disturbance, which can reduce the sensitivity of the control system to external disturbances.
Fuzzy Gain Scheduling (FGS) combined with PID control is a powerful method for control-
ling complex and nonlinear systems such as the WECS. Fuzzy logic allows the controller
to adapt in real-time to changing operating conditions, which is critical for ensuring the
optimal performance and stability of the system [48].
In this context, the first contribution of this paper consists of combining Vector Control
Strategies with FGS based on a PID (VCS-FGS-PID) to control higher performance of a
grid-connected WECS. The control system is divided into three parts: (i) VCS-FGS-PID for
the PMSG-side converter, (ii) VCS-FGS-PID for the grid-side converter and (iii) a FGS-PID
for regulating the DC bus voltage. The VCS-FGS-PID for the PMSG-side converter consists
of controlling the electromagnetic torque, the PMSG speed, the quadratic stator current
and the direct stator current. It uses the electromagnetic torque reference as an input,
which is generated by a Maximum Power Point Tracking (MPPT) algorithm. Moreover,
the VCS-FGS-PID of the grid-side converter is used for controlling the active and reactive
power injected to the grid. It is also used to adjust the voltage and frequency in order to
achieve a satisfactory level of security of the power system. The FGS-PID is suggested
in this paper thanks to its robustness under external disturbances such as sudden wind
speed variations and internal disturbances. As an advanced approach, the VCS-FGS-PID
approach is distinguished by its good performance under the aforementioned disturbances.
This is done in real-time by tuning gains of PID controllers [47]. The aforementioned three
parts of the control system, which are designed and implemented in hardware using a
Field-Programmable Gate Array (FPGA), differ from other published work.
Currently, the control algorithms of electrical systems are implemented usually on two
programmable-technology types: FPGAs and Digital Signal Processing (DSP). The DSP
has a limiting factor of short execution time, and this is because of the control algorithm’s
serial processing. In order to overcome the limitations of DSP, FPGAs can be considered a
preferred solution. The benefits of using hardware FPGAs are multiple: (i) rapid prototyp-
ing, (ii) reduced execution time due to parallel processing and (iii) ability to use too-heavy
control methods as regards computing time [49]. Thus, FPGAs have been used in varied
research work [49–52]. Two main methods have been used to implement control algorithms
on FPGAs, namely the Xilinx System Generator (XSG) and programming Very-high-speed
integrated circuit Hardware Description Language (VHDL) [53–56]. For the suggested
control algorithm, a VHDL code is generated by the XSG tool. The XSG tool is chosen
because it is flexible, simple and rapid.
Within this framework, the second contribution of this paper is to design, with the
XSG, and implement, on an FPGA board of the suggested VCS-FGS-PID algorithm for
the PMSG-side converter, the suggested VCS-FGS-PID of the grid-side converter and the
FGS-PID for regulating the DC bus voltage. Concerning the WECS, it is composed of a
wind turbine that derives a PMSG and is connected to the power grid via an RL filter and a
power electronics interface containing two converters interconnected by one common DC
bus. The novelty and the main contributions of this paper theoretically, by simulation and
by hardware in the loop co-simulation, are as follows:
Electronics 2023, 12, x FOR PEER REVIEW 5 of 39
Electronics 2023, 12, 1419 5 of 36
(i) Robust VCS-FGS-PID approaches are proposed for controlling the electromagnetic
(i) torque,
Robustthe VCS-FGS-PID
stator current’s approaches
quadratic arecomponent,
proposed for thecontrolling
DC injected theinto
electromagnetic
the grid, the
torque,
active andthethestator current’s
reactive powerquadratic component,
injected into the grid and the DC injected
the DC into theThe
bus voltage. grid, the
sug-
activeapproach
gested and the reactive
can ensure powergoodinjected into the
performance in grid
termsand the DC bus
of tracking and voltage.
accuracy,The as
suggested approach can ensure good performance in terms of
well as high robustness under stator resistance variations. The proposed control strat- tracking and accuracy,
as well
egies willasguarantee
high robustness
excellent under stator under
robustness resistance
statorvariations.
resistanceThe proposed
variations andcontrol
good
tracking accuracy of the controlled variables even under high fluctuations of and
strategies will guarantee excellent robustness under stator resistance variations the
goodspeed;
wind tracking accuracy of the controlled variables even under high fluctuations of the
(ii) The wind speed; of the suggested VCS-FGS-PID and the FGS-PID of DC bus voltage
algorithms
(ii) areThedesigned
algorithms of the suggested
utilizing the XSG toolVCS-FGS-PID
in order to and verifythetheFGS-PID
WECS of DC bus voltage
behaviors via simu-are
designed utilizing the XSG tool in
lation and to automatically generate a VHDL code; order to verify the WECS behaviors via simulation
(iii) Aand realtoHardware
automatically generate aof
co-simulation VHDL code;
the suggested VCS-FGS-PID algorithms using an
(iii) FPGA
A realZed-Board
HardwareAES-Z7EV-7Z020-G
co-simulation of theissuggested
carried outVCS-FGS-PID
before the final algorithms using
experimental an
val-
FPGA Zed-Board AES-Z7EV-7Z020-G is carried out before the
idation step in order to avoid damage risks and guarantee the experimental operation. final experimental vali-
Itdation step in the
also reduces order to avoid
overall timedamage
allowedrisks andexperimentation,
for the guarantee the experimental operation.
the prototyping time,
It also reduces the overall time allowed
the time to market and the designed system cost. for the experimentation, the prototyping time,
the time to market and the designed system cost.
The rest of the article is organized as follows. The various system elements are mod-
eled in The rest of 2.
Section theInarticle
Sectionis organized as follows. The
3, the conventional various
VCS-PI andsystem elements are modeled
the VCS-FGS-PID are dis-
in Section 2. In Section 3, the conventional VCS-PI and
cussed to ensure robust control of the WECS. The FPGA hardware architecture the VCS-FGS-PID are discussed
of the VCS- to
ensure robust control of the WECS. The FPGA hardware architecture
PI and the proposed VCS-FGS-PID, as well as their synthesis and implementation, are of the VCS-PI and the
proposed in
described VCS-FGS-PID, as well 5,
Section 4. In Section asthe
their
twosynthesis
control and implementation,
methods are implemented are described
and simu- in
Section 4. In Section 5, the two control methods are implemented
lated under the XSG, and a comparison between both controllers with and without pa- and simulated under the
XSG, and
rameter a comparison
variations betweenfollowed
is presented, both controllers with andwith
by a comparison without
otherparameter variations
studies. Finally, Sec-is
presented, followed by a comparison with other studies. Finally, Section 6 concludes this
tion 6 concludes this work and opens new perspectives.
work and opens new perspectives.
2. Description and Modeling of the WECS
2. Description and Modeling of the WECS
In
Inthis
thisstudy,
study,aavariable-speed
variable-speedgrid-connected
grid-connectedWECS WECS is is
presented.
presented.It isItcomposed
is composed of
aofwind
a windturbine as as
turbine a main
a mainsource
sourcethat derives
that a aPMSG.
derives PMSG.The Thepower
powergrid
gridisislinked
linkedtotothe
the
WECS through an RL filter and a power electronic interface. The power electronic
WECS through an RL filter and a power electronic interface. The power electronic interface inter-
face is made
is made up up
of aofthree-phase
a three-phase rectifier
rectifier (converter1 1AC/DC)
(converter AC/DC) and and an
an inverter
inverter (converter
(converter
22DC/AC)
DC/AC) interconnected by a common DC bus, as depicted in Figure1.1.The
interconnected by a common DC bus, as depicted in Figure TheRL RLfilter
filterisis
utilized for reducing the inverter harmonics in its output
utilized for reducing the inverter harmonics in its output power. power.
Wind turbine
AC/DC converter 1 DC/AC converter 2 Transformer Grid
RL filter
PMSG
β PWM PWM
MPPT + Control strategy for PMSG-side Control strategy for grid-side converter
Pitch angle converter
Figure
Figure1.1.WECS
WECSarchitecture.
architecture.
Electronics 2023, 12, 1419 6 of 36
1
Paer = C p Pw = C p (λ, β)ρAVv3 , (1)
2
where ρ denotes air density (kg/m3 ), A = πR2 represents that area swept by the blades of
the wind turbine (m2 ), Vv is the wind speed (m/s), β denotes the blades’ pitch angle (◦ ), λ
represents the speed ratio and C p is the power coefficient.
As a function of the aerodynamic power, Taer is the wind turbine’s aerodynamic torque
expressed as follows [23]:
Paer
Taer = , (2)
Ωmec
where Ωmec is the wind turbine’s rotational speed (rad/s).
The C p power coefficient indicates the wind turbine’s characteristics, and its effec-
tiveness can be expressed in terms of orientation angle and λ speed ratio of blades β as
follows [23]: 18.4
151 2.14 −
C p = 0.5 − 0.58β − 0.002β − 10 e λi , (3)
λi
1
λi = 1 0.003
. (4)
λ−0.02β − β3 +1
The ratio between the wind speed and the blade speed defines the tip speed ratio λ
as follows:
Ωmec R
λ= . (5)
Vv
The wind turbine is controlled with the aim of extracting the maximal available wind
power. Based on Betz theory, the power coefficient should not exceed 0.593 (Experimen-
tally) [57].
Electronics 2023, 12, x FOR PEER REVIEW
Finally, the diagram in Figure 2 summarizes the wind turbine model. The inputs are
7 of 39
the pitch angle β, the wind speed V and the electromagnetic torque. The output is the
mechanical speed.
Figure
Figure 2. Diagram
2. Diagram of of wind
wind turbine
turbine model.
model.
Figure 3 depicts the C p variation concerning λ and β, which presents the optimal
value of the opt = 8.15 speed ratio, corresponding the maximal value of the C p max =
0.4794 power coefficient, with β = 0. In view of this fact, Equation (6) gives the maximum
power that we can obtain through the MPPT algorithm [25]:
1 C pmax R mec
5 3
Figure 2. Diagram of wind turbine model.
Figure 3 depicts the C p variation concerning λ and β, which presents the optimal
Electronics 2023, 12, 1419 7 of 36
value of the opt = 8.15 speed ratio, corresponding the maximal value of the C p max =
0.4794 power coefficient, with β = 0. In view of this fact, Equation (6) gives the maximum
power that 3we
Figure can obtain
depicts the C pthrough the
variation MPPT algorithm
concerning λ and β,[25]:
which presents the optimal value
of the λopt = 8.15 speed ratio, corresponding the maximal value of the C pmax = 0.4794 power
C pmax R 5 3mec
1Equation
coefficient, with β = 0. In view of P =
this fact, (6) gives the maximum power that we
MPPT
can obtain through the MPPT algorithm [25]: 2 opt
3
(6)
11ρCCpmax mec
5 2
pmaxR5RΩ3mec
MPPT== 2
TPem λ3opt3
MPPT
2 ρC Ropt 5 Ω2 (6)
Tem MPPT = 1 pmax mec
. .
2 λ3opt
Figure 3.
Figure 3. Cp
Cp versus
versus λ.
λ.
To recuperate
To recuperate the
the maximum
maximum amount
amount of of the
the available
available kinetic wind power, the the blade
blade
pitch angle
pitch angle is
is zero,
zero, which
which corresponds
corresponds to to optimal
optimal CCpp and λλ values for the operation in an
MPPT mode. However, it is important to limit the turbine’s rotational speed in case the the
wind speed
wind speedexceeds
exceedsthe
thenominal
nominalspeed
speedtotoprotect
protect the
the system
system from
from mechanical
mechanical problems.
problems. In
In this
this work,
work, thethe control
control system,
system, called
called “pitch
“pitch control”,
control”, should
should be added
be added to jointly
to jointly control
control the
Electronics 2023, 12, x FOR PEER REVIEW 8 of 39
speed as well
the speed as the
as well aspower of theofwind
the power turbine
the wind and necessarily
turbine limit them
and necessarily limit once
themthe rated
once the
value
rated of the wind
value of thespeed
windisspeed
exceeded. Figure 4 Figure
is exceeded. describes the pitch control
4 describes the pitchsystem operation.
control system
operation.
Figure4.4. Evolution
Figure Evolutionof
ofdifferent
differentwind
windturbine
turbinecharacteristics.
characteristics.
2.2.
2.2. Interest
Interest of
of Variable
Variable Speed
Speed
The
The WECS’s variablespeed
WECS’s variable speed is is
plausible because
plausible of the
because interface
of the of power
interface electronic
of power con-
electronic
verters, which allows for the partial or complete decoupling—with the power
converters, which allows for the partial or complete decoupling—with the power grid—
grid—of wind generators. The available power is given by all characteristics that concern
of wind generators. The available power is given by all characteristics that concern the
the generator’s rotational speed. Figure 5 illustrates the varied wind speed. Accordingly,
generator’s rotational speed. Figure 5 illustrates the varied wind speed. Accordingly,
when we drove the generator at a fixed speed, we could not exploit any theoretical maxi-
when we drove the generator at a fixed speed, we could not exploit any theoretical maxi-
mum power curve. That is why, for optimizing the operating point, the generator shaft’s
mum power curve. That is why, for optimizing the operating point, the generator shaft’s
rotation speed must be adjusted by the extracted power depending on the wind speed.
rotation speed must be adjusted by the extracted power depending on the wind speed.
Let point A for wind speed V2 correspond to the aerodynamic power peak of coordinates
Let point A for wind speed V2 correspond to the aerodynamic power peak of coordinates
(P1, 1). If the turbine speed is not basically altered and if the wind speed changes from V2
(P1, 1). If the turbine speed is not basically altered and if the wind speed changes from V2
to V3, power P2 becomes in another point B other than the peak of the second characteristic.
to V3, power P2 becomes in another point B other than the peak of the second character-
To extract the maximum power, the generator speed needs to be different from the other
istic. To speed
rotation extractwhich
the maximum power, thetogenerator
is larger compared speed
the previous needs
one, thustorequiring
be different fromthis
varying the
other rotation speed which is larger compared to the previous one, thus requiring
rotation speed as a function of the wind in order to reach the maximum power (point C). varying
this rotation speed as a function of the wind in order to reach the maximum power (point
C).
(P1, 1). If the turbine speed is not basically altered and if the wind speed changes from V2
to V3, power P2 becomes in another point B other than the peak of the second character-
istic. To extract the maximum power, the generator speed needs to be different from the
other rotation speed which is larger compared to the previous one, thus requiring varying
Electronics 2023, 12, 1419 this rotation speed as a function of the wind in order to reach the maximum power (point8 of 36
C).
Figure 5. Aerodynamic
Figure 5. Aerodynamic power
power for
for different
different wind
wind speed
speed values
values as
as aa function
function of
of mechanical
mechanicalspeed.
speed.
where ω R is the grid frequency, Rr is the grid resistance, and Lr is the grid inductance.
The wind turbine is controlled by the conventional control technique applied for
the PMSG to extract the maximal available power. We master the controller on the DC
bus voltage to keep its voltage to a fixed value that is totally irrespective of the wind
speed variations.
A control vector strategy is applied to converter 2 (DC/AC) as a function of the control
of the active power and the reactive one, where both are exchanged with the production
system and the power grid. Two control loops are constructed for controlling both elements
Electronics 2023, 12, x FOR PEER REVIEW 10 of 39
of currents ird−re f and irq−re f . As a consequence, they can regulate the grid connection’s
active power and reactive power, respectively. Currents ird−re f and irq−re f are given by the
active and reactive power of references Pr∗ and Qr∗ as:
Qr will be functioning based on the power grid current’s direct and quadratic compo-
Pr∗ Vrd + Qr∗ Vrq
nents. The problem in this case is to ihow
rd−reto
f =control active and reactive power in a separate
2 + V ∗2
Vrd rq
way. For this, orienting reference(d, q) is enough ∗
P V +Q V ∗ for. repealing the quadratic ( Vrq (10)
= 0)
irq−re f = r Vrq2 +V ∗r 2 rd
voltage’s component. According to this, Vr V rd . Therefore, the connection model with
rd rq
To ensure
the power gridthe operation
given of the WECS’s
by Equation (9) and the unity power factor,
references of thethe reactive
power gridpower reference
current’s direct
can
andbe zero (Qr ∗ =become
fixed tocomponents
quadratic result, both active power Pr and reactive power Qr
0). As a[25]:
will be functioning based on the power grid current’s direct and quadratic components.
The problem in this case is L d to control active and reactive power in a separate
Rrird Lrrirq Vr
r dt ird(d,q)Vodis enough
to how
way. For this, orienting reference for repealing the quadratic (Vrq = 0)
voltage’s component. Accordingd to this, Vr = Vrd . Therefore, the connection model with (11)
the power grid given by Equation Lr (9) Voqthe
irq and R r irq Lrof
references r irdthe power grid current’s direct
dt [25]:
and quadratic components become ,
d
Lr dt ird = Vod − Rr ird + L*r ωr irq − Vr
Pr , (11)
ird R r irq+ Lr ωr ird
d
Lr dt irq = Voq− ref
Vrd (12)
Pr∗
(
irdi− f =V0
rqre ref rd .
. (12)
irq−re f = 0
The same
The same characteristic
characteristic variables
variables for
for every
every phase
phase must
must be
be possessed
possessed by by the
the converter
converter
output voltage to guarantee that renewable energy generators are properly
output voltage to guarantee that renewable energy generators are properly connected to connected to
the power grid. If the voltage phase angle is appropriately adjusted, this effect is
the power grid. If the voltage phase angle is appropriately adjusted, this effect is attained.attained.
The Phase
The Phase Locked
Locked LoopLoop (PLL)
(PLL) is
is the
the most
most typical
typical approach
approach utilized
utilized for
for synchronizing
synchronizing the the
main energy supply with the grid-side converter outputs. Thus, it is important
main energy supply with the grid-side converter outputs. Thus, it is important in this study in this
study
to to construct
construct one PLLone PLL (Figure
(Figure 6)correctly
6) able to able to correctly
analyze aanalyze
voltageaphase
voltage phase
angle angle
of one of
ideal
one ideal
power grid.power grid.
Figure 6.
Figure 6. PLL
PLL algorithm.
algorithm.
The
The conventional
conventional vector
vector technique
technique control
control laws
laws of
of the
the PI
PI have
have better
better results
results for
for linear
linear
systems having constant parameters. On the other hand, these laws for nonlinear
systems having constant parameters. On the other hand, these laws for nonlinear systems systems
such
such asaswind
windsystems areare
systems not not
adequate enough,
adequate especially
enough, when system
especially accuracyaccuracy
when system is needed,is
and otherand
needed, dynamic characteristics
other dynamic will be hard
characteristics tobe
will obtain
hardduring wind
to obtain speedwind
during variability
speed [59].
var-
To overcome
iability [59]. this drawback, this
To overcome the VCS-FGS-PID
drawback, thecontroller
VCS-FGS-PIDapproach is proposed
controller in thisispaper.
approach pro-
posed in this paper.
FGS-PID + FGS-PID
+− +
− -+ FGS-PID
−+
+− FGS-PID + +
− abc +
−
dq
-+ 𝐿𝑤𝑟
−+
dq abc
−
abc + dq 𝐿𝑤𝑟
dq abc
− FGS- + −
MPPT + FGS-PID ++ PID + FGS-PID +
+ +
− FGS- Part 3 + −
MPPT + FGS-PID ++ PID + FGS-PID +
+ +
Part 3
−
+
− P −
+
+
− P
+ Part 1 Part 2
Part 1 Part 2
Figure 7. Schematic of WECS VCS-FGS-PID controller.
Figure7.7. Schematic
Figure Schematicof
ofWECS
WECSVCS-FGS-PID
VCS-FGS-PIDcontroller.
controller.
As shown in Figure 8, the VCS-FGS-PID is based on three steps: fuzzification, infer-
enceAsand
As defuzzification
shown
shown Figure8,[60].
ininFigure 8,
thetheFuzzification
VCS-FGS-PID
VCS-FGS-PID is an important
is based
based on on aspect
three
three of
steps:
steps: FGS-PID controllers,
fuzzification,
fuzzification, infer-
inference
as
and itdefuzzification
ence allows them to[60].
and defuzzification handle
[60].nonlinearities
is an and
Fuzzification
Fuzzification is anuncertainties
important
important in FGS-PID
aspectaspect
of theofsystem.
FGS-PID Fuzzification
controllers,
controllers, as it
involves
as it allows
allows themrepresenting
them
to handle the system
to handle inputs and
nonlinearities
nonlinearities outputs
and asthe
fuzzy
uncertainties
and uncertainties in insets,
system. which allows
theFuzzification
system. the con-
Fuzzification
involves
troller
involves to representing
representing reason aboutthe
the system the system
inputs
system andinoutputs
a more
inputs andasflexible
fuzzyand
outputs sets,robust
which
as fuzzy way.
allows
sets, However,
which the FGS-PID
controller
allows to
the con-
controllers
reason
troller about can
theadjust
to reason abouttheir
system parameters
in asystem
the more flexiblein and
in a morereal-time
robustbased
flexible on
way.robust
and theway.
However, current statecontrollers
FGS-PID
However, ofFGS-PID
the sys-
tem,
can whichtheir
adjust
controllers allows
can them
parameters
adjust to handle
their thesein
in real-time
parameters nonlinearities
based on the
real-time andon
current
based uncertainties
state
the of themore
current effectively
system,
state of which
the sys-
[48].
allows them allows
tem, which to handle these
them nonlinearities
to handle and uncertainties
these nonlinearities more effectively
and uncertainties more [48].
effectively
[48].
Figure8.8. Fuzzy
Figure Fuzzylogic
logiccontroller
controllerblock
blockdiagram.
diagram.
Figure 8. Fuzzy logic controller block diagram.
In comparison with conventional tuning techniques, fuzzy logic tuning does not de-
pendInoncomparison
well-defined or conventional
with precise mathematical formulas. However,
tuning techniques, fuzzy logicittuning
manipulates
does not infer-
de-
ences
pend onthrough the use of
well-defined or several
precise fuzzy rules based
mathematical on fuzzy
formulas. operators:
However, AND, OR, THEN,
it manipulates infer-
etc.,
encesapplied
throughtothe
linguistic variables.
use of several Thisrules
fuzzy VCS-FGS-PID controller
based on fuzzy is made
operators: up of
AND, a conven-
OR, THEN,
tional PID control system, a fuzzy reasoning mechanism and a set of fuzzy rules, as
etc., applied to linguistic variables. This VCS-FGS-PID controller is made up of a conven- sum-
Electronics 2023, 12, 1419 11 of 36
In comparison with conventional tuning techniques, fuzzy logic tuning does not
depend on well-defined or precise mathematical formulas. However, it manipulates
inferences through the use of several fuzzy rules based on fuzzy operators: AND, OR,
THEN, etc., applied to linguistic variables. This VCS-FGS-PID controller is made up of a
Electronics 2023, 12, x FOR PEER REVIEW 12 of 39
conventional PID control system, a fuzzy reasoning mechanism and a set of fuzzy rules, as
summarized in Figure 9.
The PID
PIDgains
gainsareare
tuned in real-time
tuned as regards
in real-time the fuzzy
as regards inference
the fuzzy and the knowledge
inference and the
base. After that, the control signal is generated by the PID controller.
knowledge base. After that, the control signal is generated by the PID controller. The VCS-FGS-PID
The VCS-
controller is characterized
FGS-PID controller by three corrective
is characterized by threeactions, which
corrective are Kpwhich
actions, , Kd andareKiK[56].
p, Kd We
andcan
Ki
[56]. WeKcan
assume p and Kd to Kbe
assume always
p and Kd toinbe
thealways , Kthe
[Kpminin ] and
pmax[K [Kpmax
pmin, K dmin , Kdmax
] and ] range,
[Kdmin , Kdmaxso that the
] range, so
following equations
that the following will be defined
equations will be as:
defined as:
0 K p −
((K K p)min )
K pmin
KKp' p = p
(K pmax −K pmin )
(13)
Kd = ((K p max K p .min )
0 (Kd −Kdmin )
Kdmax −Kdmin ) (13)
( K d K d min )
The PID parameters are K by the
'
determined
d proposed scheme according to the current
error and its derivate. In fact, the integral( K
time K d minis) determined
d maxconstant . as a function of the
derivative time constant:
The PID parameters are determinedTby=the proposed scheme according to the current
αTd . (14)
i
error and its derivate. In fact, the integral time constant is determined as a function of the
Therefore,
derivative time we can obtain the integral gain as follows:
constant:
Figure10.
Figure (a) Membership
10.(a)Membership function
function ofof
EE and
and dE.
dE. (b)
(b) Membership functionofofKK
Membershipfunction p and KdK. d(c)
p and . (c) Member-
Member-
ship
shipfunction
functionofofααTable.
Table.
Table
Table1.1.Fuzzy
Fuzzytunning
tunningrules forK′Kp.0 p .
rulesfor
dE
dE
NB NBNM NM NS NS ZO ZO PSPS PM
PM PB
PB
NB NB
S SS S S S S S SS S
S SS
NM B
NM BB B S S S S SS B
B BB
NS B
NS BB B B B S S BB B
B BB
E ZO B B B B B B B
E PS ZO
B BB B B B S B BB B
B BB
PM PS
B BB B S B S S SB B
B BB
PB PM
S BS B S S S S SS B
S BS
PB S S S S S S S
Table 2. Fuzzy tunning rules for d . K0
Table 2. Fuzzy tunning rules for K′d.
dE
dE
NB NM NS ZO PS PM PB
NB B NBB NM B NS B ZO BPS PM
B PBB
NM NB
S BB B B B B B BB BB BS
NS NM
S SS B B B B B BB SB SS
E ZO S
NS SS S S B B B SB SS SS
PS S S B B B S S
PM S B B B B B S
PB B B B B B B B
Electronics 2023, 12, 1419 13 of 36
dE
NB NM NS ZO PS PM PB
NB 2 2 2 2 2 2 2
NM 3 3 2 2 2 3 3
NS 4 3 3 2 3 3 4
E ZO 5 4 3 3 3 4 5
PS 4 3 3 2 3 3 4
PM 3 3 2 2 2 3 3
PB 2 2 2 2 2 2 2
1
Gc (s) = K p (1 + ), (20)
Ti s
Kp
where Ti = Ki , and K p and Ki are the proportional and integral gains, respectively.
Electronics 2023, 12, 1419 14 of 36
Figures 12–14 present the hardware design of the VCS-PI controllers for the PMSG-side
Electronics 2023, 12, x FOR PEER REVIEW 15 of 39
converter, the VCS-PI controller hardware design for the DC bus voltage and the hardware
design of the VCS-PI controllers for the grid-side converter, respectively.
Figure 12. Hardware design of VCS-PI controllers for PMSG-side converter. Where (*) is added to
Figure 12.distinguish
Figure 12. Hardwarebetween
Hardware design the
design of
of actualcontrollers
VCS-PI
VCS-PI and the references
controllersfor variables.
forPMSG-side
PMSG-side converter.Where
converter. Where(*)
(*)isisadded
addedtoto
distinguish between the actual and the references variables.
Figure 13. Hardware design of VCS-PI controllers for DC bus voltage. Where (*) is added to distin-
13. Hardware
Figurebetween
guish design of references
VCS-PI controllers for DC bus voltage. Where (*) is added to
Figurethe
13.actual and the
Hardware design variables.
of VCS-PI controllers for DC bus voltage.
distinguish between the actual and the references variables.
Electronics2023,
Electronics 2023,12,
12,1419
x FOR PEER REVIEW 17
16 of 39
of 36
Figure 14.
Figure 14. Hardware
Hardware design
designof
ofVCS-PI
VCS-PIcontrollers
controllersfor
forgrid-side
grid-sideconverter. Where
converter. (*) (*)
Where is added to to
is added
distinguish between the actual and the references variables.
distinguish between the actual and the references variables.
•4.1.2.Fuzzy
Implementation
membership offunction
VCS-FGSPID Controllers Using XSG
of error
Figures 15–17anpresent
Accordingly, error wasthe given
VCS-FGS-PID
by sevencontrollers’ hardware
fuzzy sets, which design for
are actually the PMSG-
presented by
side converter
seven (part functions,
mathematical 1 of Figurenamed:
7), the VCS-FGS-PID
PB, PM, PS, ZE,controllers’
NS, NM and hardware
NB. Fordesign for the
example, the
𝑉 bus voltage
membership (partNS
named 2 of
is Figure
given by7) Equation
and the VCS-FGS-PID
(21), and it is controllers’ hardware
illustrated using design
the XSG in
for the19.
Figure grid-side converter (part 3 of Figure 7), respectively.
i f e(t) > 0 or e(t) > − x2e then y(t) = 0
i f e(t) > − x1e then y(t) = −3 × e(t) (21)
else y(t) = 3 × e(t) + 2
• Fuzzy membership
The ZE-membership error derivative function is given by (22) and it is depicted using
the XSG in Figure 20.
i f de(t) < − x1e or de(t) > x1e then y(t) = 0
i f de(t) < 0 then y(t) = 3 × de(t) + 1 (22)
else y(t) = −3 × de(t) + 1
Electronics Electronics 2023, 12, x FOR PEER REVIEW
Electronicsȱ2023,ȱ12,ȱxȱFORȱPEERȱREVIEWȱ
2023, 12, 1419 18ȱ
17 ofȱ 39ȱ 18 of 39
of 36
ȱ
ȱ
15.Figure 15. Hardware design of VCS-FGS-PID
controllerscontrollers for PMSG-side converter.
Figureȱ15.ȱHardwareȱdesignȱofȱVCS-FGS-PIDȱcontrollersȱforȱPMSG-sideȱconverter.ȱWhereȱ(*)ȱisȱ
Figure Hardware design of VCS-FGS-PID for PMSG-side converter. Where (*) isWhere
added (*) is
added to distinguish between the actual and the references
addedȱtoȱdistinguishȱbetweenȱtheȱactualȱandȱtheȱreferencesȱvariables.ȱ
to distinguish between the actual and the references variables. variables.
ȱ
Figureȱ16.ȱHardwareȱdesignȱofȱVCS-FGS-PIDȱcontrollersȱforȱDCȱbusȱvoltage.ȱWhereȱ(*)ȱisȱaddedȱtoȱ
distinguishȱbetweenȱtheȱactualȱandȱtheȱreferencesȱvariables.ȱ
Figure 16. Hardware design of VCS-FGS-PID controllers for DC bus voltage. Where (*) is added to
Figure 16. Hardware design of VCS-FGS-PID controllers for DC bus voltage.
distinguish between the actual and the references variables.
ȱ
Electronicsȱ2023,ȱ12,ȱxȱFORȱPEERȱREVIEWȱ 19ȱ ofȱ 39ȱ
ȱ
Electronics 2023, 12, 1419 18 of 36
ȱ
Figureȱ17.ȱHardwareȱdesignȱofȱVCS-FGS-PIDȱcontrollersȱforȱgrid-sideȱconverter.ȱWhereȱ(*)ȱisȱ
Figure 17. Hardware design of VCS-FGS-PID controllers for grid-side converter. Where (*) is added
addedȱtoȱdistinguishȱbetweenȱtheȱactualȱandȱtheȱreferencesȱvariables.ȱ
to distinguish between the actual and the references variables.
ȱ
Electronics 2023, 12, x FOR PEER REVIEW 20 of 39
Electronics 2023, 12, x FOR PEER REVIEW if e(t ) 0 or e(t ) x2 e then y (t ) 0 21 of 39
if e(t ) x1e then y (t ) 3 e(t ) (21)
else y ( t ) 3 e( t ) 2
if de(t ) x1e or de(t ) x1e then y (t ) 0
if de(t ) 0 then y (t ) 3 de(t ) 1 (22)
function
3 de ) 1XSG.
Figure 19.
Figure 19. Design else
Designof
of y (t ) function
membership
membership (tfrom
NS
NS from XSG.
Fuzzy membership
The ZE-membership error derivative function is given by (22) and it is depicted using
the XSG in Figure 20.
Fuzzy membership
The ZE-membership error derivative function is given by (22) and it is depicted using
the XSG in Figure 20.
Figure 20.
Figure Design of
20. Design of ZE
ZE membership
membership function
function from
from XSG.
XSG.
K 'p is S
if (e is NS ) and (de is PB) then Kd' is B (23)
Electronics 2023, 12, 1419 is 4 20 of 36
.
Figure 21.
Figure 21. Rule design example
example from
from XSG.
XSG.
∑ Wij × Zij
y= (24)
∑ Wij
A wind turbine was constructed to revolve at a particular speed and produce a certain
energy amount. A control mechanism named “pitch angle” was used to control the power
output of the wind turbine, being increased if the wind speed is high. Figure 22b presents
the PMSG mechanical speed, while Figure 22c indicates the pitch angle variation. The
following is a summary of the control systems’ performance: the orientation angle increased
if the wind speed’s nominal value was surpassed. As a result, the Cp power coefficient
dropped, as represented in Figure 22d. Thus, the generated power was limited, as depicted
Electronics 2023, 12, x FOR PEER REVIEW 23 of 39
in Figure 23. A comparison study between the VCS-FGS-PID controller and the VCS-PI
controller is presented to prove the superior VCS-FGS-PID performance.
Figure 22.
Figure 22. (a)
(a) Wind speed, (b)
Wind speed, (b) mechanical
mechanical speed,
speed, (c)
(c) pitch
pitch angle
angle ββ and
and (d)
(d) power
power coefficient.
coefficient.
Electronics 2023, 12, x FOR PEER REVIEW 24 of 39
Electronics 2023, 12,
Electronics 2023, 12, 1419
x FOR PEER REVIEW 2422of
of 39
36
Figure24.
Figure Statorcurrent’s
24.Stator current’squadratic
quadraticcomponent.
component.
Figure 24. Stator current’s quadratic component.
The direct
The direct component
component of of the
the current,
current,which
whichisisparticularly
particularlyinjected
injectedtotothe grid,
the grid,and
andits
evolution are
The direct
its evolution illustrated
arecomponent in
illustrated inFigure
of Figure 25.
the current,The response
25. Thewhich of these curves
is particularly
response demonstrates
injected
of these curves the fact
to the grid, and
demonstrates the
that
its the VCS-FGS-PID
evolution are controller
illustrated in is
Figure better
25. than
The the VCS-PI
response of in terms
these of
curves
fact that the VCS-FGS-PID controller is better than the VCS-PI in terms of response time response time
demonstrates and
the
the
fact disturbance
that the rejection.
VCS-FGS-PID Compared
controller to
is the proposed
better than the VCS-FGS-PID
VCS-PI
and the disturbance rejection. Compared to the proposed VCS-FGS-PID control method, in control
terms of method,
response the
time
high
and wind
the speed
disturbance change had
rejection. an effect
Compared on the
to conventional
the proposed vector control.
VCS-FGS-PID
the high wind speed change had an effect on the conventional vector control. The profile The profile
control of
method,the
active
the power
high wind injected
speed to the grid
change had isanshown
effect in
on Figure
the 26.
conventional vector control. The profile
of the active power injected to the grid is shown in Figure 26.
of the active power injected to the grid is shown in Figure 26.
Electronics 2023, 12, x FOR PEER REVIEW 25 of 39
Electronics 2023,
Electronics 12,12,
2023, 1419
Electronics 2023,REVIEW
x FOR PEER 12, x FOR PEER REVIEW 23
25 of
of3639 2
Figure
Figure 26.
26. Active
Active power
power injected
injected into
into grid.
grid.
Figure
Figure 26. Active power26.injected
Active power injected into grid.
into grid.
Figure 27 generally presents the simulation result of the reactive power, which was
Figure
Figure2727generally
Figure
generally presents the
thesimulation
27 generally
presents presents the
simulation result ofofthe
thereactive
simulation
result power,
result of
reactive which
whichwas
the reactive
power, power,
was whic
injected to the grid as well. The system functioned at a unity power factor. VCS-FGS-PID
injected
injectedtoto
the
thegrid
gridasaswell.
injected The
to the
well. system
grid
The functioned
as well.
system The system
functioned atatafunctioned
aunity
unitypower at factor.
power unityVCS-FGS-PID
afactor. power factor. VCS-FG
VCS-FGS-PID
controllers clearly ignored the error while maintaining robustness qualities and finite-time
controllers
controllersclearly
clearlyignored
controllers
ignored thetheerror
clearly while
whilemaintaining
ignored
error the error while
maintaining robustness
maintaining
robustness qualities and
andfinite-time
robustness
qualities qualities and finit
finite-time
convergence. Figure 28 shows the DC bus voltage simulation results. It is remarkable that
convergence. Figure
convergence. Figure 28 shows
convergence.
28 shows the
Figure DC
the DC bus
28 showsvoltage
the DC
bus voltage simulation
bus voltage
simulation results. It is
simulation
results. remarkable
results. Itthat
It is remarkable is remarkab
that
the
the VCS-FGS-PID
VCS-FGS-PID controller minimized the error compared to
totothe VCS-PI controller while
the VCS-FGS-PID thecontroller
controllerminimized
VCS-FGS-PID minimized the
controllertheerror
errorcompared
minimized
comparedthe error the VCS-PI
VCS-PIcontroller
compared
the to while
the VCS-PI
controller whilecontroller
maintaining
maintaining robustness.
robustness.
maintaining maintaining robustness.
robustness.
Figure 29.
Figure Variationsininresistance
29.Variations resistanceasasa afunction
function
ofof time
time (s).(s).
Figure 29. Variations in resistance as a function of time (s).
Figure30
Figure 30presents
presentsthe
theelectromagnetic
electromagnetic torque
torque simulation
simulation results
results with
with thethe variation
variation
Figure
the stator30 presents the
resistance. electromagnetic
Asshown
showninin this torquea simulation
figure, variation inresults
the with the of
resistance variation
50%, 100%
in the stator resistance. As this figure, a variation in the resistance of 50%, 100%
in the stator resistance. As shown in this figure, a variation in the resistance of 50%, 100%
and 200%
and 200%resulted
resultedininthe
thedeviation
deviationofof
thethe conventional
conventional VCS-PI
VCS-PI controller,
controller, while
while the VCS-
the VCS-
and 200% resulted in the deviation of the conventional VCS-PI controller, while the VCS-
FGS-PIDcontroller
FGS-PID controllermaintained
maintaineda astable
stablebehavior.
behavior.AsAs a consequence,
a consequence, thethe stator
stator resistance
resistance
FGS-PID controller maintained a stable behavior. As a consequence, the stator resistance
variation test proves that the VCS-FGS-PID controller is more robust
variation test proves that the VCS-FGS-PID controller is more robust and more efficient and more efficient
variation test proves that the VCS-FGS-PID controller is more robust and more efficient
compared to
compared tothe
theVCS-PI
VCS-PIcontroller.
controller.
compared to the VCS-PI controller.
5.2. Comparative Study between Suggested FGS-PID and a Nonlinear Controller
In order to highlight the effectiveness of the proposed FGS-PID, a comparative study
with a SMC controller was carried out. As shown in Figure 31, the electromagnetic torque
response when the WECS is controlled using the VCS-FGS-PID approaches offered better
performance in terms of tracking accuracy and oscillation around the reference value.
However, the electromagnetic torque presented a chattering phenomenon followed by
high oscillation, which can lead to several undesirable effects on the quality of electrical
energy produced and the overall system. Moreover, Figures 32 and 33 show the evolution
of the quadratic component of stator current and the direct current component injected
into the grid, respectively. These figures show that the advantage of VCS-FGS-PID is that
it allows for excluding any phenomenon of chattering that may be caused by SMC while
Electronics 2023, 12, 1419 25 of 36
maintaining the robustness properties. This suggests that VCS-FGS-PID algorithms may
be more suitable control methods for industrial energy systems thanks to their ability to
provide excellent accuracy and robustness without the issues of chattering that may be
present in the SMC control technique. Figure 34 shows the simulation result of active
power injected into the grid. It can be seen that the VCS-FGS-PID approaches allowed
Electronics 2023, 12, x FOR PEER REVIEW 27 of for
39
the reduction or even the elimination of the chattering phenomenon while keeping the
robustness properties and convergence in finite time.
At=2s
At=4s
At=8s
Figure
Figure30.
30.Electromagnetic
Electromagnetictorque
torqueresponse
responseunder
underparameter
parametervariations.
variations.
Figure31.
Figure
Figure 31.Electromagnetic
31. Electromagnetictorque.
Electromagnetic torque.
torque.
Figure 33.
Figure 33. Quadratic
Quadratic stator
stator current.
current.
Electronics 2023, 12, 1419 27 of 36
Figure
Figure 34.
34. Active
Active power
power injected
injected into
into the
the grid.
grid.
The proposedcontroller
The proposed controllerperformance
performance waswas
alsoalso evaluated
evaluated through
through various
various perfor-
performance
mance
indicesindices using
using the MeantheAbsolute
Mean Absolute Error (MAE),
Error (MAE), the Mean the MeanError
Square Square Error
(MSE) (MSE)
and and
the Root
the
MeanRoot MeanError
Square Square Error The
(RMSE). (RMSE).
errorsThe errors of electromagnetic
of electromagnetic torque, quadratic
torque, quadratic sta-
stator current,
tor current,
direct direct grid
grid current and current and active
active power power
injected intoinjected
the gridinto
are the grid as:
defined are defined as:
eTemeTem= Tem
Tem re fref
−TTememactual
actual
e = i
isqe sqire f −isq
isq i sqref− i isqactual
eird =
actual
, (25)
e e=
rdre f rd actual , (25)
Pr ird Prreirdf ref− Priactual
rd actual
ePr Prref torque,
where Temre f is the reference electromagnetic Practual T
em actual is the actual electromagnetic
torque, isqre f is the reference stator current, isqactual is the actual stator current, irdre f is the
where
referenceTemdirect
ref
is grid
the reference electromagnetic
current, ird is the actual torque,
direct gridTemactualcurrent,
is thePactual electromag-
rre f is the reference
actual
activetorque,
netic power iinjected into
is the reference and Pcurrent,
the gridstator isqactual
r actual is the actual active
is the power
actual stator injected intoi the
current,
sq rd ref
grid. The MAE,refMSE and RMSE are defined as follows [65]:
is the reference direct grid current, ird actual is the actual direct grid current, Prref is the
n
1
reference active power injected intoMAE ∑ |eP
= nand
the grid i |r is the actual active power injected
actual i =1
into the grid. The MAE, MSE and RMSE are1defined
n as follows [65]:
MSE = n ∑ ei 2 (26)
i =1
s
n
1
RMSE = n ∑ ei 2
i =1
which is known as the co-simulation test, and which has a significant role in validating the
synthesized control strategy. In addition to this, it reduces the overall time that is required
for accomplishing the experimental tests as well as improves the implementation efficiency.
As a consequence, the hardware co-simulation of the suggested VCS-FGS-PID controller
can be based on:
• Simulation step: The numerical simulation performed in the Matlab/Simulink en-
vironment is used for validating as well as confirming the implementation of the
VCS-FGS-PID control algorithm;
• XSG simulation step: This step verifies that the results provided by the XSG simulation
are similar to those obtained using Matlab/Simulink;
• Hardware co-simulation step: We implement the XSG model on an FPGA board. In
fact, simulation is also called hardware-in-the-loop simulation. Therefore, the designed
XSG architecture should be compatible with the characteristics of the FPGA board to
be implemented.
It should be noted that a Joint Test Action Group (JTAG) co-simulation module, known
as “JTAG co-sim”, is automatically generated between the gateway-in and gateway-out of
Electronicsȱ2023,ȱ12,ȱxȱFORȱPEERȱREVIEWȱ 32ȱ ofȱ 39ȱ
ȱ the XSG blocks during the hardware co-simulation process. Figure 35 displays a broad block
schematic of the implementation architecture of the suggested co-simulation procedure.
ȱ
Figure 35. Hardware co-simulation.
Figureȱ35.ȱHardwareȱco-simulation.ȱ
A library of logic cores that is designed specifically for FPGA implementation can
AȱlibraryȱofȱlogicȱcoresȱthatȱisȱdesignedȱspecięcallyȱforȱFPGAȱimplementationȱcanȱbeȱ
be obtained, which is ready to be configured and utilized as a function of the designer’s
obtained,ȱwhichȱisȱreadyȱtoȱbeȱconęguredȱandȱutilizedȱasȱaȱfunctionȱofȱtheȱdesigner’sȱspec-
specifications. Following that, the Xilinx Integrated Software Environment (VIVADO) is
ięcations.ȱFollowingȱthat,ȱtheȱXilinxȱIntegratedȱSoftwareȱEnvironmentȱ(VIVADO)ȱisȱuti-
utilized for generating “netlist” files for the implementation of system generator blocks.
lizedȱ forȱ generatingȱ “netlist”ȱ ęlesȱ forȱ theȱ implementationȱ ofȱ systemȱ generatorȱ blocks.ȱ
These files are responsible for the conversion of the logic design to a physical file. They also
Theseȱęlesȱareȱresponsibleȱforȱtheȱconversionȱofȱtheȱlogicȱdesignȱtoȱaȱphysicalȱęle.ȱTheyȱ
generate a bitstream to be transferred to a target tool using the typical JTAG connection.
alsoȱgenerateȱaȱbitstreamȱtoȱbeȱtransferredȱtoȱaȱtargetȱtoolȱusingȱtheȱtypicalȱJTAGȱconnec-
Simulation in MATLAB XSG allows the FPGA application to be tested under the same
tion.ȱ Simulationȱ inȱ MATLABȱ XSGȱ allowsȱ theȱ FPGAȱ applicationȱ toȱ beȱ testedȱ underȱ theȱ
conditions as physical devices while having a similar variable and operator data width.
sameȱ conditionsȱ asȱ physicalȱ devicesȱ whileȱ havingȱ aȱ similarȱ variableȱ andȱ operatorȱ dataȱ
Following the simulation and timing analysis of the proposed control algorithm
width.ȱ ȱ
architecture, the hardware co-simulation phase is used in order to confirm the design
Followingȱtheȱsimulationȱandȱtimingȱanalysisȱofȱtheȱproposedȱcontrolȱalgorithmȱar-
performance on an FPGA ZedBoard. As shown in Figure 35, the bitstream file is generated
chitecture,ȱtheȱhardwareȱco-simulationȱphaseȱisȱusedȱinȱorderȱtoȱconęrmȱtheȱdesignȱper-
formanceȱonȱanȱFPGAȱZedBoard.ȱAsȱshownȱinȱFigureȱ35,ȱtheȱbitstreamȱęleȱisȱgeneratedȱ
andȱsynthesizedȱthroughȱhardwareȱco-simulation,ȱwhichȱisȱutilizedȱforȱprogrammingȱanȱ
FPGAȱandȱgeneratingȱaȱnovelȱJTAGȱblock.ȱTheȱlaĴerȱwillȱreplaceȱtheȱXSGȱdesignȱofȱtheȱ
VCS-FGS-PIDȱ controller.ȱ Throughȱ theȱJTAGȱ cable,ȱ theȱ FPGAȱ boardȱ canȱ readȱ theȱ statorȱ
Electronics 2023, 12, 1419 30 of 36
Figure36.
Figure 36.Hardware
Hardwareco-simulation
co-simulationfor
forVCS-FGS-PID
VCS-FGS-PIDcontrollers.
controllers.
Figure
Figure 39.Hardware
Figure39.
39. Hardware
Hardware
co-simulation for direct
co-simulation
co-simulation for
grid current.
for direct
direct grid current.
grid current.
Figure41.
Figure Hardwareco-simulation
41.Hardware co-simulationfor
foractive
activegrid-injected
grid-injectedpower.
power.
Figure 41. Hardware co-simulation for active grid-injected power.
Figure42.
Figure Hardwareco-simulation
42.Hardware co-simulationfor
forreactive
reactivegrid-injected
grid-injected power.
power.
Figure 42. Hardware co-simulation for reactive grid-injected power.
Table99details
Table details the
the FPGA
FPGA resource
resource utilization
utilization of
of the
the proposed
proposed design.
design. The
The suggested
suggested
Table 9 details
implementation uses the FPGA0.2%resource 59%
utilization of the proposed thedesign. The suggested
implementation uses between
between 0.2%and and 59%resources.
resources. Moreover,
Moreover, results
the show
results showthe low-
the
implementation
cost benefits uses
through between
the FPGA 0.2% and 59%
implementation. resources.
Indeed, Moreover,
the the
architecture results
of the show the
proposed
low-cost benefits through the FPGA implementation. Indeed, the architecture of the pro-
low-cost
design benefitsa through
occupies reduced the
areaFPGA
while implementation.
providing Indeed,
favorable the architecture
performance. of
In fact,Inthethe pro-
FPGA
posed design occupies a reduced area while providing favorable performance. fact, the
posed design
real-time occupies
implementation a reduced area
can be utilizedwhile providing
in various favorable performance. In fact, the
FPGA real-time implementation can be utilized in industrial processesprocesses
various industrial for the WECS.for the
FPGA real-time implementation can be utilized in various industrial processes for the
WECS.
WECS.
Table 9. Hardware resource consumption synthesis.
Table 9. Hardware resource consumption synthesis.
Resources Utilization Available Utilization %
Resources Utilization Available Utilization %
LUT 31,774 53,200 59.725563
Electronics 2023, 12, 1419 33 of 36
6. Conclusions
In this article, the development and hardware implementation of two control schemes
(VCS-FGS-PID and VCS-PI) applied to a grid-connected variable-speed WECS have been
discussed. There are two major aims for the control of the WECS. The first one is the
PMSG-side converter control, which allows the wind turbine to extract the maximal power.
The second one is the grid-side control, which aims to maintain the operation in a unity
power factor by controlling the reactive and active power transferred into the power grid.
This controller also regulates the DC bus voltage. The first control scheme based on the
FGS-PID controller has been compared to the second one based on the conventional PI
controller. For a better evaluation of varied control technique performance, a comparative
study has been extended under varied stator resistance. The VCS-FGS-PID controller has
been developed for solving any limit of the conventional VCS-PI controller as regards
performance and stability under the nonlinearity behavior of the WECS.
For the hardware implementation, the XSG has been utilized for implementing the sug-
gested control technique on the FPGA. The proposed approach hardware implementation
is simple and quick thanks to a novel method based on the XSG. The various simulation
results show the superior performance of the VCS-FGS-PID controller when compared to
the conventional VCS-PI controller in terms of response time, stability properties, dynamics,
tracking and accuracy under the high fluctuation of the wind speed and the varied stator
resistance. The implementation result shows the FPGA efficiency in terms of execution
time. Indeed, it has been quite short when compared to the dSPACE execution time, owing
to parallel processing. The short execution time increases the machine performance and
reduces the torque, as well as stator current disturbance, allowing more complicated algo-
rithms to be implemented. Finally, the XSG implementation approach may be thought of
as an important tool for implementing real-time hardware FPGAs as well as complicated
and preferred WECS control algorithms.
Nevertheless, there are other challenges remaining to be solved in our future work
such as the verification of the suggested VCS-FGS-PID method performance according to
real experimental results. Moreover, the authors will focus on the integration of a battery
energy storage system for the WECS. This could involve developing new control strategies
and power management systems to optimize the output power, and subsequently obtain a
perfect wind system able of ensuring a continuous load supply without fluctuations.
Author Contributions: Conceptualization, M.H., S.K. and Y.K.; methodology, M.H., S.K., Y.K. and
M.A.H.; software, M.H.; validation, M.H., S.K., Y.K. and M.A.H.; formal analysis, S.K., Y.K. and
M.A.H.; investigation, M.H., S.K., Y.K. and M.A.H.; resources, S.K., Y.K., M.A.H. and H.A.; data
curation, M.H.; writing—original draft preparation, M.H., S.K. and Y.K.; writing—review and editing,
M.H., S.K., Y.K. and M.A.H.; visualization, M.H., S.K., Y.K., M.A.H. and A.S.A.; supervision, S.K., Y.K.
and M.A.H.; project administration, B.M.A. and T.G.; funding acquisition, T.G. All authors have read
and agreed to the published version of the manuscript.
Funding: This research has been funded by the Scientific Research Deanship at University of
Ha’il—Saudi Arabia through project number RG-21 137.
Data Availability Statement: Not applicable.
Conflicts of Interest: The authors declare no conflict of interest.
Electronics 2023, 12, 1419 34 of 36
Nomenclature
References
1. Orusa, T.; Orusa, R.; Viani, A.; Carella, E.; Borgogno Mondino, E. Geomatics and EO Data to Support Wildlife Diseases Assessment
at Landscape Level: A Pilot Experience to Map Infectious Keratoconjunctivitis in Chamois and Phenological Trends in Aosta
Valley (NW Italy). Remote Sens. 2020, 12, 3542. [CrossRef]
2. Orusa, T.; Viani, A.; Cammareri, D.; Borgogno Mondino, E. A Google Earth Engine Algorithm to Map Phenological Metrics in
Mountain Areas Worldwide with Landsat Collection and Sentinel-2. Geomatics 2023, 3, 221–238. [CrossRef]
3. Orusa, T.; Cammareri, D.; Borgogno Mondino, E. A Possible Land Cover EAGLE Approach to Overcome Remote Sensing Limitations
in the Alps Based on Sentinel-1 and Sentinel-2: The Case of Aosta Valley (NW Italy). Remote Sens. 2023, 15, 178. [CrossRef]
4. Orusa, T.; Borgogno Mondino, E. Exploring Short-Term Climate Change Effects on Rangelands and Broad-Leaved Forests by Free
Satellite Data in Aosta Valley (Northwest Italy). Climate 2021, 9, 47. [CrossRef]
5. Orusa, T.; Cammareri, D.; Borgogno Mondino, E. A Scalable Earth Observation Service to Map Land Cover in Geomorphological
Complex Areas beyond the Dynamic World: An Application in Aosta Valley (NW Italy). Appl. Sci. 2023, 13, 390. [CrossRef]
6. Carella, E.; Orusa, T.; Viani, A.; Meloni, D.; Borgogno-Mondino, E.; Orusa, R. An Integrated, Tentative Remote-Sensing Approach
Based on NDVI Entropy to Model Canine Distemper Virus in Wildlife and to Prompt Science-Based Management Policies.
Animals 2022, 12, 1049. [CrossRef]
7. Orusa, T.; Borgogno Mondino, E. Landsat 8 thermal data to support urban management and planning in the climate change era:
A case study in Torino area, NW Italy. Remote Sens. Technol. Appl. Urban Environ. 2019, 111570, 133–149. [CrossRef]
8. Vigneysh, T.; Kumarappan, N. Autonomous operation and control of photovoltaic/solid oxide fuel cell/battery energy storage
based microgrid using fuzzy logic controller. Int. J. Hydrog. Energy 2016, 41, 1877–1891. [CrossRef]
9. Kollimalla, S.K.; Mishra, M.K.; Narasamma, N.L. Design and analysis of novel control strategy for battery and supercapacitor
storage system. IEEE Trans. Sustain. Energy 2014, 5, 1137–1144. [CrossRef]
10. Jacobson, M.Z.; Delucchi, M.A. Providing all global energy with wind, water, and solar power, part I: Technologies, energy
resources, quantities and areas of infrastructure, and materials. Energy Policy 2011, 39, 1154–1169. [CrossRef]
11. Meghni, B.; Dib, D.; Azar, A.T. A second-order sliding mode and fuzzy logic control to optimal energy management in wind
turbine with battery storage. Neural. Comput. Appl. 2017, 28, 1417–1434. [CrossRef]
12. Yan, S.; Gu, Z.; Park, J.; Xie, X. Sampled Memory-Event-Triggered Fuzzy Load Frequency Control for Wind Power Systems
Subject to Outliers and Transmission Delays. Trans. Cybernet. 2022. [CrossRef]
13. Yan, S.; Gu, Z.; Park, J.H.; Xie, X. Adaptive memory-event-triggered static output control of T–S fuzzy wind turbine systems.
IEEE Trans. Fuzzy Syst. 2021, 30, 3894–3904. [CrossRef]
14. Yan, S.; Gu, Z.; Park, J.H.; Xie, X.; Dou, C. Probability-density-dependent load frequency control of power systems with random
delays and cyber-attacks via circuital implementation. IEEE Trans. Smart Grid 2022, 13, 4837–4847. [CrossRef]
15. Chavero-Navarrete, E.; Trejo-Perea, M.; Jáuregui-Correa, J.C.; Carrillo-Serrano, R.V.; Ríos-Moreno, J.G. Expert control systems for
maximum power point tracking in a wind turbine with PMSG: State of the art. Appl. Sci. 2019, 9, 2469. [CrossRef]
16. Kristiansson, B.; Lennartson, B. Robust and optimal tuning of PI and PID controllers. IEE Proc.-Control. Theory Appl. 2002, 149,
17–25. [CrossRef]
17. Prasad, L.B.; Tyagi, B.; Gupta, H.O. Optimal control of nonlinear inverted pendulum dynamical system with disturbance input
using PID controller & LQR. In Proceedings of the 2011 IEEE International Conference on Control System, Computing and
Engineering, Penang, Malaysia, 25–27 November 2011; IEEE: New York, NY, USA; pp. 540–545.
Electronics 2023, 12, 1419 35 of 36
18. Sedighizadeh, M.; Rezazadeh, A.; Khatibi, M. A self-tuning PID control for a wind energy conversion system based on the
Lyapunov approach. In Proceedings of the 2008 43rd International Universities Power Engineering Conference, Padova, Italy, 1–4
September 2008; IEEE: New York, NY, USA; pp. 1–4.
19. Su, Y.X.; Sun, D.; Duan, B.Y. Design of an enhanced nonlinear PID controller. Mechatronics 2005, 15, 1005–1024. [CrossRef]
20. Qais, M.H.; Hasanien, H.M.; Alghuwainem, S. Optimal Transient Search Algorithm-Based PI Controllers for Enhancing Low
Voltage Ride-Through Ability of Grid-Linked PMSG-Based Wind Turbine. Electronics 2020, 9, 1807. [CrossRef]
21. Hoai, H.-K.; Chen, S.-C.; Than, H. Realization of the Sensorless Permanent Magnet Synchronous Motor Drive Control System
with an Intelligent Controller. Electronics 2020, 9, 365. [CrossRef]
22. Etxeberria, A.; Vechiu, I.; Camblong, H.; Vinassa, J.M. Comparison of sliding mode and PI control of a hybrid energy storage
system in a microgrid application. Energy Proced. 2011, 12, 966–974. [CrossRef]
23. Errami, Y.; Ouassaid, M.; Maaroufi, M. A performance comparison of a nonlinear and a linear control for grid connected PMSG
wind energy conversion system. Int. J. Electr. Power 2015, 68, 180–194. [CrossRef]
24. Song, Y.; Wu, S.; Yan, Y.Y. Control strategies for indoor environment quality and energy efficiency—A review. Int. J. Low Carbon
Technol. 2013, 10, 305–312. [CrossRef]
25. Krim, Y.; Abbes, D.; Krim, S.; Mimouni, M.F. Classical vector, first-order sliding-mode and high-order sliding-mode control for a
grid connected variable-speed wind energy conversion system: A comparative study. Wind. Eng. 2018, 42, 16–37. [CrossRef]
26. Liu, X.; Yu, H.; Yu, J.; Zhao, L. Combined speed and current terminal sliding mode control with nonlinear disturbance observer
for PMSM drive. IEEE Access 2018, 6, 29594–29601. [CrossRef]
27. Krim, S.; Gdaim, S.; Mtibaa, A.; Mimouni, M.F. Implementation on the FPGA of DTC-SVM Based Proportional Integral and
Sliding Mode Controllers of an Induction Motor: A Comparative Study. J. Circuits Syst. Comput. 2017, 26, 1750049. [CrossRef]
28. Talla, J.; Leu, V.Q.; Šmídl, V.; Peroutka, Z. Adaptive Speed Control of Induction Motor Drive With Inaccurate Model. IEEE Trans.
Ind. Electron. 2018, 65, 8532–8542. [CrossRef]
29. El Mourabit, Y.; Derouich, A.; El Ghzizal, A.; El Ouanjli, N.; Zamzoum, O. Nonlinear backstepping control for PMSG wind
turbine used on the real wind profile of the Dakhla-Morocco city. Int. Trans. Electr. Energy Syst. 2020, 30, e12297. [CrossRef]
30. Saidi, Y.; Mezouar, A.; Miloud, Y.; Benmahdjoub, M.A.; Brahmi, B.; Meddah, A.; Khalfallah, B. Adaptive Control of Wind Turbine
Generators for Power Capture Optimization by Using Integral Backstepping Approach During Partial-Load Operation. J. Control
Autom. Electr. Syst. 2021, 32, 1041–1052. [CrossRef]
31. Mahmood, M.; Niels Kjølstad, P.; Hans Henrik, N. Robust model predictive control of a wind turbine. In Proceedings of the 2012
American Control Conference (ACC), Montreal, QC, Canada, 27–29 June 2012; IEEE: New York, NY, USA, 2012; pp. 4393–4398.
32. Benbouhenni, H.; Bizon, N. Advanced direct vector control method for optimizing the operation of a double-powered induction
generator-based dual-rotor wind turbine system. Mathematics 2021, 9, 2403. [CrossRef]
33. Setiawan, I.; Priyadi, A.; Miyauchi, H.; Purnomo, M.H. Adaptive B-spline neural network-based vector control for a grid side
converter in wind turbine-DFIG systems. IEEJ Trans. Electr. Electron. Eng. 2015, 10, 674–682. [CrossRef]
34. Benbouhenni, H. Application of seven-level neural space vector PWM in direct vector control system of doubly fed induction
generator for wind turbine. Int. J. Smart Grid 2019, 3, 163–171.
35. Cadenas, E.; Rivera, W. Short term wind speed forecasting in La Venta, Oaxaca, Mexico, using artificial neural networks. Renew.
Energy 2009, 34, 274–278. [CrossRef]
36. Muyeen, S.M.; Al-Durra, A. Modeling and control strategies of fuzzy logic controlled inverter system for grid interconnected
variable speed wind generator. IEEE Syst. J. 2013, 7, 817–824. [CrossRef]
37. Evangelista, C.; Puleston, P.; Valenciaga, F.; Fridman, L.M. Lyapunov-designed super-twisting sliding mode control for wind
energy conversion optimization. IEEE Trans. Ind. Electron. 2013, 60, 538–545. [CrossRef]
38. Amimeur, H.; Aouzellag, D.; Abdessemed, R.; Ghedamsi, K. Sliding mode control of a dual-stator induction generator for wind
energy conversion systems. Int. J. Electr. Power Energy Syst. 2012, 42, 60–70. [CrossRef]
39. Yu, X.; Kaynak, O. Sliding-mode control with soft computing: A survey. IEEE Trans. Ind. Electron. 2009, 56, 3275–3285.
40. Wu, Q.; Wang, X.; Chen, B.; Wu, H. Neural network–based sliding-mode control of a tendon sheath–actuated compliant rescue
manipulator. J. Syst. Control Eng. 2019, 233, 1055–1066. [CrossRef]
41. Krim, S.; Gdaim, S.; Mtibaa, A.; Mimouni, M.F. Real time implementation of DTC based on sliding mode speed controller of an
induction motor. In Proceedings of the 16th International Conference on Sciences and Techniques of Automatic Control and
Computer Engineering (STA), Monastir, Tunisia, 21–23 December 2015; IEEE: New York, NY, USA, 2015.
42. Xu, R.; Zhou, M. Sliding mode control with sigmoid function for the motion tracking control of the piezo-actuated stages. Electron.
Lett. 2017, 53, 75–77. [CrossRef]
43. Di Gennaro, S.; Rivera Domínguez, J.; Meza, M.A. Sensorless high order sliding mode control of induction motors with core loss.
IEEE Trans. Ind. Electron. 2014, 61, 2678–2689. [CrossRef]
44. Benbouhenni, H. Neuro-second order sliding mode field oriented control for DFIG based wind turbine. Int. J. Smart Grid 2018,
2, 209–217.
45. Chihi, A.; Azza, H.B.; Jemli, M.; Sellami, A. Nonlinear integral sliding mode control design of photovoltaic pumping system: Real
time implementation. ISA Trans. 2017, 70, 475–485. [CrossRef]
46. Lee, Y.-S.; Jang, D.-W. Optimization of Neural Network-Based Self-Tuning PID Controllers for Second Order Mechanical Sys-tems.
Appl. Sci. 2021, 11, 8002. [CrossRef]
Electronics 2023, 12, 1419 36 of 36
47. Tiwari, R.; Ramesh Babu, N.; Arunkrishna, R.; Sanjeevikumar, P. Comparison between PID controller and fuzzy logic-based
control strategies for harmonic reduction in grid-integrated wind energy conversion system. In Advances in Smart Grid and
Renewable Energy; Springer: Singapore, 2018; pp. 297–306.
48. Chaiyatham, T.; Ngamroo, I. Optimal fuzzy gain scheduling of PID controller of superconducting magnetic energy storage for
power system stabilization. Int. J. Innov. Comput. Inf. Control. 2013, 9, 651–666.
49. Krim, S.; Mimouni, M.F. Design and Xilinx Virtex-field-programmable gate array for hardware in the loop of sensorless second-
order sliding mode control and model reference adaptive system–sliding mode observer for direct torque control of induction
motor drive. J. Syst. Control Eng. 2022. [CrossRef]
50. Amdouni, R.; Gafsi, M.; Guessmi, R.; Hajjaji, M.A.; Mtibaa, A.; Bourennane, E.B. High-performance hardware architecture of a
robust encryption block-cipher algorithm based on different chaotic maps and DNA sequence encoding. Integration 2022, 87,
346–363. [CrossRef]
51. Gafsi, M.; Hajjaji, M.A.; Malek, J.; Mtibaa, A. FPGA hardware acceleration of an improved chaos-based cryptosystem for real-time
image encryption and decryption. J. Ambient Intell. Human. Comput. 2021, 1–22. [CrossRef]
52. Hermassi, M.; Krim, S.; Krim, Y.; Hajjaji, M.; Mtibaa, A.; Mimouni, M.F. Hardware FPGA implementation of an intelligent vector
control technique of three-phase rectifier for wind turbine connected to the grid. In Proceedings of the 2022 IEEE 9th International
Conference on Sciences of Electronics, Technologies of Information and Telecommunications (SETIT), Hammamet, Tunisia, 28–30
May 2022; pp. 549–555. [CrossRef]
53. Krim, S.; Gdaim, S.; Mtibaa, A.; Mimouni, M.F. Design and Implementation of Direct Torque Control Based on an Intelligent
Technique of Induction Motor on FPGA. J. Electr. Eng. Technol. 2015, 10, 1527–1539. [CrossRef]
54. Naouar, M.W.; Monmasson, E.; Naassani, A.A.; Belkhodja, I.S. FPGA-Based Dynamic Reconfiguration of Sliding Mode Current
Controllers for Synchronous Machines. IEEE Trans. Ind. Inform. 2013, 9, 1262–1271. [CrossRef]
55. Monmasson, E.; Idkhajine, L.; Cirstea, M.N.; Bahri, I.; Tisan, A.; Naouar, M.W. FPGAs in industrial control applications. IEEE
Trans. Ind. Inform. 2011, 7, 224–243. [CrossRef]
56. Dagbagi, M.; Idkhajine, L.; Monmasson, E.; SlamaBelkhodja, I. FPGA implementation of power electronic converter real-time
model. In Proceedings of the International Symposium on Power Electronics, Electrical Drives, Automation and Motion, Sorrento,
Italy, 19–22 June 2012; IEEE: Sorrento, Italy, 2012; pp. 658–663.
57. Rashid, G.; Ali, M.H. Fault ride through capability improvement of DFIG based wind farm by fuzzy logic controlled parallel
resonance fault current limiter. Electr. Power Syst. Res. 2017, 146, 1–8. [CrossRef]
58. Rekik, M.; Krichen, L. Control of a wind turbine for grid fault detection in stand-alone or grid-connected modes. In Proceedings
of the 2012 1st International Conference on Renewable Energies and Vehicular Technology (REVET), Hammamet, Tunisia, 26–28
March 2012; IEEE: New York, NY, USA, 2012; pp. 244–250.
59. Soliman, M.A.; Hasanien, H.M.; Azazi, H.Z.; El-Kholy, E.E.; Mahmoud, S.A. An adaptive fuzzy logic control strategy for
performance enhancement of a grid-connected PMSG-based wind turbine. IEEE Trans. Ind. Inform. 2018, 15, 3163–3173.
[CrossRef]
60. Zhao, Z.Y.; Tomizuka, M.; Isaka, S. Fuzzy gain scheduling of PID controllers. IEEE Trans. Syst. Man Cybern. 1993, 23, 1392–1398.
[CrossRef]
61. Zarrad, O.; Hajjaji, M.A.; Jemaa, A.; Mansouri, M.N. Sizing Control and Hardware Implementation of a Hybrid Wind-Solar
Power System, Based on an ANN Approach, for Pumping Water. Int. J. Photoenergy 2019, 2019, 5672032. [CrossRef]
62. Hermassi, M.; Krim, S.; Krim, Y.; Hajjaji, M.; Mtibaa, A.; Mimouni, M.F. Xilinx-FPGA for Real-Time Implementation of Vector
Control Strategies for a Grid-Connected Variable-Speed Wind Energy Conversion System. In Proceedings of the 2022 5th
International Conference on Advanced Systems and Emergent Technologies (IC_ASET), Hammamet, Tunisia, 29 April–1 May
2022; pp. 49–54. [CrossRef]
63. Zarrad, O.; Hajjaji, M.A.; Mansouri, M.N. Hardware implementation of hybrid wind-solar energy system for pumping water
based on artificial neural network controller. Stud. Inform. Control. 2019, 28, 35–44. [CrossRef]
64. Hajjaji, M.A.; Abdellali, A.B.; Farhani, N.; Gafsi, M.; Mtibaa, A. Real time implementation of numerical watermarking system
using Xilinx system generator. In Proceedings of the 2015 16th International Conference on Sciences and Techniques of Automatic
Control and Computer Engineering (STA), Monastir, Tunisia, 21–23 December 2015; pp. 404–409. [CrossRef]
65. Ge, J.; Zhao, L.; Yu, Z.; Liu, H.; Zhang, L.; Gong, X.; Sun, H. Prediction of greenhouse tomato crop evapotranspiration using
XGBoost machine learning model. Plants 2022, 11, 1923. [CrossRef]
66. Bossoufi, B.; Karim, M.; Lagrioui, A.; Taoussi, M. FPGA-Based Implementation Sliding Mode Control and nonlinear Adaptive
Backstepping control of a Permanent Magnet Synchronous Machine Drive. Wseas Trans. Syst. Control 2014, 9, 86–100.
67. Alami, H.E.; Bossoufi, B.; Motahhir, S.; Alkhammash, E.H.; Masud, M.; Karim, M.; El Mahfoud, M. FPGA in the loop implementa-
tion for observer sliding mode control of DFIG-generators for wind turbines. Electronics 2021, 11, 116. [CrossRef]
68. Kroplewski, P.; Morawiec, M.; Jaderko,
˛ A.; Odeh, C. Simulation Studies of Control Systems for Doubly Fed Induction Generator
Supplied by the Current Source Converter. Energies 2021, 14, 1511. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual
author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to
people or property resulting from any ideas, methods, instructions or products referred to in the content.