1 Introduction

With the increasing impact of wind turbines for power system stability, it is necessary to ensure that the wind turbine can be effectively connected to the grid and provide reactive power under unbalanced voltage condition. Nowadays, doubly fed induction generator (DFIG) is widely used in many wind turbines because of its own advantages [1, 2]. However, when the power grid fails, the DFIG system will be severely affected because the stator is directly connected to the power grid [3]. At the same time, for the rotor winding of DFIG, the negative sequence voltage has a larger slip, which will cause the rotor over-voltage and over-current [4, 5]. Since the existence of negative sequence components, it will cause the stator current unbalanced and the low harmonic current of the rotor current. And, it will also cause the active power, reactive power, electromagnetic torque and DC bus voltage to generate second harmonic pulses [6, 7]. The above problems will shorten the working life of the converter and the DC bus capacitor, and reduce its performance. Therefore, it is very urgent and meaningful to research the control strategy of DFIG power system and improve its uninterrupted operation ability under unbalanced grid voltage condition.

Recently, some enhanced operation and control schemes are investigated for DFIG systems under unbalanced grid voltage conditions. As reported in [8,9,10], the conventional PI regulator relies heavily on the rated parameters of the system, when the grid voltage sags or swells, the regulation performance will be greatly reduced. In ref. [11, 12], the proportional resonant (PR) control strategy is proposed, which can achieve the sinusoidal quantity without static control. However, when the AC component frequency has a slight offset, the gain will change greatly and the structure is more complex. PI and repetitive control are proposed in ref. [13], which can achieve better dynamic performance and higher steady-state accuracy. However, the presence of control coupling between the PI regulator and the repetitive controller will aggravate the distortion of grid current. A grid-side converter (GSC) control strategy of DFIG based on sliding mode variable structure under unbalanced grid voltage is introduced in ref. [14]. The system has simple structure, fast dynamic response and strong robustness, but there is a high frequency oscillation problem in the controlled quantity. In refs. [6, 15], the main and auxiliary current control systems based on the synchronous rotating frame (SRF) are used, the solution is effective, but the negative sequence current components need to be extracted, and the adjustment rate of the negative sequence current is slower than that of the positive sequence current.

The most fundamental reason for the fluctuation of the generator power and electromagnetic torque is the existence of the negative sequence and the harmonic component in the stator voltage under unbalanced grid voltage. Aiming at the above problems, this paper is organized as follows. Section 2 describes a doubly-fed wind power system based on the series grid-side converter (SGSC). This system has the advantages of stator voltage control and can achieve symmetrical and stable operation of the generator [16, 17]. The specific control targets of SGSC and parallel grid-side converter (PGSC) are designed in Sect. 3. In Sect. 4, a coordinated control of the SGSC, PGSC, and rotor-side converter (RSC) is carried out. And the control schemes for PGSC and RSC using passivity-based controller (PBC) in the positive-sequence SRF and negative-sequence SRF. Then, combines with PGSC’s coordinated control to achieve the suppression to system’s total output power fluctuation. The use of the passive control theory is more conducive to the global stability of the system. Finally, the simulation results in Sects. 5 and 6 intensively prove that compared with the traditional controller, the proposed method has the advantages of easier parameter adjustment, faster response speed and stronger robustness.

2 Operation Analysis of DFIG with SGSC Under Unbalanced Voltage Condition

Since RSC is used to eliminate the second harmonic of electromagnetic torque and stator output reactive power, the electromagnetic torque waveform is DC component without second harmonic, and the stator reactive power is also DC component without second harmonic. However, the second harmonic of the stator output active is not zero. Because PGSC is used to offset the second harmonic of the stator output active power generated by RSC, the total output active power does not contain the second harmonic, but the total output reactive power contains the second harmonic. Therefore, the above coordinated control strategy can only meet part of the control targets of the RSC or the GSC at a time. To this end, this paper proposes to use the harmonics generated by SGSC and the second harmonic generated by PGSC to cancel each other and control the stator voltage, so as to suppress the second frequency fluctuation of the total output power of the system.

The investigated system [18] is shown in Fig. 1. In Fig. 1, the SGSC is connected to DFIG stator through a series transformer, so the DFIG stator voltage includes the output voltage of the series transformer and the grid voltage. In order to ensure that DFIG can operate normally under unbalanced grid voltage, the stator negative sequence voltage can be offset by injecting appropriate series compensation voltage into the stator loop. At the same time, in order to eliminate the influence of the leakage resistance drop on the DFIG stator voltage of the series-connected converter, it is necessary to control the SGSC to inject a positive sequence compensation voltage vector into the stator circuit and ensure that the DFIG stator voltage positive sequence component is the same as the positive voltage component of the grid voltage. Then the output control voltage vector of the SGSC can be obtained under the unbalanced grid voltage, as shown in formula (1).

$$ u_{{{\text{series}}}} = u_{{{\text{com}} + }} - u_{g - } $$
(1)

where, useries represents the series transformer output voltage vector; ucom+ is the positive sequence voltage vector required for the SGSC, and ug− is the negative sequence voltage vector of the grid. When the SGSC is controlled to make the DFIG stator voltage symmetrical, the traditional way can also be used to control the RSC and DFIG operation is not affected under the unbalanced grid voltage. Therefore, the generator set, the rotor current can be balanced and the motor output power and electromagnetic torque can remain stable and undisturbed. The current flowing through SGSC and series transformer will remain symmetrical. Under the action of the negative sequence voltage and the stator positive sequence current, the active and reactive power flowing through the SGSC will contain the second frequency ripple component, which will cause the whole system output active and reactive power to fluctuate. SGSC's double octave pulsating active power will be injected into the DC side capacitor, which will cause the DC bus voltage to generate double frequency ripple.

Fig. 1
figure 1

Configuration of DFIG System with SGSC

It can be seen from Fig. 1 that PGSC and the grid are in parallel. At this time, the positive and negative sequence mathematical model of PGSC in the dq axis orthogonal coordinate system were obtained as Eqs. (2) and (3):

$$ \left\{ {\begin{array}{*{20}c} {L_{\text{g}} i_{{\text{gd} + }}^{\text{p}} = - R_{\text{g}} i_{{\text{gd} + }}^{\text{p}} + L_{\text{g}} \omega i_{{\text{gq} + }}^{\text{p}} + u_{{\text{gd} + }}^{\text{p}} - v_{{\text{gd} + }}^{\text{p}} } \\ {L_{\text{g}} i_{{\text{gq} + }}^{\text{p}} = - R_{\text{g}} i_{{\text{gq} + }}^{\text{p}} - L_{\text{g}} \omega i_{{\text{gd} + }}^{\text{p}} + u_{{\text{gq} + }}^{\text{p}} - v_{{\text{gq} + }}^{\text{p}} } \\ \end{array} } \right. $$
(2)
$$ \left\{ {\begin{array}{*{20}c} {L_{\text{g}} i_{{\text{gd}{ - }}}^{\text{n}} = - R_{\text{g}} i_{{\text{gd}{-}}}^{\text{n}} + L_{\text{g}} \omega i_{{\text{gq}{-}}}^{\text{n}} + u_{{\text{gd}{-}}}^{\text{n}} - v_{{\text{gd}{-}}}^{\text{n}} } \\ {L_{\text{g}} i_{{\text{gq}{-}}}^{\text{n}} = - R_{\text{g}} i_{{\text{gd}{-}}}^{\text{n}} - L_{\text{g}} \omega i_{{\text{gd}{-}}}^{\text{n}} + u_{{\text{gq}{-}}}^{\text{n}} - v_{{\text{gq}{-}}}^{\text{n}} } \\ \end{array} } \right. $$
(3)

where, Lg and Rg are the equivalent inductance and resistance of the grid side circuit, \(u_{{\text{gd } + \text{ }}}^{{\text{p}}}\), \(v_{{\text{gd } + \text{ }}}^{{\text{p}}}\) and \(u_{{\text{gq } + \text{ }}}^{{\text{p}}}\), \(v_{{\text{gq } + \text{ }}}^{{\text{p}}}\) are respectively the positive sequence voltage components of the grid side and the AC side under the positive sequence dq axis. \(i_{{\text{gd } + \text{ }}}^{{\text{p}}}\) and \(i_{{\text{gq } + \text{ }}}^{{\text{p}}}\) are respectively the positive sequence current components of the AC side under the positive sequence dq axis.

Similarly, \(u_{{\text{gd } - \text{ }}}^{{\text{n}}}\), \(v_{{\text{gd } - \text{ }}}^{{\text{n}}}\) and \(u_{{\text{gq } - \text{ }}}^{{\text{n}}}\), \(v_{{\text{gq } - \text{ }}}^{{\text{n}}}\) are the negative sequence voltage components of the grid side and the AC side under the negative sequence dq axis. \(i_{{\text{gd } - \text{ }}}^{{\text{n}}}\) and \(i_{{\text{gq } - \text{ }}}^{{\text{n}}}\) are respectively the negative sequence current components of the AC side under the negative sequence dq axis. ω is the grid angle frequency.

Equations (2) and (3) show that when the grid is unbalanced, a negative sequence current component will be generated in the PGSC, and the power flowing through PGSC will have second frequency fluctuations, as follows:

$$ \left\{ \begin{gathered} P_{{\text{g}}} = P_{{{\text{gav}}}} + P_{{{\text{gsin2}}}} \sin 2\omega t + P_{{{\text{gcos2}}}} \cos 2\omega t \hfill \\ Q_{{\text{g}}} = Q_{{{\text{gav}}}} + Q_{{{\text{gsin2}}}} \sin 2\omega t + Q_{{{\text{gcos2}}}} \cos 2\omega t \hfill \\ \end{gathered} \right. $$
(4)

where, subscript gav, gsin2 and gcos2 respectively represent the power of the DC component, the second frequency sine and cosine wave components. In other words, Pg and Qg are the active power and reactive power on the grid side, respectively. Pgav and Qgav are the DC components of the active power and reactive power on the grid side, respectively. Pgsin2 and Qgsin2 are the second frequency sine components of the active power and reactive power on the grid side, respectively. Pgcos2 and Qgcos2 are the second frequency cosine components of the active power and reactive power on the grid side, respectively. ω is the grid side angle frequency. When the grid frequency is 50 Hz, its value is 100π.

In the synchronous rotation dq coordinate system, the amplitude of each component in Eq. (4) can be expressed as Eq. (5).

$$ \left[ {\begin{array}{*{20}c} {P_{{\text{gav}}} } \\ {P_{{\text{gsin2}}} } \\ {P_{{\text{gcos2}}} } \\ {Q_{{\text{gav}}} } \\ {Q_{{\text{gsin2}}} } \\ {Q_{{\text{gcos2}}} } \\ \end{array} } \right] = - \frac{{3}}{{2}}\left[ {\begin{array}{*{20}c} {u_{{\text{gd} + }}^{\text{p}} } & {u_{{\text{gq} + }}^{\text{p}} } & {u_{{\text{gd} - }}^{\text{n}} } &{u_{{\text{gq} - }}^{\text{n}} } \\ {u_{{\text{gq} - }}^{\text{n}} } & { - u_{{\text{gd} - }}^{\text{n}} } & { - u_{{\text{gq} + }}^{\text{p}} } & {u_{{\text{gd} + }}^{\text{p}} } \\ {u_{{\text{gd} - }}^{\text{n}} } &{u_{{\text{gq} - }}^{\text{n}} } & {u_{{\text{gd} + }}^{\text{p}} } &{u_{{\text{gq} + }}^{\text{p}} } \\ {u_{{\text{gq} + }}^{\text{p}} } & { - u_{{\text{gd} + }}^{\text{p}} } &{u_{{\text{gq} - }}^{\text{n}} } & { - u_{{\text{gd} - }}^{\text{n}} } \\ { - u_{{\text{gd} - }}^{\text{n}} } & { - u_{{\text{gq} - }}^{\text{n}} } & {u_{{\text{gd} + }}^{\text{p}} } & {u_{{\text{gq} + }}^{\text{p}} } \\ {u_{{\text{gq} - }}^{\text{n}} } & { - u_{{\text{gd} - }}^{\text{n}} } & {u_{{\text{gq} + }}^{\text{p}} } & { - u_{{\text{gd} + }}^{\text{p}} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {i_{{\text{gd} + }}^{\text{p}} } \\ {i_{{\text{gq} + }}^{\text{p}} } \\ {i_{{\text{gd} - }}^{\text{n}} } \\ {i_{{\text{gq} - }}^{\text{n}} } \\ \end{array} } \right] $$
(5)

It can be seen that in the DFIG system with SGSC, the output power of SGSC and PGSC each contains the second frequency ripple component, which will cause the entire system to output active or reactive power with a double frequency ripple component. This will endanger the safe and stable operation of the grid to a certain extent. And active power with double octave pulse are injected into the DC capacitor through the two converters, which will also bring the DC bus voltage fluctuations and reduce the stability of the DC bus voltage. Therefore, appropriate control measures should be taken to suppress the system output active power and DC bus voltage fluctuations, and improve the operation reliability of DFIG system when the voltage is asymmetric.

3 Control Targets

3.1 Control Targets of SGSC

Based on the above analysis, it is not difficult to get the control target of SGSC under unbalanced grid voltage, that is, to make the DFIG terminal voltage always consistent with the positive sequence voltage components. This will not only eliminate the influence of negative sequence voltage on DFIG under unbalanced grid voltage, but also ensure the DFIG terminal voltage is consistent with the grid voltage. It can be expressed as (6).

$$ \left\{ {\begin{array}{*{20}l} {{\varvec{u}}_{{\text{sdq} + }} = {\varvec{u}}_{{\text{gdq} + }} } \\ {{\varvec{u}}_{{\text{sdq} - }} = {0}} \\ \end{array} } \right. $$
(6)

where, ugdq+ is the positive sequence grid voltage vector, usdq+, usdq- are stator positive sequence, negative sequence voltage vector.

3.2 Control Targets of PGSC

Through the analysis of formula (5), the grid-side converter has four control objectives, namely,

  1. 1)

    Target 1: The input current on the grid side does not contain negative sequence components (\(i_{{\text{gdq } - \text{ }}}^{{\text{n}}} + i_{{\text{sdq } - \text{ }}}^{{\text{n}}} = 0\)).

    Ignoring the active loss of device, line resistance and filter capacitor, combining formula (5) and solving the corresponding matrix equation, then the grid side command current value corresponding to the target 1 can be obtained. It can be expressed as Eq. (7).

    $$ \left\{ {\begin{array}{*{20}l} {i_{{\text{gd} + }}^{{\text{p}^{\text{*}} }} = - \frac{{2}}{{3}}\frac{{u_{{\text{gd} + }}^{\text{p}} P_{{\text{seriesav}}} + u_{{\text{gq} + }}^{\text{p}} Q_{{\text{seriesav}}} }}{{\text{(}u_{{\text{gd} + }}^{\text{p}} \text{)}^{{2}} + \text{(}u_{{\text{gq} + }}^{\text{p}} \text{)}^{{2}} }}} \\ {i_{{\text{gq} + }}^{{\text{p}^{\text{*}} }} = - \frac{{2}}{{3}}\frac{{u_{{\text{gq} + }}^{\text{p}} P_{{\text{seriesav}}} - u_{{\text{gd} + }}^{\text{p}} Q_{{\text{seriesav}}} }}{{\text{(}u_{{\text{gd} + }}^{\text{p}} \text{)}^{{2}} + \text{(}u_{{\text{gq} + }}^{\text{p}} \text{)}^{{2}} }}} \\ {i_{{\text{gd} - }}^{{\text{n}^{\text{*}} }} = i_{{\text{gq} - }}^{{\text{n}^{\text{*}} }} = \text{0}\begin{array}{*{20}l} {\begin{array}{*{20}l} {} & {} & {} \\ \end{array} } & {} & {} & {} \\ \end{array} } \\ \end{array} } \right. $$
    (7)
  2. 2)

    Target 2: The input power of the grid side contains only the DC component (\(P_{{{\text{gsin2}}}} - P_{{{\text{seriessin2}}}} = 0{\kern 1pt} {\kern 1pt} ,P_{g\cos 2} - P_{{{\text{seriescos2}}}} = 0\)).

    In combination with (5), establishing and solving the matrix equation similar to the target 1, the corresponding to the grid side current reference value of target 2 can be obtained. As follows,

    $$ \left\{ {\begin{array}{*{20}c} {i_{{\text{gd } + \text{ }}}^{{{\text{p}}^{*} }} = - \frac{2}{3}\left( {\frac{{u_{{\text{gd } + \text{ }}}^{{\text{p}}} }}{{D_{1} }}P_{{{\text{seriesav}}}} + \frac{{u_{{\text{gq } + \text{ }}}^{{\text{p}}} }}{{D_{2} }}Q_{{{\text{seriesav}}}} } \right)} \\ {i_{{\text{gq } + \text{ }}}^{{{\text{p}}^{*} }} = - \frac{2}{3}\left( {\frac{{u_{{\text{gq } + \text{ }}}^{{\text{p}}} }}{{D_{1} }}P_{{{\text{seriesav}}}} - \frac{{u_{{\text{gd } + \text{ }}}^{{\text{p}}} }}{{D_{2} }}Q_{{{\text{seriesav}}}} } \right)} \\ {i_{{\text{gd } - \text{ }}}^{{{\text{n}}^{*} }} = - \frac{2}{3}\left( { - \frac{{u_{{\text{gd } - \text{ }}}^{{\text{n}}} }}{{D_{1} }}P_{{{\text{seriesav}}}} + \frac{{u_{{\text{gq } - \text{ }}}^{{\text{n}}} }}{{D_{2} }}Q_{{{\text{seriesav}}}} } \right)} \\ {i_{{\text{gq } - \text{ }}}^{{{\text{n}}^{*} }} = - \frac{2}{3}\left( { - \frac{{u_{{\text{gq } - \text{ }}}^{{\text{n}}} }}{{D_{1} }}P_{{{\text{seriesav}}}} - \frac{{u_{{\text{gd } - \text{ }}}^{{\text{n}}} }}{{D_{2} }}Q_{{{\text{seriesav}}}} } \right)} \\ \end{array} } \right. $$
    (8)

    where, \(D_{1} = u_{{\text{gd } + \text{ }}}^{{{\text{p}}^{{{\kern 1pt} {2}}} }} + u_{{\text{gq } + \text{ }}}^{{{\text{p}}^{{{\kern 1pt} {2}}} }} - u_{{\text{gd } - \text{ }}}^{{{\text{n}}^{{{\kern 1pt} {2}}} }} - u_{{\text{gd } - \text{ }}}^{{{\text{n}}^{{{\kern 1pt} {2}}} }}\), \(D_{2} = u_{{\text{gd } + \text{ }}}^{{{\text{p}}^{{{\kern 1pt} {2}}} }} + u_{{\text{gq } + \text{ }}}^{{{\text{p}}^{{{\kern 1pt} {2}}} }} + u_{{\text{gd } - \text{ }}}^{{{\text{n}}^{{{\kern 1pt} {2}}} }} + u_{{\text{gd } - \text{ }}}^{{{\text{n}}^{{{\kern 1pt} {2}}} }}\). If the positive sequence grid voltage is oriented to the d axis, namely \(u_{{\text{gq } + \text{ }}}^{{{\text{p}}^{\kern 1pt} }} { = }0\), then the PGSC command current value can be retrieved. Normally, the network side unit power factor control is achieved by setting \(i_{{\text{gq } + \text{ }}}^{{\text{p*}}} = 0\). It can be seen from Fig. 1, the system DC bus capacitor instantaneous power is the instantaneous power difference flowing through the RSC, SGSC and GSC. Since the RSC is still operating in a symmetrical manner, the rotor side power in the above equation can be kept stable without fluctuation, and the double frequency instantaneous power flowing through the SGSC and PGSC will cause the DC bus voltage to have a double peak ripple in the unbalanced grid. The instantaneous power of the DC bus capacitor can be expressed as (9).

    $$ \begin{gathered} \frac{{1}}{{2}}C\frac{{\text{d}u_{{\text{dc}}}^{{2}} }}{{\text{d}t}} \hfill \\ = P_{\text{g}} - P_{\text{r}} - P_{{\text{series}}} \hfill \\ = \text{(}P_{{\text{g\_av}}} - P_{\text{r}} - P_{{\text{series\_av}}} \text{)} + \text{[}\tilde{P}_{\text{g}} \text{(}t\text{)} - \tilde{P}_{{\text{series}}} \text{(}t\text{)]} \hfill \\ \end{gathered} $$
    (9)

    where, \(\tilde{P}_{\text{g}} \text{(}t\text{)}\)\({\stackrel{\sim }{P}}_{g}\left(t\right)\) and \({\stackrel{\sim }{P}}_{\text{series}}\left(t\right)\)\(\tilde{P}_{{\text{series}}} \text{(}t\text{)}\) are the input power fluctuating component of the grid side and the series transformer, respectively.\({\stackrel{\sim }{u}}_{\text{dc}}\left(t\right)\)\(\tilde{u}_{{\text{dc}}} \text{(}t\text{)}\) is the fluctuating component of DC bus voltage.

    Then, the steady-state DC bus voltage udc is as follows:

    $$ \begin{gathered}u_{{\text{dc}}} = u_{{\text{dcav}}} + \tilde{u}_{{\text{dc}}} \text{(}t\text{)} = u_{{\text{dcav}}} + \hfill\\ \frac{{1}}{{{2}\omega }}u_{{\text{dcav}}} \left[ {\left( {\text{P}_{{\text{gsin}2}} - \text{P}_{{\text{seriessin}2}} } \right) + \left( {\text{P}_{{\text{gcos}2}} - \text{P}_{{\text{seriescos}2}} } \right)} \right] \end{gathered}$$
    (10)

    From Eq. (10), we can conclude that when suppressing the total output active wave fluctuations, the DC bus voltage of the second frequency fluctuations can also be effectively limited, which will help the DC bus operation and improve system reliability.

  3. 3)

    Target 3: The constant DC bus voltage (\(u_{{{\text{dcsin2}}}} { = }u_{{{\text{dccos2}}}} = 0\)).

    Similar steps to solve targets 1 and 2, the corresponding to the grid side current reference value of target 3 can be obtained. As follows:

    $$ \left\{ {\begin{array}{*{20}c} {i_{{\text{gd } + \text{ }}}^{{{\text{p}}^{*} }} = - \frac{2}{3}\left( {\frac{{u_{{\text{gd } + \text{ }}}^{{\text{p}}} }}{{D_{1} }}P_{{{\text{seriesav}}}} + \frac{{u_{{\text{gq } + \text{ }}}^{{\text{p}}} }}{{D_{2} }}Q_{{{\text{seriesav}}}} } \right)} \\ {i_{{\text{gq } + \text{ }}}^{{{\text{p}}^{*} }} = - \frac{2}{3}\left( {\frac{{u_{{\text{gq } + \text{ }}}^{{\text{p}}} }}{{D_{1} }}P_{{{\text{seriesav}}}} - \frac{{u_{{\text{gd } + \text{ }}}^{{\text{p}}} }}{{D_{2} }}Q_{{{\text{seriesav}}}} } \right)} \\ {i_{{\text{gd } - \text{ }}}^{{{\text{n}}^{*} }} = - \frac{2}{3}\left( { - \frac{{u_{{\text{gd } - \text{ }}}^{{\text{n}}} }}{{D_{1} }}P_{{{\text{seriesav}}}} + \frac{{u_{{\text{gq } - \text{ }}}^{{\text{n}}} }}{{D_{2} }}Q_{{{\text{seriesav}}}} } \right)} \\ {i_{{\text{gq } - \text{ }}}^{{{\text{n}}^{*} }} = - \frac{2}{3}\left( { - \frac{{u_{{\text{gq } - \text{ }}}^{{\text{n}}} }}{{D_{1} }}P_{{{\text{seriesav}}}} - \frac{{u_{{\text{gd } - \text{ }}}^{{\text{n}}} }}{{D_{2} }}Q_{{{\text{seriesav}}}} } \right)} \\ \end{array} } \right. $$
    (11)
  4. 4)

    Target 4: The reactive power input to the grid side contains only the DC component (\( Q_{{{\text{gsin2}}}} - Q_{{{\text{seriessin2}}}} = 0,\,{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} Q_{g\cos 2} - Q_{{{\text{seriescos2}}}} = 0\)).

    Similar to the above calculation, the target 4 can be expressed as Eq. (12).

    $$ \left\{ {\begin{array}{*{20}c} {i_{{\text{gd} + }}^{{\text{p}^{\text{*}} }} = - \frac{{2}}{{3}}\left( {\frac{{u_{{\text{gd} + }}^{\text{p}} }}{{D_{{2}} }}P_{{\text{seriesav}}} + \frac{{u_{{\text{gq} + }}^{\text{p}} }}{{D_{{1}} }}Q_{{\text{seriesav}}} } \right)} \\ {i_{{\text{gq} + }}^{{\text{p}^{\text{*}} }} = - \frac{{2}}{{3}}\left( {\frac{{u_{{\text{gq} + }}^{\text{p}} }}{{D_{{2}} }}P_{{\text{seriesav}}} - \frac{{u_{{\text{gd} + }}^{\text{p}} }}{{D_{{1}} }}Q_{{\text{seriesav}}} } \right)} \\ {i_{{\text{gd} - }}^{{\text{n}^{\text{*}} }} = - \frac{{2}}{{3}}\left( {\frac{{u_{{\text{gd} - }}^{\text{n}} }}{{D_{{2}} }}P_{{\text{seriesav}}} - \frac{{u_{{\text{gq} - }}^{\text{n}} }}{{D_{{1}} }}Q_{{\text{seriesav}}} } \right)} \\ {i_{{\text{gd} - }}^{{\text{n}^{\text{*}} }} = - \frac{{2}}{{3}}\left( {\frac{{u_{{\text{gq} - }}^{\text{n}} }}{{D_{{2}} }}P_{{\text{seriesav}}} + \frac{{u_{{\text{gd} - }}^{\text{n}} }}{{D_{{1}} }}Q_{{\text{seriesav}}} } \right)} \\ \end{array} } \right. $$
    (12)

4 Control Strategy

In order to realize the stable operation of DFIG and provide transient reactive power support to the power grid during the unbalanced voltage of the grid, the SGSC can be controlled to suppress the transient DC component of the stator flux and maintain the stator voltage. Then, by controlling the PGSC to maintain the DC bus voltage constant, the optimal control target of the total output of the DFIG system is achieved. There is no fluctuation in active power or reactive power.

The control strategy of RSC is similar to PGSC’s. The outer loop uses PI control strategy and the inner loop adopts passivity-based control strategy, which not only can realize the power decoupling control of the DFIG system during the fault period, but also maximize the absorption of reactive power within the tolerances of the converter. The detailed control block diagram is shown in Fig. 2.

Fig. 2
figure 2

Schematic diagram of the proposed control scheme for the DFIG system with SGSC

4.1 SGSC

There is a negative sequence component of the stator flux in the asymmetrical fault of the grid voltage. Therefore, the SGSC control targets include maintaining the constant amplitude component of the generator stator voltage constant and suppressing the stator DC transient component. In addition, it also includes injecting a certain negative sequence control voltage to control the stator terminal voltage negative sequence component to zero. In order to meet the requirements of formula (6), the positive sequence voltage vector of the stator and the grid should be equal, and the stator negative sequence voltage vector should be controlled to zero. Therefore, this paper adopts a PIR controller to achieve effective control of the AC component, avoid phase separation and improve the transient performance of system [19]. The transfer function can be expressed as a formula (13).

$$ C_{{{\text{PIR}}}} \left( s \right) = K_{{\text{p}}} + \frac{{K_{{\text{i}}} }}{s} + \frac{{s\omega_{c} K_{r} }}{{s^{2} + 2\omega_{c} s + \left( { \pm 2\omega_{c} } \right)^{2} }} $$
(13)

where, Kp, Ki, and Kr are respectively proportional, integral coefficient, and resonant parameter. Kp and Ki play the same role as a conventional PI regulator, while the resonant compensators with Kr provides ideal gain for the AC components at the frequencies of 2ω. Practically, for a typical wind-farm grid-connected system, it is necessary to insert parameter ωc, called cutoff frequencies, into the resonant part to reduce its sensitivity to small frequency changes at the resonant pole.

4.2 PGSC

Once the current reference is obtained for the selected control target mentioned previously, an effective current controller must be designed to regulate these currents accurately and rapidly. For this purpose, passivity-based control scheme is suggested in the paper. It is a nonlinear control theory based on the energy of the system, and is closer to the physical model of the doubly-fed machine than the traditional control strategy. It is beneficial to realize the global stability of the system. The Eq. (1) representing the mathematical model of the grid-side converter under the positive sequence synchronous dq coordinate system is rewritten as (14).

$$ {\mathbf{L}}_{{{\text{gp}}}} {\dot{\mathbf{q}}}_{{{\text{gp}}}} + {\varvec{C}}_{{\text{gp}}} {\varvec{q}}_{{\text{gp}}} + {\mathbf{R}}_{{\text{g}}} {\varvec{q}}_{{\text{gp}}} { = }{\varvec{u}}_{{\text{gp}}} $$
(14)

which, \({\mathbf{L}}_{{{\text{gp}}}} = \left[ {\begin{array}{*{20}c} {L_{{\text{g}}} } & 0 \\ 0 & {L_{{\text{g}}} } \\ \end{array} } \right]\), \({\mathbf{q}}_{{{\text{gq}}}} = \left[ {\begin{array}{*{20}c} {i_{{\text{gd } + \text{ }}}^{{\text{p}}} } \\ {i_{{\text{gq } + \text{ }}}^{{\text{p}}} } \\ \end{array} } \right]\), \({\mathbf{C}}_{{{\text{gp}}}} = \left[ {\begin{array}{*{20}c} 0 & { - \omega L_{{\text{g}}} } \\ {\omega L_{{\text{g}}} } & 0 \\ \end{array} } \right]\), \({\mathbf{R}}_{{{\text{gq}}}} = \left[ {\begin{array}{*{20}c} {R_{{\text{g}}} } & 0 \\ 0 & {R_{{\text{g}}} } \\ \end{array} } \right]\), \({\mathbf{u}}_{{{\text{gp}}}} = \left[ {\begin{array}{*{20}c} {u_{{\text{gd } + \text{ }}}^{{\text{p}}} - v_{{\text{gd } + \text{ }}}^{{\text{p}}} } \\ {u_{{\text{gq } + \text{ }}}^{{\text{p}}} - v_{{\text{gq } + \text{ }}}^{{\text{p}}} } \\ \end{array} } \right]\).

The energy of the DFIG system is the sum of the electric energy and the mechanical energy. Therefore, its Hamiltonian function can be expressed as

$$ H_{{{\text{gp}}}} = \frac{1}{2}{\mathbf{q}}_{{{\text{gp}}}}^{{\text{T}}} {\mathbf{Lq}}_{{{\text{gp}}}} $$
(15)

In order to establish a closed-loop expected energy function Hgp, it will obtain the minimum value at the point qgp*, we can calculate the derivative of qgp, as shown in Eq. (16).

$$ \dot{q}_{{\text{gp}}} = - L_{{\text{gp}}}^{{ - \text{1}}} C_{{\text{gp}}} L_{{\text{gp}}}^{{ - \text{1}}} \frac{{\partial H_{{\text{gp}}} }}{{\partial q_{{\text{gp}}} }} - L_{{\text{gp}}}^{{ - \text{1}}} R_{{\text{gp}}} L_{{\text{gp}}}^{{ - \text{1}}} \frac{{\partial H_{{\text{gp}}} }}{{\partial q_{{\text{gp}}} }} + L_{{\text{gp}}}^{{ - \text{1}}} u_{{\text{gp}}} $$
(16)

Choose \({\varvec{g}}_{{\text{gp}}} = {\varvec{L}}_{{{\text{gp}}}}^{{ - 1}}\), \({\varvec{J}}_{{\text{gp}}} = - {\varvec{L}}_{{{\text{gp}}}}^{{ - 1}} {\varvec{C}}_{{{\text{gp}}}} {\varvec{L}}_{{{\text{gp}}}}^{{ - 1}}\) and \(\Re_{{\text{gp}}} = {\varvec{L}}_{{{\text{gp}}}}^{{ - 1}} {\mathbf{R}}_{{{\text{gp}}}} {\varvec{L}}_{{{\text{gp}}}}^{{ - 1}}\), we can achieve the DFIG grid side positive sequence component based on the port controlled Hamilton dissipative (PCHD) model, as follow (17).

$$ \left\{ {\begin{array}{*{20}l} {\dot{q}_{{\text{gp}}} = \left[ {J_{{\text{gp}}} - \Re_{{\text{gp}}} } \right]\frac{{\partial H_{{\text{gp}}} }}{{\partial q_{{\text{gp}}} }} + g_{{\text{gp}}} u_{{\text{gp}}} } \\ {y_{{\text{gp}}} = g_{{\text{gp}}}^{\text{T}} \text{(}q_{{\text{gp}}} \text{)}\frac{{\partial H_{{\text{gp}}} }}{{\partial q_{{\text{gp}}} }}} \\ \end{array} } \right. $$
(17)

where, \(\Re_{{{\text{gp}}}}\) is positive semi-definite symmetric matrix, Jgp is the anti-symmetric matrix and interconnection structure of PCHD. The derivative of the energy function Hgp with respect to time as formula (18).

$$ \dot{H}_{{\text{gp}}} = q_{{\text{gp}}}^{\text{T}} L_{{\text{gp}}} \dot{q}_{{\text{gp}}} = q_{{\text{gp}}}^{\text{T}} L_{{\text{gp}}} \text{(}g_{{\text{gp}}} u_{{\text{gp}}} - \Re_{{\text{gp}}} L_{{\text{gp}}} q_{{\text{gp}}} \text{)} $$
(18)

Then calculate the integral on both sides of the Eq. (18) at the same time, we can get the increased energy on the left side DFIG system is less than the energy provided by the right power supply, which shows that the positive sequence system of PGSC is strictly passive under unbalanced voltage.

Similarly, the PCHD model for negative sequence components in the negative rotational coordinate system can be obtained as follows,

$$ \left\{ {\begin{array}{*{20}l} {{\varvec{q}}_{{\text{gn}}} = \left[ {{\varvec{J}}_{{\text{gn}}} - \Re_{{\text{gn}}} } \right]\frac{{\partial H_{{\text{gn}}} }}{{\partial {\varvec{q}}_{{\text{gn}}} }} + {\varvec{g}}_{{\text{gn}}} {\varvec{u}}_{{\text{gn}}} } \\ {{\varvec{y}}_{{\text{gn}}} = {\varvec{g}}_{{\text{gn}}}^{\text{T}} \left( {{\varvec{q}}_{{\text{gn}}} } \right)\frac{{\partial H_{{\text{gn}}} }}{{\partial {\varvec{q}}_{{\text{gn}}} }}{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} } \\ \end{array} } \right. $$
(19)

Interconnection and damping assignment PBC (IDA-PBC) method is used when designing the controller of the PGSC. The energy function of the positive sequence system is,

$$ \left\{ {\begin{array}{*{20}l} {H_{{\text{gp}}} = \frac{1}{2}{\varvec{q}}_{{{\text{gp}}}}^{{\text{T}}} {\varvec{L}}_{{{\text{gp}}}} {\varvec{q}}_{{{\text{gp}}}} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} } \\ {H_{{{\text{gpd}}}} = \frac{1}{2}{\varvec{q}}_{{{\text{gpe}}}}^{{\text{T}}} {\varvec{L}}_{{{\text{gp}}}} {\varvec{q}}_{{{\text{gpe}}}} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\varvec{q}}_{{{\text{gpe}}}} = {\varvec{q}}_{{{\text{gp}}}} - {\varvec{q}}_{{{\text{gp}}}}^{*} } \\ \end{array} } \right. $$
(20)

where, \({\varvec{q}}_{{{\text{gp}}}}^{*} = \left[ {\begin{array}{*{20}c} {i_{{\text{gd + }}}^{{\text{p}^{\text{*}} }} } & {i_{{\text{gd + }}}^{{\text{p}^{\text{*}} }} } \\ \end{array} } \right]^{{\text{T}}}\) is the set value of the grid side current positive sequence component. According to structure conservation of the old and new, the desirable expectation of interconnection and damping matrixes are taken as,

$$ {\varvec{J}}_{{\text{gpa}}} = {\varvec{L}}_{{{\text{gp}}}}^{ - 1} \left[ {\begin{array}{*{20}c} {J_{{{11}}}^{{{\text{gp}}}} } & { - J_{{{12}}}^{{{\text{gp}}}} } \\ {J_{{{12}}}^{{{\text{gp}}}} } & {J_{{{22}}}^{{{\text{gp}}}} } \\ \end{array} } \right]{\varvec{L}}_{{{\text{gp}}}}^{ - 1} ,\Re_{{{\text{gpa}}}} = \left[ {\begin{array}{*{20}c} {r_{{1}}^{{{\text{gp}}}} } & 0 \\ 0 & {r_{{2}}^{{{\text{gp}}}} } \\ \end{array} } \right] $$
(21)

where, \({\varvec{J}}_{{\text{gpa}}}\) is an anti-symmetric matrix, \(J_{{{11}}}^{{{\text{gp}}}}\), \(J_{{{12}}}^{{{\text{gp}}}}\), \(J_{22}^{{{\text{gp}}}}\) are the interconnection factors to be determined, \(\Re_{{{\text{gpa}}}}\) is the positive definite symmetric matrix, \(r_{{1}}^{{{\text{gp}}}}\) and \(r_{{2}}^{{{\text{gp}}}}\) are the damping coefficients to be determined, they are non-negative and are not zero at the same time.

Through the second derivative we can obtain that Hgpd will get minimum value at point qgp*. Thus, the DFIG grid side controller based on the PCHD model in the positive sequence can be obtained as:

$$ {\varvec{u}}_{{\text{gp}}} = {\varvec{g}}_{{\text{gp}}}^{ - {\text{1}}} ([{\varvec{J}}_{{\text{gpa}}} - \Re_{{\text{gpa}}} ]{\varvec{L}}_{{{\text{gp}}}} {\varvec{q}}_{{\text{gp}}} - [{\varvec{J}}_{{\text{gpd}}} - \Re_{{\text{gpd}}} ]{\varvec{L}}_{{{\text{gp}}}} {\varvec{q}}_{{\text{gp}}}^{\text{*}} ) $$
(22)

Similarly, the PCHD model for negative sequence components in the negative rotational coordinate system can be obtained as follows,

$$ {\varvec{u}}_{{\text{gn}}} = {\varvec{g}}_{{\text{gn}}}^{ - {\text{1}}} ([{\varvec{J}}_{{\text{gna}}} - {\varvec{R}}_{{\text{gna}}} ]{\varvec{L}}_{{{\text{gn}}}} {\varvec{q}}_{{\text{gn}}} - [{\varvec{J}}_{{\text{gnd}}} - {\varvec{R}}_{{\text{gnd}}} ]{\varvec{L}}_{{{\text{gn}}}} {\varvec{q}}_{{\text{gn}}}^{\text{*}} ) $$
(23)

In formulas (21) and (22), Jgpd = Jgp + Jgpa, Jgnd = Jgn + Jgna and \(\Re_{{{\text{gpd}}}} = \Re_{{{\text{gp}}}} + \Re_{{{\text{gpa}}}}\), \({\mathbf{R}}_{{{\text{gnd}}}} = {\mathbf{R}}_{{{\text{gn}}}} + {\mathbf{R}}_{{{\text{gna}}}}\).

Substituting each variable expression into formulas (22) and (23), the mathematical expression of the controller based on PCHD model is:

$$ \left\{ {\begin{array}{*{20}c} \begin{gathered} v_{{\text{gd } + \text{ }}}^{{\text{p}}} = \left( {L^{2} r_{{1}}^{{{\text{gp}}}} - J_{11}^{{{\text{gp}}}} } \right)\left( {i_{{\text{gd } + \text{ }}}^{{\text{p*}}} - i_{{\text{gd } + \text{ }}}^{{\text{p}}} } \right) + J_{12}^{{{\text{gp}}}} \cdot \hfill \\ {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} \left( {i_{{\text{gq } + \text{ }}}^{{\text{p*}}} - i_{{\text{gq } + \text{ }}}^{{\text{p}}} } \right){\kern 1pt} - \omega Li_{{\text{gq } + \text{ }}}^{{\text{p*}}} - Ri_{{\text{gq } + \text{ }}}^{{\text{p*}}} + u_{{\text{gd } + \text{ }}}^{{\text{p}}} \hfill \\ \end{gathered} \\ \begin{gathered} v_{{\text{gq } + \text{ }}}^{{\text{p}}} = \left( {L^{2} r_{{2}}^{{{\text{gp}}}} - J_{12}^{{{\text{gp}}}} } \right)\left( {i_{{\text{gq } + \text{ }}}^{{\text{p*}}} - i_{{\text{gq } + \text{ }}}^{{\text{p}}} } \right) - J_{12}^{{{\text{gp}}}} \cdot \hfill \\ {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} \left( {i_{{\text{gd } + \text{ }}}^{{{\text{ p}} * }} - i_{{\text{gd } + \text{ }}}^{{\text{p}}} } \right){\kern 1pt} + \omega Li_{{\text{gq } + \text{ }}}^{{\text{p*}}} - Ri_{{\text{gq } + \text{ }}}^{{\text{p*}}} + u_{{\text{gq } + \text{ }}}^{{\text{p}}} \hfill \\ v_{{\text{gd } - \text{ }}}^{{\text{n}}} = \left( {L^{2} r_{{1}}^{{{\text{gn}}}} - J_{11}^{{{\text{gp}}}} } \right)\left( {i_{{\text{gd } - \text{ }}}^{{\text{n*}}} - i_{{\text{gd } - \text{ }}}^{{\text{n}}} } \right) + J_{12}^{{{\text{gp}}}} \cdot \hfill \\ {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} \left( {i_{{\text{gq } - \text{ }}}^{{\text{n*}}} - i_{{\text{gq } - \text{ }}}^{{\text{n}}} } \right){\kern 1pt} + \omega Li_{{\text{gq } - \text{ }}}^{{\text{n*}}} - Ri_{{\text{gq } - \text{ }}}^{{\text{n*}}} + u_{{\text{gd } - \text{ }}}^{{\text{n}}} \hfill \\ v_{{\text{gq } - \text{ }}}^{{\text{n}}} = \left( {L^{2} r_{{2}}^{{{\text{gn}}}} - J_{{{22}}}^{{{\text{gp}}}} } \right)\left( {i_{{\text{gq } - \text{ }}}^{{\text{n*}}} - i_{{\text{gq } - \text{ }}}^{{\text{n}}} } \right) - J_{12}^{{{\text{gp}}}} \cdot \hfill \\ {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} \left( {i_{{\text{gd } - \text{ }}}^{{\text{n*}}} - i_{{\text{gd } - \text{ }}}^{{\text{n}}} } \right){\kern 1pt} - \omega Li_{{\text{gq } - \text{ }}}^{{\text{n*}}} - Ri_{{\text{gq } - \text{ }}}^{{\text{n*}}} + u_{{\text{gq } - \text{ }}}^{{\text{n}}} \hfill \\ \end{gathered} \\ \end{array} } \right. $$
(24)

The control system of PGSC is shown in detail in Fig. 3, the voltage loop adopts PI control strategy and current loop adopts passivity-based control strategy.

Fig. 3
figure 3

Simulation results of network side selects the different control target, and the rotor side selects the control target 4

4.3 RSC

For RSC, due to the DFIG terminal voltage is always symmetrical under unbalanced grid voltage, RSC can still use the traditional control strategy based on stator voltage orientation or stator flux orientation. Here, its control strategy is similar to the PGSC, the inner loop uses passivity-based control and the outer loop uses PI control strategy. Therefore, the detailed control strategy is not described here.

5 Simulation Results

A detailed simulation model of a 2 MW wind generator connected to the grid has been developed using Matlab/Simulink platform to study the performance of the proposed control scheme. Assuming a phase voltage drop 10%. The parameters of the system are given as follows, the parameters of the DFIG are given in Table 1; the control parameters for PIR and PI in the voltage loop of SGSC and PGSC are shown in Table 2. In order to further simplify the controller structure on the basis of ensuring the system strictly passive, in the current loop of RSC and PGSC, we choose the damping coefficient, the interconnection coefficient.

Table 1 Simulation parameters of DFIG system
Table 2 Parameters of the GSC controllers

In order to illustrate the advantages of the proposed method of combining SGSC and PBC, a simulation comparison of three methods has been made in this paper, that is, the control in the text (Let's call it SGSC + PBC), only using SGSC with PI control (Let's call it SGSC + PI) and only use PBC control (Let's call it PBC). During the period of t = 0–0.4 s, three kinds of control strategies are used to realize the operation under the unbalanced power grid. And four different control targets are realized in different time periods: 0–0.1 s, corresponding to control target 1; 0.1–0.2 s, the control target 2; 0.2–0.3 s, control target 3, and 0.3–0.4 s control target 4. The rotor side selects a control target that maintains a constant electromagnetic torque to reduce the mechanical load on the wind system shaft [15].

Since the grid side and the rotor side of the DFIG can be controlled separately, when choose different targets on grid side, the control effect of maintaining a constant electromagnetic torque on the rotor side is basically unchanged. The effect of PBC on the rotor side is better than that of PI control has been discussed in many literatures, so, PBC is adopted in this paper. Simulation results are shown in Fig. 3. As shown in Fig. 3a, the rotor side current is well controlled when the grid is unbalanced. And in Fig. 3, the given control target is achieved, that is, eliminating the double harmonics of the DFIG output reactive power of stator and electromagnetic torque.

DC bus voltage waveforms under the three control strategies are shown in Fig. 4. It can be seen that under the same condition of unbalanced voltage, when selecting the control target 1, the DC bus voltage reaches a stable value at 20 ms under the SGSC + PI control strategy. Using the SGSC + PBC, it will be stable at 3 ms. Under the control target 2 to control target 4, its oscillation is small and waveform is smoother under the control strategy in this paper than the previous two strategies. Therefore, the speed of dynamic response of the control strategy mentioned in this paper is faster and the anti-interference ability is stronger.

Fig. 4
figure 4

DC bus voltage waveforms by three control strategies

Figure 5 shows the current waveforms on the grid side of the three control strategies. Comparatively in Fig. 5a–c, under the control of target 1, the overshoot of the grid current is larger in the 0–0.06 s under the SGSC + PI control strategy, which is easy to cause the converter to saturate. However, the PBC and the SGSC + PBC strategy have no overshoot. When selecting the control targets 2 and 3, the effects of the three control strategies are similar. In the target 4, under the first control strategy, the grid current to achieve a relatively balance at 0.35 s, the other two control strategies have been balanced when 0.3 s. However, the two-phase drop current has not fully recovered under the PBC strategy. Therefore, the control strategy mentioned in this paper has obvious advantages in dynamic response speed and stability.

Fig. 5
figure 5

Grid side current waveforms by three control strategies

Figure 6 shows the power waveforms of the grid side of the three control strategies. Table 3 shows the ratio of active and reactive twofold harmonic ripple components to average power when these strategies are used for four different control targets. It can be seen from Fig. 6 and Table 3 that under the control targets 1–4, compared with the SGSC + PI control and PBC, the active and reactive power stabilization time, overshoot and harmonic content is smaller under the proposed control strategy. Therefore, the grid side power control strategy proposed in this paper is superior to the former two control strategies in terms of control performance.

Fig. 6
figure 6

Grid-side power waveforms by three control strategies

Table 3 Comparison of operation results of three control methods under different control objectives

6 Experimental Result

Figure 7 shows the schematic diagram of the experimental system. The platform consists of doubly-fed generator, prime mover, SGSC, PGSC, RSC and their respective control systems. Among Which, the power switch of the converters adopt SIEMENS EUPEC 3rd generation IGBT module, IGBT drive module using CONCEPT company SCALE 2SD315AI, the grid-side and rotor-side controllers use TI's DSP 28335, the wind turbine instead by the prime mover-Z4-132-3 DC motor, its rated 15 kW, rated speed 1000 rpm. The parameters of DFIG are completely consistent with the parameters in simulation. In the experiment, the grid side converter is equivalent to a resistor.

Fig. 7
figure 7

Pysical wiring diagram of DFIG and control system

Figures 8, 9, 10, and 11 are the experimental waveforms obtained when control objectives of the grid side is chosen form target 1 to target 4 and the rotor side is selected the control target 2 [15], the PBC strategy is adopted on the left side and the control strategy in this paper is adopted on the right.

Fig. 8
figure 8

Experimental results of control target 1

Fig. 9
figure 9

Experimental results of control target 2

Fig. 10
figure 10

Experimental results of control target 3

Fig. 11
figure 11

Experimental results of control target 4

As can be seen from Fig. 8, the two control strategies under control target 1, the positive and negative current waveforms on the grid side are stable at the dq axis, that is, the grid current is sinusoidal. From Fig. 9, under the control target 2, the active power of the grid is 7 kW, and the reactive power fluctuates up and down at 0Var, which is consistent with the conclusion that the reactive power in the simulation contains the second harmonic ripple. In Fig. 10, choose the control target 3, the DC bus voltage is clearly stable at 700 V. In Fig. 11, under the control target 4, the reactive power of the grid is a DC quantity, and the grid active power fluctuates up and down at 7 kW, and contains the second harmonic. Therefore, combining the SGSC and PBC, that is, the proposed control strategy, the fluctuations of the experimental waveforms of power, voltage and current are significantly smaller than the results obtained by the passivity-based control strategy, so the results on the experimental platform also verify the correctness and effectiveness of the control method proposed in this paper.

7 Conclusion

The passive control theory is a nonlinear control theory based on system energy. It is closer to the physical model of DFIG than traditional control strategies and can achieve global stability of the system. In this paper, the SGSC + PBC is compared with the SGSC + PI and PBC. Through the theoretical analysis, the software simulation and the hardware experiment, we can draw the following conclusions,

  1. (1)

    SGSC can eliminate the influence on the stator voltage control loop and suppress the system output power twofold frequency fluctuation under unbalanced grid voltage. And the system based on passivity-based control has global stability, does not depend on some specific structural attributes of DFIG system, the parameter is easy to adjust, and the control effect is ideal;

  2. (2)

    Compared with traditional SGSC + PI control and PBC, the coordinated control strategy of SGSC + PBC proposed in this paper can make the DFIG coordinated control system have the characteristics of fast response, less parameters, easy adjustment, strong anti-interference ability and high stability.