Keywords

1 Introduction

One of the most promising types of renewable energies is the tidal energy due to its high-power density and high potential of electricity generation. The use of PMSG in tidal turbine system has high potential due to its reliability, increased energy, reduced failure and possibility to eliminate the gearbox which lead to low maintenance and enable to the PMSG to be very favorable in wind applications. However, the controller computation for the PMSG is still challenging work, due to unknown modeling error, external disturbances and parameter uncertainties.

This work provides a novel optimal passivity-based control (PBC). The IDA-PBC technique has the intrinsic advantage of compensating for non-linear features rather than canceling them. The proposed PBC is in charge of creating the system’s intended dynamic, whereas the non-linear observer is in charge of reconstructing the recorded signals. In order to compel the PMSG to track speed [3]. The fundamental goal of this research is to synthesis the controller while taking into consideration the whole dynamic of the PMSG and making the system passive. It is accomplished by reorganizing the suggested strategy's energy and incorporating a damping component that treats the non-linear parts in a damped rather than deleted manner.

The present form organizes the present paper, the detailed about the case study is given in Sect. 2, and along the Sect. 3 we describe the suggested controller. Section 4 is devoted to GSC regulation. Section 5 reports the simulation results and their discussions by the application of IDA-PBC algorithm to model illustrated in Sect. 2. This paper has been completed by some conclusions and perspectives stated in Sect. 6.

2 System Design

2.1 Marine Current Turbine Model

The configuration of the investigated conversion system with Matlab/Simulink is presented in Fig. 1. The proposed strategy is applied to the PMSG to regulates the produced power via the generator [4]:

$$ P_{m} = \frac{1}{2}\rho C_{p} (\beta ,\lambda )Av^{3} $$
(1)
$$ T_{m} = \frac{{P_{m} }}{{\omega_{m} }} $$
(2)
$$ C_{p} (\beta ,\lambda ) = \frac{1}{2}\left( {\frac{116}{{\lambda_{i} }} - 0.4\beta - 5} \right)e^{{ - \left( {\frac{21}{{\lambda_{i} }}} \right)}} $$
(3)
$$ \lambda_{i}^{ - 1} = (\lambda + 0.08\beta )^{ - 1} - 0.035\left( {1 + \beta^{3} } \right)^{ - 1} $$
(4)

where, v denotes the tidal speed, β denotes the pitch angle, \(\omega_{m}\) denotes the generator speed, R denotes the radius of the blades, ρ is fluid’s density, \(C_{p}\) represents the power coefficient, A is blades area, and \(\lambda = \frac{{\omega_{m} R}}{V}\) λ denotes the tip-speed ratio.

2.2 Model of the PMSG

Model of the PMSG is as below [3,4,5]:

$$ v_{dq} = R_{dq} i_{dq} + L_{dq} \dot{i}_{dq} + p\omega_{m} \Im \left( {L_{dq} i_{dq} + \psi_{f} } \right) $$
(5)
$$ J\dot{\omega }_{m} = T_{m} - T_{e} - f_{fv} \omega_{m} $$
(6)
$$ T_{e} = \frac{3}{2}p\psi_{dq} \Im i_{dq} $$
(7)

where \(R_{dq} = \left[ {\begin{array}{*{20}c} {R_{s} } & 0 \\ 0 & {R_{s} } \\ \end{array} } \right]\) denotes the stator resistance matrix, \(f_{f \, v}\) represents the coefficient of the viscous friction, \(\psi_{f} = \left[ {\begin{array}{*{20}c} {\varphi_{f} } \\ 0 \\ \end{array} } \right]\) is the flux linkages vector, \(T_{e}\) ffv represents the electromagnetic torque, \(L_{dq} = \left[ {\begin{array}{*{20}c} {L_{d} } & 0 \\ 0 & {L_{q} } \\ \end{array} } \right]\) denotes the induction matrix of the stator, \(J\) represents the total inertia moment, \(v_{dq} = \left[ {\begin{array}{*{20}l} {v_{d} } \hfill \\ {v_{q} } \hfill \\ \end{array} } \right]\) denotes voltage stator vector, \(i_{dq} = \left[ {\begin{array}{*{20}l} {i_{d} } \hfill \\ {i_{q} } \hfill \\ \end{array} } \right]\) denotes the stator current vector, and \(\upomega _{{\text{m}}}\) denotes the PMSM speed. \({\varphi }_{f}\) are the flux linkages due to the permanent magnets, \(p\) is the number of pole-pairs, and \({\Im } = \left[ {\begin{array}{*{20}c} 0 & { - 1} \\ 1 & 0 \\ \end{array} } \right]\).

Fig. 1.
figure 1

Tidal conversion system.

3 IDA-PBC Controller Design

As stated in Sect. 1, the behavior of the tidal turbine-based PMSG is a nonlinear mathematical issue, and the conversion system needs an optimal improved energy harvesting to increase operating efficiency. The MSC purpose is to communicate the energy generated by the turbine with as little loss as possible.

3.1 IDA-PBC Theory

As shown below, IDA-PBC was established as a mechanism for controlling physical systems defined by the PCH model [3, 6]:

$$ \left\{ {\begin{array}{*{20}c} {\dot{x} = \frac{\partial H}{{\partial x}}(x)[{\mathcal{J}}(x) - {\mathcal{R}}(x)] + gu} \\ {y = g^{T} (x)\frac{\partial H}{{\partial x}}(x)} \\ \end{array} } \right. $$
(8)

where, \(H\left( x \right):{ }{\Re }^{n} \to {\Re }^{ + }\) is the total stored energy, \(x \in {\Re }^{n}\) represent the state vector, \(u \in {\Re }^{m} ,{ }m < n\) is the controller action, the product of \(u\) and \(y \in {\Re }^{m}\) has units power, and \({\mathcal{J}}\left( x \right) = - {\mathcal{J}}^{T} \left( x \right)\), \({\mathcal{R}} = {\mathcal{R}}^{T} \left( x \right) \ge 0\) are the matrix of interconnection and dissipation, respectively. The PMSG model (5)–(7) can then expressed in PCH form as:

\({g} = \left[ {\begin{array}{*{20}c} { - 1} & 0 & 0 \\ 0 & { - 1} & 0 \\ 0 & 0 & { - 1} \\ \end{array} } \right]\), \({\mathcal{R}}\left( x \right) = \left[ {\begin{array}{*{20}c} {R_{s} } & 0 & 0 \\ 0 & {R_{s} } & 0 \\ 0 & 0 & 0 \\ \end{array} } \right]\), \(x = \left[ {x_{1} x_{2} x_{3} } \right]^{T} = D\left[ {\begin{array}{*{20}c} {i_{d} } \\ {i_{q} } \\ {\omega_{m} } \\ \end{array} } \right]\) is the state vector, \(D = diag\left\{ {L_{d} ,L_{{q,{ }}} J_{T} } \right\}\), \(u = \left[ {\begin{array}{*{20}c} {v_{d} } \\ {v_{q} } \\ { - T_{m} } \\ \end{array} } \right]\) is the input vector which represent the voltage controller vector of the PMSG, \(\frac{\partial H}{{\partial x}}\left( x \right) = \left[ {i_{d} i_{q} \omega_{m} } \right]\) is the output vector and \({\mathcal{J}}\left( x \right) = \left[ {\begin{array}{*{20}c} 0 & 0 & {x_{2} } \\ 0 & 0 & { - \left( {x_{1} - \phi_{f} } \right)} \\ { - x_{2} } & {\left( {x_{1} - \phi_{f} } \right)} & 0 \\ \end{array} } \right]\). The controller aim is reduced to find the following equation u(x) [6]:

$$ u = \left[ {{g}^{T} {g}} \right]^{ - 1}{g}^{T} \times \left\{ {\frac{{\partial H_{d} }}{\partial x}\left( x \right)\left[ {{\mathcal{J}}_{d} \left( x \right) - {\mathcal{R}}_{d} \left( x \right)} \right] - \left[ {{\mathcal{J}}\left( x \right) - {\mathcal{R}}\left( x \right)} \right]\frac{\partial H}{{\partial x}}\left( x \right)} \right\} $$
(9)

3.2 Controller Design

The proposed strategy’s objective is to design the desired Hamiltonian energy function based on PCH theory, which is given as follow [3]:

$$ H_{d} \left( x \right) = \frac{1}{2}\left[ {\frac{1}{{L_{d} }}x_{1}^{2} + \frac{1}{{L_{q} }}\left( {x_{2} - x_{2}^{*} } \right)^{2} + \frac{p}{{J_{T} }}\left( {x_{2} - x_{2}^{*} } \right)^{2} } \right] $$
(10)

where, the state vector and the desired state are defined as:

$$ x^{*} = \left[ {\begin{array}{*{20}c} {x_{1}^{*} } \\ {x_{2}^{*} } \\ {x_{3}^{*} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} 0 \\ {\frac{{L_{q} T_{m}^{*} }}{{p\phi_{f} }}} \\ {\omega_{m}^{*} } \\ \end{array} } \right] $$
(11)

where, \(\omega_{m}^{*}\), \(T_{m}^{*}\) are the desired speed and desired torque which are the tidal turbine speed and torque, respectively in our case. We have \(x_{1}^{*} = 0\) and we select:

$$ {\mathcal{R}}_{d} \left( x \right) = \left[ {\begin{array}{*{20}c} {r_{1} } & 0 & 0 \\ 0 & {r_{2} } & 0 \\ 0 & 0 & 0 \\ \end{array} } \right] $$
$$ {\mathcal{J}}_{d} \left( x \right) = \left[ {\begin{array}{*{20}c} 0 & { - J_{12} } & {J_{13} } \\ {J_{12} } & 0 & { - J_{23} } \\ { - J_{13} } & {J_{23} } & 0 \\ \end{array} } \right] $$

where, the objective is to design the parameters \(J_{12}\), \(J_{13}\), \(J_{23}\), \(r_{1} > 0\) and \(r_{2} > 0\) which allows to the controller to guarantee that the speed tracking error is converged. From [6], the controller equation u(x) can be solved with:

$$ J_{13} = \frac{{pL_{d } x_{3} }}{{J_{T} }}, $$
$$ J_{13} = - \frac{{pL_{d } x_{2}^{*} }}{{L_{q} }}, $$
$$ J_{23} = - \frac{{pL_{q } x_{1}^{*} }}{{L_{d} }} $$

Thus, the controller expression become as:

$$ v_{d} = - i_{d} - pL_{d} i_{q}^{*} \omega_{m} + i_{d}^{*} \left( {R_{s} - r_{1} } \right) + \left( {i_{q} - i_{q}^{*} } \right)pL_{d} \omega_{m}^{*} $$
(12)
$$ v_{q} = - r_{2} i_{q} + pL_{q} i_{d}^{*} + \left( {R_{s} - r_{1} } \right)i_{q}^{*} + \left( {p\left( {L_{d} i_{d} + \phi_{f} } \right) - pL_{q} i_{d}^{*} } \right)\omega_{m}^{*} $$
(13)

4 PI Controller for Grid-Side

To regulate and transmit to electrical energy produced by the PMSG to the grid through the GSC, a classical method is selected which consists on PI strategy. The GSC mathematical model is expressed as follows:

$$ \left[ {\begin{array}{*{20}c} {V_{id} } \\ {V_{iq} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}l} {L_{f} \dot{i}_{df} - \omega L_{f} i_{qf} } \hfill \\ {L_{f} \dot{i}_{qf} - \omega L_{f} i_{df} } \hfill \\ \end{array} } \right] + \left[ {\begin{array}{*{20}l} {V_{gd} } \hfill \\ {V_{gq} } \hfill \\ \end{array} } \right] + R_{f} \left[ {\begin{array}{*{20}c} {i_{df} } \\ {i_{qf} } \\ \end{array} } \right] $$
(14)
$$ C\dot{V}_{dc} = i_{dc} + i_{df} \frac{3}{2}\frac{{v_{gd} }}{{V_{dc} }} $$
(15)

where, \(V_{gd}\) and \(V_{gq}\) are the grid voltages, \(i_{df}\) and \(i_{qf}\) are the grid currents, \(R_{f}\) represents the filter resistance \(V_{id}\) and \(V_{iq}\) denotes the inverter voltages, CC is the DC-link capacitance, \(L_{f}\) is the filter’s inductance, \(i_{dc}\) is the line current, \(\omega\) represents the grid angular frequency, and \(V_{dc}\) is the DC-link voltage. Finally, the mathematical model of the active and reactive powers is formulated as below [9,10,11,12,13,14]:

$$ \left\{ \begin{gathered} P_{g} = \frac{3}{2}v_{gd} i_{df} \hfill \\ Q_{g} = \frac{3}{2}v_{gd} i_{qf} \hfill \\ \end{gathered} \right. $$
(16)

5 Simulation Results

The results of the simulations were obtained using MATLAB/Simulink in order to verify the suggested method's performance and dependability. Table 1 lists the parameters that were utilized to simulate the conversion system. From the pole placement method, MSC current PI gains are Kgp = 100 and Kgi = 500. The DC voltage PI gains are Kdcp = 5 and Kdci = 500. The parameters r1 = 7Rs and r2 = 10Rs. The marine current speed dynamic employed for the simulation fluctuation is shown in Fig. 2. The torque is seen in Fig. 3. Once opposed to the DC-link behavior of that in [15], the produced with IDA-PBC is extraordinarily well stabilized around the set point value, as illustrated in Fig. 4, with a rapid convergence and low inaccuracy. Figures 5 and 6 indicate that only active power is provided to the electricity network, whilst reactive power generated is severely limited and well-kept at its rated value, and Fig. 7 illustrates that the control operation accomplishes good sinusoidal grid side permeability with minimal overflow.

Table 1. System parameters
Fig. 2.
figure 2

Tidal speed.

Fig. 3.
figure 3

Electromagnetic torque.

Fig. 4.
figure 4

DC-link voltage.

Fig. 5.
figure 5

Active and reactive power.

Fig. 6.
figure 6

Zoom of reactive power.

Fig. 7.
figure 7

Grid transfer red voltage

6 Conclusion

In this paper, a new IDA-PBC using the PCH model based on the concept of passivity has been applied to the PMSG. This controller exploits the PCH model of the motor, which highlights three matrices: the interconnection matrix, which represents the internal energy exchange ports between the states of the PMSG, the damping matrix, which represents all the dissipation elements of the system, and the external interconnection matrix which represents the energy exchanges of the PMSG with its external environment. The particular characteristic of the IDA-PBC is the choice of the PCH structure in CL, then the energy function compatible with this model is determined. The paper's proposed technique achieves the paper’s aims. The PMSG-based conversion system performs well and efficiently. The structure of the control approach is sensible and easy.