An Active FTC Strategy Using Generalized Proportional Integral Observers Applied to Five-Phase PMSG based Tidal Current Energy Conversion Systems

: In recent years, multi-phase permanent magnet synchronous generators (PMSGs) have become attractive in the ﬁeld of tidal current energy conversion systems (TCECS) due to their high-power density, reliability, and availability. However, external disturbances and malfunctions in power conversion chains will bring challenges to achieving stable and continuous tidal current energy harnessing. Using generalized proportional integral observers, an active fault-tolerant control (AFTC) strategy is therefore proposed for a ﬁve-phase PMSG based TCECS that is subjected to an open switch fault (OSF) in the generator side converter. This proposed AFTC strategy is applied into q -axis current control loops, which contain fault detection and compensation. The fault compensator will be smoothly activated using a sigmoid function once the OSF is detected. Finally, a small-scale power experimental platform emulating the TCECS is established in order to verify the feasibility and e ﬃ ciency of the proposed FTC strategy. Experiment results show that this AFTC strategy can detect faults rapidly and e ﬀ ectively attenuate torque ripples in the post-fault operation mode. The experimental test results show that fault detection is completed with around 1 / 6 fundamental period. Using a sigmoid function, the close loop system obtains satisﬁed transient behaviors during the compensation. The experimental tests and spectrum analysis demonstrate that the proposed strategy is easy to implement and can e ﬀ ectively suppress the torque ripples, especially the dominant ﬂuctuation operating at a fundamental frequency. This reinforces the reliability and availability of the whole system. This work will be investigated further in terms of fault-tolerant characteristics of the system at the nonlinear region of the generator’s magnetic curve.


Introduction
Tidal current energy has predominant advantages relative to other types of renewable energies, such as predictability, high power density, and energy continuity at almost all times, which significantly facilitates controller designs and grid connection [1]. Nevertheless, the power generation equipment, the so called tidal current turbine, is always vulnerable to harsh marine conditions that pose daunting challenges for maintenance [2]. As a result, the exploration of advanced solutions with high fault tolerance has become a main objective to practitioners and theoreticians.
For this concern, breakthroughs can be made utilizing multi-phase machines, which meet the requirements of fault tolerance since they provide redundant structures than the classical three-phase machinery [3]. Thus, the multi-phase machine nowadays is widely applied into the fields of offshore marine energies, warships, aerospace and so on [4]. A great number of works have been undertaken in the past few decades concerning the FTC approaches related to multiphase machines. All of these contributions can be generally categorized [5] into passive FTC (PFTC) and active FTC (AFTC) methods. PFTC is usually realized based on robust controlling theories [6] that will force the controller with low sensitivities to fault components. For instance, Mekri et al. [7] provide a comparative study between three and five-phase permanent magnet synchronous generator (PMSG) in a tidal current energy conversion system (TCECS) by imposing an optimal torque reference and second-order sliding mode torque/current controllers. Pham et al. [8] proposed a fault tolerant strategy incorporating finite control set and model predictive control methods for a five-phase PMSG based TCECS. Single-phase and double-phase open circuits are focused on in this work with the concern of constant and variable marine tidal current velocities. A fault-tolerant controller design is proposed by Baudart et al. [9] through Lagrangian formulation based optimal torque references as well as reconfiguration of current controllers. A limitation torque control strategy according to the response of torque commands was designed by Guo et al. [10] considering both short circuit and open circuit faults in a dual stator based ten-phase machine. These PFTC methodologies are able to achieve great robustness and implementability in normal and abnormal operation modes while they have obvious shortcomings, such as complicated design process of controllers, lack of supports of fault information. Consequently, research of AFTC has become a promising direction in recent years. Conventionally, an AFTC mechanism lies in utilization of results from fault detection and diagnosis, offering evidences for further actions in post-fault operation modes. Fault status, size, and locations can be recognized by using fault estimation techniques, which plays an essential role in building AFTC theories [11,12]. Many efforts [11,[13][14][15][16] have been made on the basis of this consensus. Among all of these research achievements, fault estimation and compensation based on disturbance observer (DOB) has attracted a lot of attentions benefit from more degrees of control freedom, high implementability in real-time, etc. A generalized DOB family defined by Chen et al. [17] contains linear and nonlinear DOB, equivalent input disturbance, extended state observer (ESO), generalized proportional integral observer (GPIO) [18,19], extended high-gain state observer and so forth. Almost all of these DOB methods can provide information of multi-state estimation, which plays an important role in disturbance attenuation. Selecting an appropriate DOB method is a main concern in practice, which depends on the complexity of parameter setting and realizability of online deployment.
In order to increase the reliability and availability of the tidal application in real time, an AFTC strategy is proposed by GPIO and applied to a five-phase PMSG based TCECS. Under the framework of GPIO, this proposed method contains an adaptive threshold-based fault detection method using form factors (FFs) [20] and fault compensation-based FTC are developed. Specially, a smooth activation-based fault compensation mechanism is incorporated to improve the transient behaviors due to the sudden action of compensation. Finally, a small-scale power full-physical experimental platform is carefully established to validate the effectiveness and efficiency of the proposed AFTC strategy.
The remainder of this paper is organized as follows. Section 2 introduces system modelling and basic descriptions of the whole TCECS, which concentrates on the generator side. Section 3 gives detailed design procedures of the proposed AFTC strategy. In Section 4, the effectiveness and performance of the proposed strategy will be experimentally verified under an OSF case. In the end, Section 5 concludes this paper.

System Description and Modelling
The studied system shown in Figure 1 presents the generator side of a tidal current energy conversion system. It is composed by a five-phase PMSG which is connected to a DC load through a five-leg converter. Figure 1 also indicates a most fundamental type of fault in the TCECS investigated in this paper, namely the OSF of the power switch. The OSF condition is achieved by blocking the switching part excluding the anti-parallel diode.

Resource of Tidal Current
The acquired hydrodynamic energy [21] from the tidal current can be calculated by where ρ represents the density of sea water, ν tides means the tidal current velocity, and R indicates the radius of turbine blade. Cp is the power coefficient, depending on tip speed ratio (TSR, λ = ΩR/ν tides ) and pitch angle β, whose expression is given by Equation (2).

Tidal Current Turbine
A Cp curve is given as shown in Figure 2a. The mechanical speed is denoted as Ω. P-Ω characteristics of the turbine are depicted in Figure 2b under various tidal current velocities. Working process of a tidal current turbine can be divided into 3 parts: starting, maximum power point tracking (MPPT), and constant power operational stages. This paper focuses on the second one where the pitch angle control is not carried out yet (β = 0). In this paper, cut-in speed and rated speed are 1 m/s and 3.2 m/s, respectively.

Dynamic Model of Five-Phase PMSG
To facilitate the dynamic modelling, here magnetic saturation, core losses and temperature variations are neglected. Figure 3 describes an equivalent structure of star connected windings. M 1 and M 2 represent mutual inductances among the adjacent (2π/5 phase shift) and non-adjacent (4π/5 phase shift) phase windings, respectively. The electrical voltage equation of five-phase PMSG can be written as below in original abcde frames.
where U, E, R, I, and L represent the output, back-electromagnetic forces (back-EMFs), phase resistances, phase current and generator inductances, respectively. The self-inductance of phase windings is defined as L s . The expression of back-EMFs in original abcde frames are given by where the positive odd number h represents the harmonic orders. θ and p represent the electrical angle and the number of pole pairs of the generator, respectively. Φ h represents the magnet flux corresponding to the hth order harmonic component of the back-EMFs.
As a result, the experimental waveforms of the trapezoidal back-EMFs for the small-scale power five-phase PMSG can be seen in Figure 4a. In Figure 4b, the harmonic orders become clear to see that the back-EMFs mainly contain 1st, 3rd, 5th, 7th, and 9th harmonic components. A five-phase PMSG can be decomposed into three 3-phase sub-machines [22,23] (primary, secondary and homopolar sub-machines). Table 1 presents a harmonic distribution rule with respect to the three sub-machines. Without connecting the neutral point, the homopolar sub-machine is negligible in this paper. By using a transformation matrix T Park given in Equation (6), Equation (3) will be thereby projected into stationary coordinate frames (Park frames) as where U = u pd , u pq , u sd , u sq T E = e pd , e pq , e sd , e sq T R = diag[R pd , R pq , R sd , R sq ] With respect to Equation (4), the expressions of back-EMFs in Park frames are thereby deduced as e pd = −9 5 2 pΩΦ 9 sin(10θ) e pq = 5 2 pΩΦ 1 − 9 5 2 pΩΦ 9 cos(10θ) 5 2 pΩΦ 3 − 7 5 2 pΩΦ 7 cos(10θ) It should be noted that only 1st and 3rd harmonic components in the back-EMFs will be taken into account for controller designs by neglecting 7th and 9th ones. That is to say, the 10 times terms in Equation (7) will be unconsidered in this paper.
Electrical torque can be thus written as below by using vectors in Park frames.
Γ em = − i pd e pd + i pq e pq + i sd e sd + i sq e sq /Ω Additionally, the five-phase PMSG is essentially an inertial motion system that can be indicated by a first order mechanical equation as below.
where Γ and Γ em represent the mechanical and electromagnetic torques. Moment of inertia and friction coefficient are denoted as J and f, respectively.

Principle of GPIO-Based AFTC Strategy in a Classical Close-Loop System
A scalar second order SISO system with a concern of systematic lumped disturbance can be expressed as where x 1 represents the system state. x 2 is a augmented state used to estimate the lumped disturbance d l .
The system input gain, output gain and measurement gain are denoted as a 1 , b 1 and c 1 , respectively. Here, c 1 is equal to 1 and b 1 0.
In fact, the lumped disturbance d l represents a bounded perturbated term, which may contain linear or nonlinear perturbations from model uncertainties and external noises. In detail, the model uncertainties originated from modeling mismatches, which are mainly caused by parameter variations and fault occurrences. The lump disturbance term can be expressed as below by a combination of model uncertainties or external interferences.
where ∆ para represents a time varying output term due to the parameter variation. ∆ f represents the fault component, which highly relies on the type of fault, which will determine its size, harmonic content, and degree of nonlinearity. It should be noted that the measurement noises ∆ noise can be neglected by using some engineering techniques, such as filters. The parameters a 1 and b 1 will vary from the nominal value during operations, which can be expressed as According to Equations (10) and (12), the term ∆ para can be deduced as Compared with the most used ESO, GPIO is chosen in this paper to design the compensator since it is easy to implement and will provide more state information to increase the estimation accuracy. According to Equations (10)-(13), a full order expression of GPIO can be given by where n is a positive integer that represents the order of states. α 1 to α n are the observer gains. Importantly, ESO can be obtained without using any auxiliary states.
In terms of a feedback close loop, the PI controller can be formulated as Kp + Ki/s, where s represents the operator in s-plane. Hence, the compensated output can be written as below. Hereafter the superscript "*" represents the corresponding reference value.
where K comp means an adjustable gain of compensation, which related to the working conditions, such as healthy and faulty operation modes. In nominal condition, K comp = 1. The activation function fcn act should maintain the system operating smoothly concerning avoidance of high transient overshoots with the sudden injection. The diagram of this AFTC strategy for the system Equation (10) can be organized in Figure 5. The fault detection will be realized by comparing the residual and the threshold. Fault compensation will be activated immediately once fault is detected via the activation function.

GPIO-Based AFTC Strategy Design Example for a Five-Phase PMSG Power Convertion System
Relying on the description in the previous subsection, a five-phase PMSG based TECES example is taking into account here. Figure 6 indicates the whole control strategy of the five-phase PMSG based TECES using the field-oriented control (FOC) theory and the GPIO-based AFTC sstrategy. Since current in q-axis is directly related to the electromagnetic torque, this AFTC strategy is carried out in the q-axis of the inner current loops. Firstly, the fault detection part is realized only based on the estimated residual of q-axis current corresponding the primary sub-machine. Once fault is detected, the compensation will be activated promptly into the q-axis control loops relative to the two sub-machines.

Basic Control Strategy in Dual Loops
First of all, PI-based controllers in dual loops plus an optimal TSR-MPPT algorithm will be presented as follows in order to provide a foundation for the proposed GPIO-based AFTC strategy in speed loop.

•
Optimal control references In this paper, an optimal TSR-based MPPT algorithm [24] is introduced to offer an expected speed reference. This algorithm can guarantee the whole system to capture needed maximum powers under each ν tides by exploiting the optimal TSR λ opt and the max power coefficient Cp max . Thus, expected speed reference and optimal mechanical torque are expressed as To minimize copper losses [25,26], the current vectors and the back-EMF vectors will satisfy Fleming's right-hand rule, which can be expressed as below (e pd = e sd = 0).
where X r represents a magnetic ratio between the two sub-machines. According to the FOC theory, the expected torque can be calculated by Substituting Equations (17) and (18), the current references are given by where K t represents a conversion gain between reference electromagnetic torque and reference of q axis current in the primary sub-machine. •

PI-based controller design in dual loops
Here, the generator side converter can be modeled by a nonlinear delay as K pwm /(1 + 1.5T pwm s) due to sampling and switching time, where T pwm (is equal to 1/f pwm ) is the time constant of switching frequency. K pwm , the equivalent gain of the PWM modulator, can be expressed as K pwm = V dc /V carrier in the linear range, V carrier is the amplitude of carrier signals, which is usually set as 1. Thus, PI parameters in current loop controllers can be calculated by Moreover, for the outer speed loop controller, the PI parameters are given by where T Ω = (τ Ω + 3T pwm ). τ Ω is denoted as the sampling delay of the speed. In this paper, τ Ω = 5T pwm .

Observer Design
State form currents in q-axis for primary and secondary sub-machines can be rewritten as below according to Equations (5) and (6), and Equations (10) and (11). It should be noted that here the coupling terms are also incorporated in the lumped disturbances for sake of compensation.
where d l_pq and d l_sq are the lumped disturbance in the q-axis for primary and secondary sub-machines, respectively. •

Analysis of lumped disturbance terms
Similar to Equations (11)-(13), these two lumped disturbance terms can be generally extracted as The noise terms will not be discussed by the analysis in Equation (11). There exist variations of machine parameters relative to their nominal values in different working conditions, which can be expressed as Accordingly, the time varying output terms (∆ para_pq , ∆ para_sq ) in q-axis for the five-phase PMSG can be expressed as In a leg of the generator side converter, the phase current in one period under an OSF situation (e.g., the OSF occurs at a lower switch) can be expressed as where k = 1, 2, 3, 4, 5 represents the kth phase from phase 'a' to phase 'e'. h is the number of harmonic orders in back-EMF of the five-phase PMSG. I h represents the magnitude of hth harmonic component of the phase current. For a generator side converter, the half cycle under the single OSF condition exists some distortions instead of complete null blocking values due to the conduction of unremoved diodes. For instance, the unexpected current will form a close loop passing D 1 , load and D 6 as shown in Figure 1. The distorted signal will not be blocked during the cycle where the faulty switch S 6 should have been triggered. This term of conducted distortions is denoted as ∆ distortion , which is determined by the system power scale, control, and load parameters, etc. After fast Fourier transform (FFT) of the faulty signal in Equation (26), the additional harmonics are mainly constituted by DC component and other even-order frequencies relative to the spectrum in healthy condition. In stationary coordinate frames, the fault signal f pd and f pq will mainly contain the harmonics except for the DC component. This issue will be discussed latter. •

Construction of GPIO
Constituting Equations (22) and (23), we have Define the states i pq and i sq as x pq1 and x sq1 , d l_pq and d l_sq as x pq2 and x sq2 , respectively. Augmented state space form can be expressed as In order to estimate the current states x pq1 , x sq1 as well as the lumped disturbance states x pq2 , x sq2 , generalized proportional integral observers in the speed loop will be designed as where α pq1 -α pqn , α sq1 -α sqn represent observer gains, and they are positive real numbers.

Procedures of the Proposed AFTC Strategy
On the basis of the designed GPIO in Section 3.2.1, steps of this proposed AFTC strategy can be summarized as: •

Fault detection
The form factors (FFs) [20] of i pq and its measurement are given by The RMS value reflects the variation of distance for phase currents from their corresponding average values, and is sensitive by deviations from the unrectified average values, such as the OSF. Thus, here FFs are utilized for fault detections. The notation " ave " represents average operations within one fundamental period.
A residual between the two form factors is yielded by where e pq is the observer error given by Thus, the residual in (31) is subject to the following relationship: Finally, the adaptive threshold for fault detection can be expressed by where th f determines the value of fault status FD that it will be 0 or 1 only in healthy and faulty conditions, respectively. •

Fault compensation
The dynamic performance of the compensation is closely related to the way of activation in a close-loop control system. This paper utilizes a smooth activation mechanism based on a sigmoid function. This sigmoid function is actually a nonlinear activation function, whose advantages have been validated and already used widely in the field of neural networks [27].
The sigmoid function is indicated by the red curve in Figure 7 where γ, t 0 , t 1 represent the coefficient of bandwidth, starting time of compensation and ending time of compensation, respectively. As mentioned earlier, the compensation in q-axis current control loops will be activated once a fault is detected. In fact, the dynamic behaviors of compensation can be tuned by modifying γ, t 1 . Instantaneous compensation will be triggered at t 0 once fault status FD = 1. The output of the activation function will be equal to zeros if FD = 0. Compared with a classical step activation function (blue dotted curve), a sigmoid function will bring satisfied transient behaviors for the whole system which smooths the sudden action of compensation. By (15) and (27)- (29), the composite controllers with compensation can be reconfigured as where K pr and K se are respectively the adjustable compensation gains for u pq and u sq . Their theoretical values are equal to 1 in a nominal condition.
The above step by step design procedures of the proposed AFTC strategy are synthesized in Figure 8. The error between i pq andî pq is firstly converted into form factors. If the fault status FD equal to 1, the fault information will be injected in the u pq and u sq , respectively.

Experimental Verification
A small-scale power experimental platform by full-physical devices is built so as to validate the proposed AFTC strategy.

Description of Small-Scale Power Experimental Platform
As shown in Figure 9, this full-physic experimental platform is able to convert power from a five-phase PMSG to the DC-link. Here, a 3.3 kW five-phase PMSG is adopted that is driven by a DC motor. Original position information of the generator is acquired by a 12-bit absolute encoder. The five-leg converter incorporates two three-leg converters. DC supplies ranging from 10-30 V are adopted to offer constant voltage to conditioning circuit, dSPACE (Paderborn, Germany) plant (MicroAutobox II), I/O connector, the drive boards of the converter and the pulse width modulation (PWM) activation card. A personal computer (PC) installed MATLAB/SIMULINK and ControlDesk softwares will be used for program execution, real-time parameters turning and system monitoring. A multi-channel oscilloscope (Yokogawa DL-750) is utilized to acquire experimental results. With the assistance of dSPACE, the conditioning circuit can well adapt the input and output analog signals. Speed and electrical angle calculation unit provides precise θ and Ω in real-time operations relying on the high-efficient encoder. The main parameters of this platform are summarized in Table A1 of Appendix A.
Particularly, two voltage regulators are quite essential, which control the speed of DC motor in order to emulate the tidal current velocity. During the experimental process, variable speed reference can be obtained by manual or programmable adjustment of voltage regulator for the rotor. The speed controller is thus accessible when the voltage for the stator and the load are constant. Under careful investigations, mechanical speed Ω and voltage of the DC motor's rotor V rotor roughly subjects to a linear curve as Ω = 12 × (V rotor − 4.7) when load = 242 Ohm, V stator = 100 V. Furthermore, hereafter validations of the proposed AFTC strategy will be carried out under a constant velocity profile considering a short period over time, such as one hour. Consequently, the gear ratio can be set as 1:40 to emulate the actual tidal profiles described in Figure 2.

Performance in Healthy and Faulty Conditions
Different with majority of research works about the disturbance attenuation under healthy conditions, post-fault tolerant control performance will be the main interest in this paper.
Number of states n in the GPIO formulated in Equation (29) is fixed as 3 taking into account of the complexity of parameter setting as well as performance of the AFTC strategy. To tradeoff the estimation errors and robustness of those estimates through the GPIO, parameters of the designed fault-tolerant composite controllers will be a key factor, which are organized in Table A2.
Torque's ripple will be concerned since it can directly reflect the operational situation of the machine. Thus, torque's ripple is the main regards to evaluate post-fault operation performances in this paper. There are no torque sensors involved in the platform, this electromagnetic torque can be thus derived from the calculation by current vectors in Park frames as Equation (8). A calculation method of the torque ripples is given by.

Disturbance Suppression in Healthy Conditions
As shown in Figure 10, the compensation part is put into use in healthy conditions. Obvious to see, the compensation using the proposed strategy will significantly suppress the torque ripples and disturbances in phase current. The compensators in the proposed method will contribute about 10% reduction of the torque ripples from 4.82% to 3.04%. In order to specify the oscillations of torque, its waveform is recorded by means of "AC". The actual information of the signals by the oscilloscope can be found in the footnotes of the Figure 10a. As the depicted harmonic orders in Figure 10b, the additional first harmonic in the torque signal is effectively suppressed and the rest of harmonic order from 2nd to 9th can be almost also reduced using the compensators in healthy conditions. Therefore, the compensation mechanism described in Equation (35) is also feasible in healthy conditions. According to Equations (11) and (23), the lumped disturbance mainly contains the issue by model uncertainties and noises. In this practical machinery system, the model uncertainties mainly attribute to the unmodeled terms, such as parameter variation effects, cogging torque, and non-linearity of magnetizing curve, etc. The test results thereby demonstrate that the compensation strategy can also be adapted to the issue of disturbance suppression in healthy conditions.

•
Performance under an OSF case without using AFTC In accordance with the expressions from (26, there exist current distortions during the blocking cycles of switch S 6 as shown in the right most subfigure in Figure 11. Based on Equation (36), this five-phase PMSG has 4.81% and 28.48% torque ripples in the healthy and faulty conditions. Once the OSF occurs, speed also has periodical perturbations in a small range around 600 rpm. Whereas torque has more significant oscillation with around 1.45 N·m. Similarly, the mechanical speed and its references are recorded by using the channel "AC" to observe the oscillating effect due to the OSF occurrence. Figure 11. Experimental test with OSF occurrence of S 6 without the proposed AFTC strategy.

•
Performance under an OSF case using AFTC In the condition that switch S 6 is open, using form factors will maintain the robustness and efficiency of fault detection, which will be completed within 5.6 ms (around 1/6 of fundamental period) as shown in the leftmost illustration of Figure 12. In the rightmost illustration of Figure 12, there will be only 0.64 N·m oscillated range of the torque in the post-fault operation process utilizing the proposed AFTC strategy. Thanks to the compensation mechanism, almost 60% of torque ripples can be suppressed. The speed fluctuations can be neglected relative to the improvements of torque ripples. In terms of the results from Figure 11, it can be demonstrated that this proposed AFTC strategy owns high efficiency and feasibility in real-time operations with OSF occurrence, which is able to actively reduce the torque ripples. Thanks to the sigmoid activation function, the settling time and overshoots of either the electromagnetic torque or phase current are maintained satisfied dynamic transient behaviors. It can also be observed from the middle subfigure that the completion of compensating duration costs around 0.4 s. To obtain satisfied transient behaviors and robustness in faulty conditions, the parameters of the designed fault-tolerant composite controllers will be a key factor, as organized in Table A2. •

Spectrum analysis of torque
In order to explore the effects of the compensation in different conditions, the spectrum of the signal Γ em is analyzed in the healthy condition, OSF condition of switch S 6 and fault-tolerant condition, which are shown as Figure 13. It is clear to see that torque in the healthy condition mainly contains a constant DC component. Once switch S 6 is open, the DC component is decreased by 0.05 N·m. The 1st harmonic becomes a most dominant additional component, which will impose a fluctuation operating at a fundamental frequency to the torque as shown in the rightmost illustration of Figure 11. In fact, the OSF occurrence will make the fault component become a main factor in the lumped disturbance. Compared to the spectrum in the healthy condition, 2nd-6th harmonics are also greater in the same time with fault occurrence, whose analysis keeps in line with the description in Section 3.1. The proposed AFTC strategy can effectively suppress by about 67% of the most important harmonic component (1st). As well, this proposed strategy can have attenuated functions for 2nd and 3rd harmonics. However, this compensation mechanism will bring a rise of 5th and 6th harmonic orders, which are negligible concerning the attenuation of the dominant harmonics from 1st to 4th. By comparing the strategies that rely on the fault status or fault categories in advance, the proposed AFTC strategy has superior advantages that lie in there being no need of the prior knowledge of the faults and automatically proceeding with real-time fault detection and fault compensation once the strategy is established.
The two most relevant studies introduced here are given in terms of performance. The iterative learning control (ILC)-based FTC method developed by Mohammadpour et al. [28] is able to suppress around 48.6% of the torque ripples due to the occurrence of an open circuit. Furthermore, a detailed survey of FTC strategies was performed by Xiong et al. [29] who designed an FTC strategy that can reduce the torque ripples by about 54% at maximum. The proposed method can reduce around 60% of torque ripples with an automatic AFTC mechanism. Relative to the ILC compensators [28], the proposed method considers the dynamic performance of the compensation process using a smooth activation mechanism. Compared with the fault-tolerant control strategies in [29], the parameter setting of the proposed method is less complicated to design and simpler to implement in real-time.
As a result, the compensation in current loops can be used for active FTC issues. The experimental tests verify that the proposed strategy is effective to suppress torque ripples in OSF conditions.

Conclusions
This paper mainly proposes an AFTC strategy for five-phase trapezoidal PMSG-based tidal current energy applications that are subjected to single switch open circuit fault. This proposed strategy can provide a fault detection and compensation mechanism using generalized proportional integral observers in q-axis current control loops. A full-physical, small-scale power experimental platform is well established to verify the effectiveness and efficiency of this proposed strategy.
The experimental test results show that fault detection is completed with around 1/6 fundamental period. Using a sigmoid function, the close loop system obtains satisfied transient behaviors during the compensation. The experimental tests and spectrum analysis demonstrate that the proposed strategy is easy to implement and can effectively suppress the torque ripples, especially the dominant fluctuation operating at a fundamental frequency. This reinforces the reliability and availability of the whole system. This work will be investigated further in terms of fault-tolerant characteristics of the system at the nonlinear region of the generator's magnetic curve.  Acknowledgments: Here many thanks for the funding and the experimental platform from IREENA laboratory.

Conflicts of Interest:
The authors declare no conflict of interest. System state corresponding to i pq i pq_ff Form factor of i pq e pq Observer error betweenî pq (t) and i pq i pq_ f f Form factor ofî pq (t) γ Activation function's bandwidth coefficient t 0 Starting time of compensation t 1 Ending time of compensation fcn step Activation function by a step fcn sigmoid Activation function by a sigmoid λ Tip speed ratio λ opt Optimal tip speed ratio β Pitch angle C 1 -C 6 Coefficients of function Cp(λ, β) R sq q-axis resistance of secondary sub-machine M 1 Adjacent phase mutual inductances M 2 Non-adjacent phase mutual inductances L s Self-inductance of phase windings L pd d-axis inductance of primary sub-machine L pq q-axis inductance of primary sub-machine L sd d-axis inductance of secondary sub-machine L sq q-axis inductance of secondary sub-machine L pr Primary sub-machine inductance L se Secondary sub-machine inductance h

Abbreviations
The Nominal value of the input gain a 1 b 1 Output gain of SISO system b 1_norminal Nominal value of the input gain b 1 c 1 Measurement gain of SISO system c 1_norminal Nominal value of the input gain c 1 α 1 -α n observer gains for statex 1  System state corresponding to i sq x pq1 Estimate of x pq1 x sq1 Estimate of x sq1 x pq2 Lumped disturbance state in i pq loop x sq2 Lumped disturbance state in i sq loop x pq2 Estimate of x pq2 x sq2 Estimate of x sq2 x pq3 Estimate of the third state in i pq loop x sq3 Estimate of the third state in i sq loop x pqn Estimate of the nth state in i pq loop x sqn Estimate of the nth state in i sq loop α pq1 -α pqn observer gains for statex pq1 -x pqn α sq1 -α sqn observer gains for statex sq1 -x sqn u pq_comp Compensated output in i pq loop u sq_comp Compensated output in i sq loop fcn act 1800 α pq1 = α pq2 = α pq3 0.9 × 10 4 α pq1 = α pq2 = α pq3 1.5 × 10 4 K pr , K se 0.95