Efficiency Maximization of Grid-Connected Tidal Stream Turbine System: A Supervisory Energy-Based Speed Control Approach with Processor in the Loop Experiment

Permanent magnet synchronous generator (PMSG) with a back-to-back power converter is one of the commonly used technologies in tidal power generation schemes. However, the nonlinear dynamics and time-varying parameters of this kind of conversion system make the controller computation a challenging task. In the present paper, a novel intelligent control method based on the passivity concept with a simple structure is proposed. This proposed strategy consists of passivity-based speed control (PBSC) combined with a fuzzy logic method to address the robustness problems faced by conventional control techniques such as proportional-integral (PI) control. The proposed method extracts the maximum power from the tidal energy, compensates for the uncertainty in a damped way where the entire dynamics of the PMSG are considered when designing the control law. The fuzzy logic controller is selected, which makes the proposed strategy intelligent to compute the damping gains to make the closed-loop passive and approximate the unstructured dynamics of the PMSG. Thus, the robustness property of the closed-loop system is considerably increased. The regulation of DC voltage and reactive power to their desired values are the principal objectives of the present work. The proposed method is used to control the machine-side converter (MSC), while a conventional PI method is adopted to control the grid-side converter (GSC). Dynamic simulations show that the DC voltage and reactive power errors are extremely reduced with the proposed strategy; ±0.002 for the DC-link voltage and ±0.000015 in the case of the reactive power. Moreover, the lowest steady-state error and better convergence criterion are shown by the proposed control (0.3 × 10−3 s). Generally, the proposed candidate offers high robustness, fast speed convergence, and high efficiency over the other benchmark nonlinear strategies. Moreover, the proposed controller was also validated in a processor in the loop (PIL) experiment using Texas Instruments (TI) Launchpad.


Introduction
The tidal energy that results from the transformation of the kinetic energy of marine currents into electrical energy through tidal turbines has gained increasing attention in recent years due to its advantages of being a clean source of renewable energy and highly predictable, compared to its predecessors [1,2]. Therefore, it is a marine transposition of the wind rotor that recovers the kinetic energy of the wind. The parallel that can be established between the two technologies can be found in the first place in the similar designs that have been adopted. The use of PMSG in tidal turbine systems has high potential due to its reliability, increased energy, reduced failure, and the possibility to eliminate the gearbox, which leads to low maintenance and enables the PMSG to be very favorable in marine current applications [2]. However, the controller computation for the PMSG is still related to the MSC such as sudden changes in tidal velocity, parametric uncertainties PMSG nonlinear properties. Thus, a classical PI controller is adopted by the GSC tha enhance the overall performances of the closed-loop. A special focus is given to the PM as it is the bridge between the tidal turbine and the grid, that is, by keeping into cons ation the complete dynamic of the PMSG when formulating the new proposed co plan. Furthermore, the robustness against parameter changes has been given speci tention. The novelty and research contribution of this technique is its simple structur the incredibly low number of fixed gains used by the proposed approach, which red the system′s sensitivity to measurement noise and greatly improves the system′s g stability and robustness. Moreover, the fuzzy logic controller is selected which make proposed strategy intelligent to compute the damping gains and approximate the uns tured dynamics of the PMSG. Extensive numerical investigations are made to de strate the robustness of the proposed approach against parameter changes and ext disturbances. Moreover, extensive comparison with other nonlinear controls is prov to highlight the superiority of the proposed fuzzy supervisory-PBSC (FS-PBSC). M ver, utilizing the Texas Instruments (TI) Springboard, the suggested controller is valid in a PIL experiment.
This paper is organized in the present form. In Section 2, the system descriptio proposed strategy design procedure, and the control method applied to the grid-side verter (GSC) are established. Section 3 deals with the extensive numerical investig and experimental validation of the proposed candidate strategy. Finally, Section 4 with the main conclusions of the present paper.

Marine Current Conversion System Modeling
The configuration of the investigated conversion system with MATLAB/Simul presented in Figure 1, which is mainly composed of tidal turbine, PMSG, AC-DC-AC verter, and the grid. The proposed strategy is applied to the MSC for regulation o produced power via the generator, while the network receives only the active power the classical PI method, which represents the main aim of the GSC controller.

Tidal Turbine Model
The following is the mathematical formula of the marine current power that can be extracted by the turbine [5,25]: Sustainability 2021, 13, 10216 4 of 23 C p (β, λ) = 0.5 116 where v s denotes the marine current speed, β denotes the pitch angle, ω t denotes the turbine speed, R denotes the radius of the blades, C p represents the power coefficient, λ denotes tip-speed ratio, ρ represents marine current density, and A represents the swept area of the blades.

Permanent Magnet Synchronous Generator Modeling
To design the proposed strategy, the PMSG model in dq-frame is adopted, expressed as [17,26]: T em = 3 2 pψ dq i dq (8) where i dq = i d i q represents the stator current vector, T em denotes the electromagnetic torque, L dq = L d 0 0 L q represents the matrix of the stator induction, f f v represents the viscous coefficient, θ e represents the electrical angular, v dq = v d v q denotes the voltage stator vector, R dq = R S 0 0 R s represents the stator resistance matrix, ψ dq = ψ d ψ q = L d i d + ψ f L q i q is the flux linkages vector, ω m denotes the PMSG speed, ψ f are the flux linkages due to the permanent magnets, p is the number of pole-pairs, = 0 −1 1 0 , and T m is the mechanical torque output of the turbine.

Verification of the Proposed Control's Applicability
As mentioned previously, the design of the proposed fuzzy supervisory passivitybased speed control (FS-PBSC) needs several steps to be verified. Firstly, it is required to demonstrate the passivity property of the PMSG model such that the proposed method can be applied. Secondly, the PMSG needs to decompose into two passive sub-systems with negative feedback. Finally, the PMSG model's non-dissipative terms are identified to compute a controller with a simple structure. Two steps are distinguished in the investigated candidate process shown in Figure 2. The first step consists of the design of the reference current through the mechanical torque and the desired speed which is the tidal speed, and then the controller law is computed using the developed FS-PBSC strategy. reference current through the mechanical torque and the desired speed which is the tidal speed, and then the controller law is computed using the developed FS-PBSC strategy. The PMSG model given by (6)- (8) can be re-arranged as follows: The lemma 1 is formulated based on the above (9)-(10), as expressed below: Lemma 1. The model (6)- (8) is decomposable into two sub-systems interconnected with passive feedback, i.e., electrical dynamic ∑ and mechanical dynamic ∑ based on the above conditions. The PMSG model given by (6)- (8) can be re-arranged as follows: The lemma 1 is formulated based on the above (9) and (10), as expressed below: Lemma 1. The model (6)-(8) is decomposable into two sub-systems interconnected with passive feedback, i.e., electrical dynamic ∑ e and mechanical dynamic ∑ m based on the above conditions.

Proof.
From ∑ e , the total energy H e is given below: Time derivative along (6) of H e , gives: .
where H e (0) denotes the initial stored energy and H e (T e ) ≥ 0. Integrating Equation (13), yields the following dissipation inequality: where . denotes the Euclidian vector norm. Then, it is deduced from Equation (14) that ∑ e is passive. Thus, F m (s) is given as below: Since F m (s) is strictly positive, the mechanical dynamic ∑ m is passive. Then, the PMSG model is decomposable into ∑ e and ∑ m .

PMSG Passivity Property
The derivative along (6)- (8) of H m , gives: where Integrating (17) where H m (0) is the stored initial energy and H m (T m ) ≥ 0. Integrating (18), yields: Then, relationship M is passive, which is the same for the PMSG. where Based on the PMSG model (20) and the passivity property, the "workless forces" are deduced as given below [27,28]: As F satisfies: Remark 1. From Section 2.2, the necessary conditions to apply the PBSC on the PMSG as mentioned in Section 3 have been analytically verified and satisfied.

Proposed Passivity-Based Speed-Control Design
In order to design the control strategy, based on the passivity concept, the state-space model of the PMSG is written in the following form:   , and u denotes the input-matrix which is the controller law defined as: To guarantee that the defined state model (23) of the PMSG, is the system that can be controlled by passivity, the matrices J (u) and R must satisfy the conditions J T (u) = −J (u) and R T = R.
By considering that the aforementioned conditions are satisfied, the reference voltage is considered as the desired input and X * = i * q i * q ω * m T is the desired state variable. This yields the desired dynamic state model of the PMSG given below: The desired control input u * is computed by the proposed strategy, using the previous simplified model (25). The differences between u and u * , X and X * representing the voltage tracking error and the state variables tracking error, respectively, are described by: Substituting Equation (23) in Equation (25), yields Principally, it is a linear control for the nonlinear dynamical of the PMSG. Using the Taylor series, J (u) can be linearized as follows: where dJ (u) du u * e u = 0 since J (u) is a constant matrix. Substituting Equation (29) into Equation (28), yields The aim is to ensure the convergence to zero of the error vectors e u and the stability property of Equation (30), by finding the desired input u * . Using the Lyapunov theory, the following energy function of the closed-loop system is defined by: Taking the time derivative of V(e) along trajectory (30), gives: .
The term e T J (u * )e does not appear on the right-side of (32), due to e T J (u * ) which is nonsymmetrical. By considering e u = −k e B T e, Equation (32) becomes: where k e = k 1 0 0 k 2 with k 1 > 0 and k 2 > 0.
Taking R + Bk e B T ≥ 0 with the aim to make the energy function .
V(e) negatively defined, which guarantees the stability of Equation (30) and assuming that e u = u − u * = −k e B T e, gives: Then, the control signals u = v d v q T are deduced, which ensure the convergence of the voltage tracking error e u . Then, the control voltage vector is given by: The voltage controller u, consists of two parts: The desired reference vector u * and the damping term to make the closed-loop system strictly passive. However, it is well known that fixed gains are very sensitive when the system is exposed to parameter uncertainties and external disturbances. As shown in Figure 3, to overcome the problem due to fixed gains and to compute an optimal controller, a fuzzy controller is introduced as a supervisor to compute the damping gains k 1 and k 2 to overcome the problem caused by parameter uncertainties, which makes the proposed PBSC intelligent. The current error e i = i d − i * d and its derivative are taken as the inputs of the fuzzy supervisor. The selected fuzzy control design process consists of fuzzification of the inputs, formulation of the rules, and finally defuzzification of the output. Based on types including triangular and trapezoidal shapes, the membership functions are chosen to be symmetrical and uniformly distributed as given in Figure 4. The Lee and Yubazaki [29,30] technique of dividing these functions is utilized, which consists of many membership functions exchanging the same parameter. The significant reduction of the parameter numbers of the membership functions is the advantage of this method. The inputs-outputs linguistic variables corresponding to the fuzzy block are tabulated in Table 1, which are defined as: Positive Small (PS), Positive Big (PB), Zero (Z), Negative Big (NB), and Negative Small (NS). A Max-Min fuzzy inference is used for the decision-making where the center of gravity defuzzification method is used to calculate the crisp outputs [23].
Sustainability 2021, 21, x FOR PEER REVIEW 9 of 23 the same parameter. The significant reduction of the parameter numbers of the membership functions is the advantage of this method. The inputs-outputs linguistic variables corresponding to the fuzzy block are tabulated in Table 1, which are defined as: Positive Small (PS), Positive Big (PB), Zero (Z), Negative Big (NB), and Negative Small (NS). A Max-Min fuzzy inference is used for the decision-making where the center of gravity defuzzification method is used to calculate the crisp outputs [23].     Table 1, which are defined as: Positive Small (PS), Positive Big (PB), Zero (Z), Negative Big (NB), and Negative Small (NS). A Max-Min fuzzy inference is used for the decision-making where the center of gravity defuzzification method is used to calculate the crisp outputs [23].     Figure 2, the proposed method ensures the current and speed tracking errors convergence. The damping term "k e B T e" ensures convergence of the voltage tracking error "e u " (Equation (34)). The condition R + Bk e B T ≥ 0 ensures a negative time derivative of the function .

Remark 2. As shown in
V(e) (Equation (33)), thus the convergence of the voltage tracking error "e u ", and then, the equality between the voltage u which is the controller law and the desired u * (Equation (35)). Therefore, the convergence of the voltage tracking error "u-u * " should be ensured.

Desired Voltage and Desired Current Computation
In order to design the control strategy, based on the passivity concept, the state-space model of the PMSG is written in the following form [15]: The voltage reference u * and the desired stator are computed from the system equilibrium point ( . X = 0) described by Equation (34): Knowing that the PMSG operates under maximum torque when the desired direct current i * d = 0. Under this condition, and using Equation (36), it yields

Grid-Side Converter (GSC) Proposed Control
To regulate and transmit to the electrical energy produced by the PMSG to the grid through the GSC, a classical method is selected which consists of the PI strategy. As shown in Figure 5, the distributed network PI current controller contains two closed controls, the inner consists of injecting only the active power into the grid by enforcing quadrature current i q f to zero, and the d-axis reference current i d f is determined by the DC-bus voltage controller, while, the q-axis current i q f is produced by the reactive power Q g which is the outer. The GSC mathematical model is expressed as follows [1,19]: where V gd and V gq are the grid voltages, i d f and i q f are the grid currents, R f represents the filter's resistance, L f represents the filter inductance, ω denotes the network angular frequency, and V d and V q denote the inverter voltages. The DC-link voltage mathematical model is formulated below [1]: where C is the DC-link capacitance, i dc is the line current, and V dc is the DC-link voltage.
The mathematical model of PI current loop controller is formulated as follows: where k dcp > 0 and k dci > 0. Finally, the mathematical model of the active and reactive powers is formulated as follows below: where > 0 and > 0. Finally, the mathematical model of the active and reactive powers is formulated as follows below:

Simulation and Experimental Results
To demonstrate the effectiveness of the proposed strategy shown in Figure 2, the nu-

Simulation and Experimental Results
To demonstrate the effectiveness of the proposed strategy shown in Figure 2, the numerical investigation is performed on the conversion using MATLAB/Simulink and implemented in the processor in the loop (PIL) experiment. The parameter values of the closed-loop are given in Table 2, with 1150 V and zero values chosen as the reference command for V dc and Q g , respectively. The initial values of the parameters are given as: Using the pole location method, the GSC current PI gains are given as: k d gp = k q gp = 9 and k d gi = k q gi = 200. The DC-link PI gains are: k dcp = 5 and k dci = 500. The investigated strategy is compared with other nonlinear controls to show its superiority, with the fuzzy passivity-based linear feedback current control (FPBLFC) proposed in [17], the passivity-based current control (PBCC) proposed in [18], the high-order sliding mode control (HSMC) [7], and the passivity-based fuzzy high order sliding mode (PBC-HSMC) [31]. The proposed method is tested under two scenarios. First, the proposed controller is tested with initial parameter values of the PMSG and compared with the benchmark controls. The second task deals with the robustness analysis of this proposed method due to parameter changes.  Figure 6 depicts the profile of the tidal speed imposed to the conversion system with a fast-sudden variation between 4 and 10 m/s to test the stability of the designed control.  Figures 7 and 8, it can be seen that the DC voltage error (ε (V dc )) is extremely reduced in the case of the proposed FS-PBSC, which shows that the conversion system offers a reliable and efficient electrical energy to the grid with the proposed strategy. Figures 9 and 10 illustrate the tracking error (ε (Q g )) of Q g due to the investigated FS-PBSC, PBC-HSMC, FPBLFC, PBCC, and HSMC where the transient undershoot and overshoot of −1.5 × 10 −5 , −1.5 × 10 −5 , −4 × 10 −5 , −5 × 10 −5 , −7 × 10 −5 and +1.5 × 10 −5 , +1.5 × 10 −5 , +4 × 10 −5 , +5 × 10 −5 , +7 × 10 −5 are observed, respectively. However, the lowest undershoot and overshoot are illustrated by the proposed FS-PBSC according to Table 3. Moreover, the lowest steady-state error and better convergence criterion is shown by the proposed FS-PBSC and PBC-HSMC (0.3 × 10 −3 s) over the FPBLFC (1 × 10 −3 s), PBCC (1.2 × 10 −3 s), and HSMC (2 × 10 −3 s) as depicted in Table 4, which shows also that the proposed FS-PBSC ensures fast convergence, high efficiency, and the lowest tracking errors in comparison to the tested benchmark nonlinear strategies, as well as offers a stable electrical power to the grid. Thus, from the previous results shown in Figures 7-10, the proposed method validates the objective mentioned in the introduction part which is regulation of the DC-link voltage (Figures 7 and 8) and reactive power (Figures 9 and 10) at their pre-fault values to guarantee efficient, secure, and reliable electricity, which are indeed any possible disturbances related to the MSC such as sudden changes in tidal velocity and PMSG nonlinear properties.

Robustness Analysis
In the present sub-section, the system is supposed to work under parameter disturbances. Thus, a change of +50% in , a change of +100% in , and a simultaneous change of +50% in and +100% in are imposed on the closed-loop, respectively. Figure 11 shows the DC-link voltage response due to the proposed candidate in the case of +50% in , where the same voltage error ɛ ( ) response and tracking error equal to zero are recorded, i.e., ±0.002 according to Table 5 which is the same as in Section 3.1, which shows

Robustness Analysis
In the present sub-section, the system is supposed to work under parameter disturbances. Thus, a change of +50% in , a change of +100% in , and a simultaneous change of +50% in and +100% in are imposed on the closed-loop, respectively. Figure 11 shows the DC-link voltage response due to the proposed candidate in the case of +50% in , where the same voltage error ɛ ( ) response and tracking error equal to zero are recorded, i.e., ±0.002 according to Table 5 which is the same as in Section 3.1, which shows

Robustness Analysis
In the present sub-section, the system is supposed to work under parameter disturbances. Thus, a change of +50% in , a change of +100% in , and a simultaneous change of +50% in and +100% in are imposed on the closed-loop, respectively. Figure 11 shows the DC-link voltage response due to the proposed candidate in the case of +50% in , where the same voltage error ɛ ( ) response and tracking error equal to zero are recorded, i.e., ±0.002 according to Table 5 which is the same as in Section 3.1, which shows

Robustness Analysis
In the present sub-section, the system is supposed to work under parameter disturbances. Thus, a change of +50% in R s , a change of +100% in J, and a simultaneous change of +50% in R s and +100% in J are imposed on the closed-loop, respectively. Figure 11 shows the DC-link voltage response due to the proposed candidate in the case of +50% in R s , where the same voltage error ε (V dc ) response and tracking error equal to zero are recorded, i.e., ±0.002 according to Table 5 which is the same as in Section 3.1, which shows that the conversion system offers a reliable and efficient electrical energy to the grid with the proposed strategy even under parameter uncertainties. Similarly, the tracking response of Q g for the diturbances of +50 R s is observed in Figure 12, i.e., ±2 × 10 −5 according to Table 5. Figure 13 shows the DC-link voltage response due to the proposed FS-PBSC in the case of variation of +100% in J. Moreover, no changes in the voltage error ε (V dc ) response is recorded, i.e., ±0.002 according to Table 4. Figure 14 shows the Q g response for the disturbances of +100 J, one can see that this disturbance does not influence the dynamic of the system, i.e., ±1.5 × 10 −5 according to Table 4. Simultaneous change of +50% in R s and +100% in J have no effect on both V dc and Q g according to Figures 15 and 16, and the measured values of both V dc and Q g tabulated in Table 4, which shows also that the proposed FS-PBSC ensures the lowest tracking errors, and offers a stable electrical power into the grid, even under parameter uncertainties. Thus, the previous results shown in  clearly demonstrate the robustness of the proposed strategy. that the conversion system offers a reliable and efficient electrical energy to the grid with the proposed strategy even under parameter uncertainties. Similarly, the tracking response of for the diturbances of +50 is observed in Figure 12, i.e., ±2 × 10 −5 according to Table 5. Figure 13 shows the DC-link voltage response due to the proposed FS-PBSC in the case of variation of +100% in . Moreover, no changes in the voltage error ɛ ( ) response is recorded, i.e., ±0.002 according to Table 4. Figure 14 shows the response for the disturbances of +100 , one can see that this disturbance does not influence the dynamic of the system, i.e., ±1.5 × 10 −5 according to Table 4. Simultaneous change of +50% in and +100% in have no effect on both and according to Figures 15 and 16, and the measured values of both and tabulated in Table 4, which shows also that the proposed FS-PBSC ensures the lowest tracking errors, and offers a stable electrical power into the grid, even under parameter uncertainties. Thus, the previous results shown in Figures 11-16 clearly demonstrate the robustness of the proposed strategy.    Sustainability 2021, 21, x FOR PEER REVIEW 15 of 23 that the conversion system offers a reliable and efficient electrical energy to the grid with the proposed strategy even under parameter uncertainties. Similarly, the tracking response of for the diturbances of +50 is observed in Figure 12, i.e., ±2 × 10 −5 according to Table 5. Figure 13 shows the DC-link voltage response due to the proposed FS-PBSC in the case of variation of +100% in . Moreover, no changes in the voltage error ɛ ( ) response is recorded, i.e., ±0.002 according to Table 4. Figure 14 shows the response for the disturbances of +100 , one can see that this disturbance does not influence the dynamic of the system, i.e., ±1.5 × 10 −5 according to Table 4. Simultaneous change of +50% in and +100% in have no effect on both and according to Figures 15 and 16, and the measured values of both and tabulated in Table 4, which shows also that the proposed FS-PBSC ensures the lowest tracking errors, and offers a stable electrical power into the grid, even under parameter uncertainties. Thus, the previous results shown in Figures 11-16 clearly demonstrate the robustness of the proposed strategy.             A comparative analysis of the proposed FS-PBSC with the other control strategies is performed in Tables 4 and 5. From Table 4, PBC-HSMC exhibits an ε (V dc ) tracking error of ±0.006, PBLFC exhibits an ε (V dc ) tracking error of ±0.02, PBCC exhibits ±0.03, and HSMC shows a tracking error of ±0.2. From the presented results, the proposed strategy clearly offers a constant voltage error V dc and superior tracking error speed as compared to the other candidates, which are sensitive to the imposed disturbances of R s and J. Table 5 depicts the Q g response for all the tested controls. From the present results, the proposed FS-PBSC and PBC-HSMC exhibit a reduced tracking error under variations than that exhibited by FPBLFC (±5 × 10 −5 ), PBCC (±6 × 10 −5 ), and HSMC (±1 × 10 −4 ), according to Table 5. Furthermore, the proposed FS-PBSC clearly offers superior speed tracking error ε (Q g ) even under disturbances as compared to the other candidates, which are more affected by the disturbances of R s and J, as shown in Table 4. Thus, from the present test and tables, the proposed candidate offers high robustness, fast speed convergence, and high efficiency over the other benchmark nonlinear strategies. This validates the theoretical results of Section 2. Figure 17 shows the power coefficient response which is fixed at its reference value (C pmax = 0.46), which shows that the tidal turbine extracts the maximum power from the marine current and thus, validates the first objective mentioned in the introduction, which is to extract the maximum marine current power through controlling the rotational of the PMSG. Moreover, from Figure 18 which shows the grid injected voltage, it is observed that the grid voltage is in a perfect sinusoidal form, which shows that the closed-loop integrates efficient electrical power into the grid. As mentioned in the introduction, the DC-link overvoltage control, reactive power support, efficiency of the power electronics, and ride-through fault capability are the important requirements of the conversion system for reliable and efficient electrical energy, which are validated by the presented results.  Tables 4 and 5. From Table 4, PBC-HSMC exhibits an ɛ ( ) tracking error of ±0.006, PBLFC exhibits an ɛ ( ) tracking error of ±0.02, PBCC exhibits ±0.03, and HSMC shows a tracking error of ±0.2. From the presented results, the proposed strategy clearly offers a constant voltage error and superior tracking error speed as compared to the other candidates, which are sensitive to the imposed disturbances of and . Table 5 depicts the response for all the tested controls. From the present results, the proposed FS-PBSC and PBC-HSMC exhibit a reduced tracking error under variations than that exhibited by FPBLFC (±5 × 10 −5 ), PBCC (±6 × 10 −5 ), and HSMC (±1 × 10 −4 ), according to Table 5. Furthermore, the proposed FS-PBSC clearly offers superior speed tracking error ɛ ( ) even under disturbances as compared to the other candidates, which are more affected by the disturbances of and , as shown in Table 4. Thus, from the present test and tables, the proposed candidate offers high robustness, fast speed convergence, and high efficiency over the other benchmark nonlinear strategies. This validates the theoretical results of Section 2. Figure 17 shows the power coefficient response which is fixed at its reference value (Cpmax = 0.46), which shows that the tidal turbine extracts the maximum power from the marine current and thus, validates the first objective mentioned in the introduction, which is to extract the maximum marine current power through controlling the rotational of the PMSG. Moreover, from Figure 18 which shows the grid injected voltage, it is observed that the grid voltage is in a perfect sinusoidal form, which shows that the closed-loop integrates efficient electrical power into the grid. As mentioned in the introduction, the DC-link overvoltage control, reactive power support, efficiency of the  A comparative analysis of the proposed FS-PBSC with the other control strategies is performed in Tables 4 and 5. From Table 4, PBC-HSMC exhibits an ɛ ( ) tracking error of ±0.006, PBLFC exhibits an ɛ ( ) tracking error of ±0.02, PBCC exhibits ±0.03, and HSMC shows a tracking error of ±0.2. From the presented results, the proposed strategy clearly offers a constant voltage error and superior tracking error speed as compared to the other candidates, which are sensitive to the imposed disturbances of and . Table 5 depicts the response for all the tested controls. From the present results, the proposed FS-PBSC and PBC-HSMC exhibit a reduced tracking error under variations than that exhibited by FPBLFC (±5 × 10 −5 ), PBCC (±6 × 10 −5 ), and HSMC (±1 × 10 −4 ), according to Table 5. Furthermore, the proposed FS-PBSC clearly offers superior speed tracking error ɛ ( ) even under disturbances as compared to the other candidates, which are more affected by the disturbances of and , as shown in Table 4. Thus, from the present test and tables, the proposed candidate offers high robustness, fast speed convergence, and high efficiency over the other benchmark nonlinear strategies. This validates the theoretical results of Section 2. Figure 17 shows the power coefficient response which is fixed at its reference value (Cpmax = 0.46), which shows that the tidal turbine extracts the maximum power from the marine current and thus, validates the first objective mentioned in the introduction, which is to extract the maximum marine current power through controlling the rotational of the PMSG. Moreover, from Figure 18 which shows the grid injected voltage, it is observed that the grid voltage is in a perfect sinusoidal form, which shows that the closed-loop integrates efficient electrical power into the grid. As mentioned in the introduction, the DC-link overvoltage control, reactive power support, efficiency of the power electronics, and ride-through fault capability are the important requirements of the conversion system for reliable and efficient electrical energy, which are validated by the presented results.

Processor in the Loop (PIL) Experimental Validation
The processor in the loop experimentation is a powerful tool which is utilized for validating the control system on a hardware processor, while the system plant is a software model. Thus, the control algorithm is tested in real time. More details on the processor in the loop experimentation are reported in [32][33][34]. More importantly, the controller validated using PIL testing is equally efficient as when it is tested in a hardware plant [32]. Thus, inspired by the above work, the proposed control schemes are tested using a PIL experiment. A photograph of the experimental test platform to validate the proposed technique is shown in Figure 19, which is composed of the computer and the DSP card. Figure  20 shows the block diagram of the proposed control PIL test setups, as shown, in the PIL experiment, the DSP control card is physically integrated with the PMSG-based marine current conversion system model running in the Simulink environment. The control board is made up of a TMS320F379D dual-core processor that was programmed using the Simulink environment's fast prototyping method. Simulink is used to create discrete versions of the described controllers, and the output or hex file is programmed into the processor's random-access memory (RAM). The closed-loop in the PIL experiment is not physical, but rather a Simulink environment, with the controller operating in real time. Using a highspeed serial interface, data are transmitted between the DSP control card and the software model. Figure 21 shows the marine current profile used for the conversion system in the PIL testing. Figure 22 shows the experimental response of the torque collected using the PIL method. It is clearly shown that even in real-time testing, the proposed control forces the PMSG to work at its optimal torque, which further validates the theoretical part of Section 2.3. Figure 23 shows the active power's experimental response which tracks the torque response. This further validates Equation (2) and confirms that the conversion system extracts the maximum tidal power. Figures 24 and 25 show the experimental DC-link voltage response, which is regulated at its reference value of 1150 V. This further validates the simulation results, the objectives of the paper mentioned in the introduction, even in real-time testing, and confirms that it delivers a high voltage quality to the grid shown in Figure 18. Figure 26 shows the reactive power which is fixed at its zero-reference value. From the experimental results, it is very obvious that the proposed strategy is applicable practically and further validates that the proposed control provides high efficiency even in real-time testing.

Processor in the Loop (PIL) Experimental Validation
The processor in the loop experimentation is a powerful tool which is utilized for validating the control system on a hardware processor, while the system plant is a software model. Thus, the control algorithm is tested in real time. More details on the processor in the loop experimentation are reported in [32][33][34]. More importantly, the controller validated using PIL testing is equally efficient as when it is tested in a hardware plant [32]. Thus, inspired by the above work, the proposed control schemes are tested using a PIL experiment. A photograph of the experimental test platform to validate the proposed technique is shown in Figure 19, which is composed of the computer and the DSP card. Figure 20 shows the block diagram of the proposed control PIL test setups, as shown, in the PIL experiment, the DSP control card is physically integrated with the PMSG-based marine current conversion system model running in the Simulink environment. The control board is made up of a TMS320F379D dual-core processor that was programmed using the Simulink environment's fast prototyping method. Simulink is used to create discrete versions of the described controllers, and the output or hex file is programmed into the processor's random-access memory (RAM). The closed-loop in the PIL experiment is not physical, but rather a Simulink environment, with the controller operating in real time. Using a high-speed serial interface, data are transmitted between the DSP control card and the software model. Figure 21 shows the marine current profile used for the conversion system in the PIL testing. Figure 22 shows the experimental response of the torque collected using the PIL method. It is clearly shown that even in real-time testing, the proposed control forces the PMSG to work at its optimal torque, which further validates the theoretical part of Section 2.3. Figure 23 shows the active power's experimental response which tracks the torque response. This further validates Equation (2) and confirms that the conversion system extracts the maximum tidal power. Figures 24 and 25 show the experimental DC-link voltage response, which is regulated at its reference value of 1150 V. This further validates the simulation results, the objectives of the paper mentioned in the introduction, even in real-time testing, and confirms that it delivers a high voltage quality to the grid shown in Figure 18. Figure 26 shows the reactive power which is fixed at its zero-reference value. From the experimental results, it is very obvious that the proposed strategy is applicable practically and further validates that the proposed control provides high efficiency even in real-time testing.

Discussion and Conclusions
A novel passivity-based speed control (PBSC) combined with the fuzzy logic control for optimal performance of a PMSG is proposed for the improvement of the power quality transferred to the grid. The PBSC was adopted to design the controller law, in order to guarantee a fast convergence of the closed-loop system. The proposed strategy extracts the maximum power from the tidal energy where the entire dynamics of the PMSG is considered when designing the control law. The fuzzy logic controller is selected, which makes the proposed strategy intelligent to compute the damping gains to make the closedloop passive and approximate the unstructured dynamics of the PMSG and thus, the robustness property of the closed-loop system is considerably increased. Dynamic simulations of the studied system under parameter changes have been given special attention and the results have been compared to nonlinear control methods, which show a quick track of the reactive power and the DC-link voltage to their references over the compared controls. Moreover, it is observed that the closed-loop operates at maximum power and integrates efficient electrical power into the grid.
From the tracing response, it can be seen that the DC voltage error is extremely reduced in the case of the proposed FS-PBSC, ±1.5 × 10 −5 is observed with the lowest undershoot and overshoot. Moreover, the lowest steady-state error and better convergence criterion are shown by the proposed FS-PBSC (0.3 × 10 −3 s). Generally, the proposed candidate offers high robustness, fast speed convergence, and high efficiency over the other benchmark nonlinear strategies. A comparative analysis of the proposed FS-PBSC with the other control strategies under disturbances and parameter changes performed exhibits an ɛ ( ) tracking error of ±0.002 and clearly offers superior speed tracking error ɛ ( ) of

Discussion and Conclusions
A novel passivity-based speed control (PBSC) combined with the fuzzy logic control for optimal performance of a PMSG is proposed for the improvement of the power quality transferred to the grid. The PBSC was adopted to design the controller law, in order to guarantee a fast convergence of the closed-loop system. The proposed strategy extracts the maximum power from the tidal energy where the entire dynamics of the PMSG is considered when designing the control law. The fuzzy logic controller is selected, which makes the proposed strategy intelligent to compute the damping gains to make the closedloop passive and approximate the unstructured dynamics of the PMSG and thus, the robustness property of the closed-loop system is considerably increased. Dynamic simulations of the studied system under parameter changes have been given special attention and the results have been compared to nonlinear control methods, which show a quick track of the reactive power and the DC-link voltage to their references over the compared controls. Moreover, it is observed that the closed-loop operates at maximum power and integrates efficient electrical power into the grid.
From the tracing response, it can be seen that the DC voltage error is extremely reduced in the case of the proposed FS-PBSC, ±1.5 × 10 −5 is observed with the lowest undershoot and overshoot. Moreover, the lowest steady-state error and better convergence criterion are shown by the proposed FS-PBSC (0.3 × 10 −3 s). Generally, the proposed candidate offers high robustness, fast speed convergence, and high efficiency over the other benchmark nonlinear strategies. A comparative analysis of the proposed FS-PBSC with the other control strategies under disturbances and parameter changes performed exhibits an ɛ ( ) tracking error of ±0.002 and clearly offers superior speed tracking error ɛ ( ) of

Discussion and Conclusions
A novel passivity-based speed control (PBSC) combined with the fuzzy logic control for optimal performance of a PMSG is proposed for the improvement of the power quality transferred to the grid. The PBSC was adopted to design the controller law, in order to guarantee a fast convergence of the closed-loop system. The proposed strategy extracts the maximum power from the tidal energy where the entire dynamics of the PMSG is considered when designing the control law. The fuzzy logic controller is selected, which makes the proposed strategy intelligent to compute the damping gains to make the closed-loop passive and approximate the unstructured dynamics of the PMSG and thus, the robustness property of the closed-loop system is considerably increased. Dynamic simulations of the studied system under parameter changes have been given special attention and the results have been compared to nonlinear control methods, which show a quick track of the reactive power and the DC-link voltage to their references over the compared controls. Moreover, it is observed that the closed-loop operates at maximum power and integrates efficient electrical power into the grid.
From the tracing response, it can be seen that the DC voltage error is extremely reduced in the case of the proposed FS-PBSC, ±1.5 × 10 −5 is observed with the lowest undershoot and overshoot. Moreover, the lowest steady-state error and better convergence criterion are shown by the proposed FS-PBSC (0.3 × 10 −3 s). Generally, the proposed candidate offers high robustness, fast speed convergence, and high efficiency over the other benchmark nonlinear strategies. A comparative analysis of the proposed FS-PBSC with the other control strategies under disturbances and parameter changes performed exhibits an ε (V dc ) tracking error of ±0.002 and clearly offers superior speed tracking error ε (Q g ) of ±0.000015. From the presented results, the proposed strategy clearly offers a constant voltage error V dc and superior tracking error speed ε (Q g ) as compared to the other candidates, which are sensitive to the imposed disturbances.
Moreover, a PIL experiment was conducted to prove that the proposed controller is practically implementable, and from the experimental results collected using the PIL method for Tem, active power, DC-link voltage, and reactive power, respectively, it is very obvious that the proposed strategy is applicable practically.