A Rotor-Sync Signal-Based Control System of a Doubly-Fed Induction Generator in the Shaft Generation of a Ship

A doubly-fed induction machine in generator-mode is popularly used for energy generation, particularly in the case of a variable speed, such as in the wind generator, the shaft generator of a ship, because the doubly-fed induction generator is able to maintain a stable frequency when changing the rotor speed. This paper aims to propose a novel method for controlling the shaft generation system of a ship using a doubly-fed induction generator. This method uses the rotor signals of a small doubly-fed induction machine as base components to create the control signal for the doubly-fed induction generators. The proposed method will be proven by both theory and a simulation model. The advantage of the proposed method is that the control system of the generator can be simply built, but it functions effectively. The generator voltage always coincides with the grid voltage, even when the grid voltage and the rotor speed are changed, and the reactive and active power of the generator fed into the grid can be separately controlled.


Introduction
Today, fuel resources are increasingly becoming exhausted, so identifying and using renewable sources is very urgent and necessary.In order for these renewable energy sources to operate reliably, they must be able to operate together or connected to the grid.Some researches [1,2] have succeeded in solving these difficulties.However, on a ship, it is more difficult to connect the generator voltage to the grid, because the grid of the ship is a soft-grid, and so the voltage is frequently changed.Therefore, solving this problem is a challenge and an opportunity for scientists.
On a ship, the power station must be optimally exploited when cruising to reduce energy consumption, noise, environmental pollution and to avoid the negative impact on people and nature.When navigating on the sea, in steady climatic and weather conditions, the main propulsion engines of the ship's propeller often do not reach full capacity.To take advantage of this surplus capacity, the ship is designed with a shaft generator, which works together with the diesel generator.
The required power for a ship in cruise mode only accounts for 5-10% of the main engine power.Therefore, ships with a shaft generator use the main engine's surplus power to save the operation time of the diesel generators, reduce the consumption of materials, and improve the lifetime of the diesel generator.In particular, the production cost of a power unit, created by a shaft generator, is only equal to 50% of the cost, when using the diesel generator [3].
However, as the power station system adds the shaft generator, the ship's power system becomes more complicated, posing technical problems that need to be addressed.The most complicated problem is that the output voltage of the shaft generator must coincide with the unstable grid voltage of the ship, when changing the rotor speed of the main engine [4,5].Further, the engine power is much larger than the electric power, so the rotor speed of the generator is independent of the electric power.The rotor speed depends only on the operation of the ship, so the speed range of the rotor is very wide.Therefore, the most effective solution is to use the doubly-fed induction machine in generator mode because of its ability to maintain a stable frequency of this system.
The doubly-fed induction machine (DFIM) is an induction machine with both stator and rotor windings [6].The doubly-fed induction machine plays the role of generation (DFIG), with inherent advantages, such as a small control circuit, suitable for the variable speed system, so DFIG has been applied in many energy generation systems, such as the shaft generator in a ship, the wind generator system.In these generator systems, the control circuit is located in the rotor, and the energy emitted in the stator is transmitted to the grid directly.Thus, the control circuit power is much lower than the grid-transmitted power.
The control circuit has two main parts: The first part is connected to the grid [7,8], used to regulate the DC voltage [9,10].The second part is connected to the rotor of DFIG [11,12], used to control the reactive and active power of DFIG fed into the grid [13,14].The rotor side control is more complicated than the grid side control, thus attracting many scientists around the globe.In this study, we are only interested in controlling the rotor side control, so we assume that the DC source already exists and is stable.
There is a lot of research on controlling the control system for the rotor side [15,16], most of which use the space vector modulation technique.Relying on that technique, in order for the controller to perform the mission, all parameters of the stator and rotor must be transformed in a synchronous reference frame [17,18], which coincides with the space vector of the grid voltage (grid voltage-orientated coordinates) or with the space vector of the stator flux (stator-flux-orientated coordinates).However, the final parameters for controlling the system are not within these coordinates.Thus, the control structure must consist of two coordinate conversion stages: First, all input and feedback parameters of the controller are transformed in a synchronous reference frame; and lastly, all output parameters of the controller are transformed in the rotor or stator frame.For these reasons, the control system calculations must be more complex.
In this research, the author proposes a simple and effective technique, which does not need the coordinate-conversion stages.Relying on this proposed technique, all signals of the control system are continuous.This technique uses the rotor signals of a small DFIM as a base to create the control signals of the DFIG rotor current.

The Proposed Model
The purpose of the control system is to make the DFIG stator voltage coincide with the grid voltage in the case of a changing rotor speed and grid voltage.Thus, the author proposes a method of using a small DFIM with the stator connected to the grid, so the change of the DFIM rotor voltage depends on two factors: the rotor speed and the grid voltage.The natural change in the DFIM rotor voltage is therefore suitable for controlling the DFIG rotor current.DFIM only acts as a sync signal generator, so it has a small capacity.In order for the sync signal to not be distorted, the output of this signal is connected to high resistance.The initially proposed model is shown in Figure 1.
The generation system includes:

•
The main machine, which is used for pulling the propeller.In addition, it is also used for pulling the shaft generator through the gearbox.

•
DFIM with the stator connected to the grid and the rotor connected to the high-resistance mode.
The DFIM rotor signal is a base component for creating the control signals for DFIG.

•
An isolation stage, which is a circuit that has a high-resistance input, so the DFIM rotor is connected to the high resistance.

•
The current control circuit, which creates the output current value that is equal to the input voltage value.
• DFIG, which creates the power that is fed into the grid.
Rotors of DFIG and DFIM are connected to each other tightly so that the angles between the stator and rotor are equal.
Processes 2019, 7, x FOR PEER REVIEW 3 of 17 Figure 1.The initially proposed model.
The generation system includes:


The main machine, which is used for pulling the propeller.In addition, it is also used for pulling the shaft generator through the gearbox. DFIM with the stator connected to the grid and the rotor connected to the high-resistance mode.
The DFIM rotor signal is a base component for creating the control signals for DFIG.


An isolation stage, which is a circuit that has a high-resistance input, so the DFIM rotor is connected to the high resistance.


The current control circuit, which creates the output current value that is equal to the input voltage value. DFIG, which creates the power that is fed into the grid.
Rotors of DFIG and DFIM are connected to each other tightly so that the angles between the stator and rotor are equal.

The Initial Equations
The system includes two machines, so the parameter symbols are as follows: G X for DFIG, and M X for DFIM.For example, s G R is the stator resistance of DFIG, and The DFIM equations in the grid voltage-orientated coordinates are as follows [19][20][21]: The DFIM rotor is connected to the high resistance, so Figure 1.The initially proposed model.

The Initial Equations
The system includes two machines, so the parameter symbols are as follows: G X for DFIG, and M X for DFIM.For example, G R s is the stator resistance of DFIG, and M R s is the stator resistance of DFIM.
The DFIM equations in the grid voltage-orientated coordinates are as follows [19][20][21]: , The DFIM rotor is connected to the high resistance, so On the rotor shaft-orientated coordinates, the DFIM rotor voltage and DFIM rotor flux equations are as follows [20,21]: .
Substituting M i r r = 0 for (3b), M ψ r r = M i r s • M L m , and substituting for (3a): M u r r is fed into the isolation stage.The first section of the isolation stage is the amplifier with the gain G ss , so the output voltage vector of this section in the rotor shaft-orientated coordinate is: Next, u r ss is fed into the integral section, so the signal output vector of the integral section in the rotor shaft-orientated coordinate is: Converting ( 6) into an equation in the grid voltage-orientated coordinates: is is fed into the current control circuit.This circuit makes the output current value equal the input voltage value: The DFIG equations in the grid voltage-orientated coordinates are as follows: .
The DFIG rotor receives the current ( G i f r ) from the current control circuit.We control G i f r to satisfy Equation (10):

Adjusting the System before the DFIG Stator is Connected to the Grid
The DFIG stator is disconnected from the grid, so the DFIG stator current is Considering Equation (2), which is the DFIM stator voltage equation, the grid voltage equation also includes two parts:

•
The first part creates the heat of the resistor: , but this part is very small in G u f s , so it can be neglected.

•
The second part creates the flux:

•
The frequency of G u f sψ is equal to the frequency of the grid voltage.
Processes 2019, 7, 188 5 of 16 Combining (12) with (11), it can be seen that the frequency of G u f sψ is equal to the frequency of the DFIG stator voltage.
Finally, the frequency of the DFIG stator voltage is equal to the frequency of the grid voltage, and the phase difference between the two voltages is very small and constant, so it can be ignored or can be compensated for in an easy way, that is, by rotating the shaft between DFIG and DFIM.
The amplitude of the DFIG stator voltage can be adjusted by G ss in the isolation stage.In order for G u f s = M u f sψ , G ss is evaluated by balancing the equation: After adjusting, all of the above stages will be kept stable.
In the stator-fix-orientated coordinates, the DFIG stator voltage (ignoring the small voltage in the resistor) is [20,21]: The above equation shows that the phase of the stator voltage is equal to the phase of the stator flux plus π/2.
G i f r0 creates the flux, so the phase of G i f r0 is equal to the phase of the flux, so the phase of G i f r0 is equal to the phase of the stator voltage minus π/2.Thus, in the grid voltage-orientated coordinates, (− G i f r0 ) is a base component to create the q axis component of the rotor current ( G i rq ).The phase of the d axis component of the rotor current ( G i rd ) is equal to the phase of (− G i f r0 ) minus π/2, or is equal to the phase of G i f r0 plus π/2.The vector graph in the grid voltage-orientated coordinates is shown in Figure 2.

Controlling the System in the Grid-Connected Mode
In the grid-connected mode, the DFIG stator feeds the current the DFIG stator flux is as follows: Substituting f s G ψ for (9a), the DFIG stator voltage is: The voltage in s G R is very small, so this voltage can be ignored.Thus,

Controlling the System in the Grid-Connected Mode
In the grid-connected mode, the DFIG stator feeds the current G i f s to the grid.The DFIG rotor current is the DFIG stator flux is as follows: Processes 2019, 7, 188 6 of 16 Substituting G ψ f s for (9a), the DFIG stator voltage is: The voltage in G R s is very small, so this voltage can be ignored.Thus, G u f s is written as: The DFIG stator voltage must coincide with the grid voltage and be steady.Combining G u f s in Equation ( 17) with G u f s in Equation ( 11): Analyzing the components of G i f rt :

Controlling the DFIG Stator Power
In the grid voltage-orientated coordinates, G u sq = 0, so the DFIG stator power is [14,15]: Substituting G i sd (19a) for (20a) and G i sq (19b) for (20b): where: where: ; and G i rd0 is created by rotating the vector G i f r0 by angles π/2.Substituting G i rtd and G i rtq for (21a,b): In the grid voltage-orientated coordinates, G u sd , G i rd0 , G i rq0 are steady, so X and Y are steady.Thus, the reactive and active power can be controlled by adjusting G q and G p separately.The system block diagram is shown in Figure 3. Thus, the reactive and active power can be controlled by adjusting Gq and Gp separately.The system block diagram is shown in Figure 3.

Building the Model to Demonstrate the Correctness of the Proposed Structure
In the above section, based on the DFIG equations, the author proposed a control structure and demonstrated its ability to control the system.For clarity, in this section, the author will build circuits and emulate systems using the Matlab-Simulink software (R2014b, MathWorks Inc., Natick, MA, USA).
Based on the system structure in Figure 3, building the system includes:  DFIM with the stator connected to the grid and the rotor functioning in high-resistance mode.


The isolation stage, which is a circuit with a high-resistance input, so the DFIM rotor is connected to the high resistance.

Building the Model to Demonstrate the Correctness of the Proposed Structure
In the above section, based on the DFIG equations, the author proposed a control structure and demonstrated its ability to control the system.For clarity, in this section, the author will build circuits and emulate systems using the Matlab-Simulink software (R2014b, MathWorks Inc., Natick, MA, USA).
Based on the system structure in Figure 3, building the system includes: • DFIM with the stator connected to the grid and the rotor functioning in high-resistance mode.

•
The isolation stage, which is a circuit with a high-resistance input, so the DFIM rotor is connected to the high resistance.

•
The integral stage, which is a circuit in which output signals are created by integrating the input signal.

•
The current control circuit, which creates the currents fed into the DFIG rotor.

•
The e jπ/2 stage, which creates the output signals in order that the phases of the output signals are equal to the phases of the input signals plus π/2.

•
The amplifying stage G q : Based on (23b), the reactive power of the DFIG stator can be controlled by adjusting G q .

•
The amplifying stage G p : Based on (23a), the active power of the DFIG stator can be controlled by adjusting G p .• DFIG, which is the doubly-fed induction generator that creates the currents fed into the grid.
All of the above stages are available in Matlab-Simulink.These stages' fabrication techniques in practice are very easy.The details are as follows:

•
Four amplifier stages, such as G ss , G p , G q , (−1), and one integral stage are available in the library of Matlab-Simulink.

•
The e jπ/2 stage is the three-phase circuit, with a phase difference between each two input phases that is a 2π/3.For example, working on the A-phase, the phase of the output signal (S a ') is equal to the phase of the input signal (S a ) plus π/2.The signal (S a ') is created by the formula (Figure 4a) [22]: to the phase of the input signal (Sa) plus π/2.The signal (Sa') is created by the formula (Figure 4a) [22]: Running the e jΠ/2 stage with input signals (Sa, Sb, Sc), the A-phase output signal (Sa') is presented in Figure 4b.The current control circuit has three phases (Figure 5a), and each phase is controlled by two IGBTs independently.For example, the A-phase with the desired current value (i * ra) and the actual current value (ira).If i * ra is less than ira, G1_1 is turned off, and G2_1 is turned on to decrease ira; otherwise, G1_1 is turned on, and G2_1 is turned off to increase ira.Running this circuit, the results are shown in Figure 5b.Running the e jΠ/2 stage with input signals (S a , S b , S c ), the A-phase output signal (S a ') is presented in Figure 4b.
The current control circuit has three phases (Figure 5a), and each phase is controlled by two IGBTs independently.For example, the A-phase with the desired current value (i * ra ) and the actual current value (i ra ).If i * ra is less than i ra , G1_1 is turned off, and G2_1 is turned on to decrease i ra ; otherwise, G1_1 is turned on, and G2_1 is turned off to increase i ra .Running this circuit, the results are shown in Figure 5b.
 j e stage is the three-phase circuit, with a phase difference between each two input phases that is a 2π/3.For example, working on the A-phase, the phase of the output signal (Sa') is equal to the phase of the input signal (Sa) plus π/2.The signal (Sa') is created by the formula (Figure 4a) [22]: Running the e jΠ/2 stage with input signals (Sa, Sb, Sc), the A-phase output signal (Sa') is presented in Figure 4b.The current control circuit has three phases (Figure 5a), and each phase is controlled by two IGBTs independently.For example, the A-phase with the desired current value (i * ra) and the actual current value (ira).If i * ra is less than ira, G1_1 is turned off, and G2_1 is turned on to decrease ira; otherwise, G1_1 is turned on, and G2_1 is turned off to increase ira.Running this circuit, the results are shown in Figure 5b.

•
The other stages: The other generator, 600V-1MVA, the transformer, TR1, the wire, L, the rectifier circuit with three level bridges, the voltage measurement device, the current measurement device, the breaker, etc.
Finally, the simulation model is shown in Figure 6, and the parameters of DFIG and DFIM are shown in Table 1.shown in Table 1.
Table 1.The parameters of DFIG and DFIM.G p and G q are set to zero.The multiplier G ss is adjusted in order that the DFIG stator voltage coincides with the grid voltage.The signals during the adjustment of G ss are shown in Figure 7.

The Results and Discussion
The DFIG stator generates the voltages (example in the A-Phase: G u sa ), with the phase and frequency being always equal to the phase and frequency of the grid voltage.Thus, in order for the DFIG stator to be connected to the grid, we only need to adjust the amplitude of G u sa .The simulation results show that if the value of G ss increases, the amplitude of G u sa increases.If the value of G ss decreases, the amplitude of G u sa decreases.At time=1.6s and setting G ss = 11.2, the amplitude of G u sa is equal to the amplitude of the grid voltage ( M u sa ), so the DFIG stator can be connected to the grid.
Next, the model was run to test the ability of the DFIG stator voltage ( G u sa ) to coincide with the grid voltage ( M u sa ) in the case of the changing of the rotor speed ( In the period before 1.4 s and after 1.9 s, setting Gp and Gq to zero, the result is sa G i = 0 (A), so = 0 and Q = 0.In the period from 1.4 s to 1.6 s, Gp ≠ 0 and Gq = 0.The simulations show that the phase of t DFIG stator current is equal to the phase of the grid voltage (example in the A Phase: sa G i , sa G u ), the DFIG stator feeds the active power to the grid.In addition, if Gp increases by double, the DF stator current amplitude increases by double, and the active power increases by double.From 1.7 s to 1.9 s, Gq ≠ 0 and Gp = 0.The simulations show that the phase of the DFIG stat current is faster than the phase of the grid voltage at an angle of π/2, so the DFIG stator feeds t reactive power to the grid.In addition, if Gq increases by double, the stator current amplitu increases by double, and the reactive power increases by double.
Thus, these simulation results show that it is very easy to control Q and P by adjusting Gq a Gp separately.
Next, when changing the rotor speed ( ɷ ), the stability of the system is shown in Figure 1 Setting Gp = 10 and Gq = 0, the simulation results show that the DFIG rotor currents ( are changed, but the DFIG stator current (example in the A Phase: sa G i ) is not changed, so P and are not changed.Thus, it is confirmed that the system is stable when the rotor speed is changed.
) and the grid voltage.The ability to coincide with the grid voltage of the generator in the case of the changing of In the period before 1.4 s and after 1.9 s, setting Gp and Gq to = 0 and Q = 0.
In the period from 1.4 s to 1.6 s, Gp ≠ 0 and Gq = 0.The sim DFIG stator current is equal to the phase of the grid voltage (exa the DFIG stator feeds the active power to the grid.In addition, stator current amplitude increases by double, and the active pow From 1.7 s to 1.9 s, Gq ≠ 0 and Gp = 0.The simulations show current is faster than the phase of the grid voltage at an angle o reactive power to the grid.In addition, if Gq increases by do increases by double, and the reactive power increases by double.
Thus, these simulation results show that it is very easy to c Gp separately.
Next, when changing the rotor speed ( ɷ ), the stability of Setting Gp = 10 and Gq = 0, the simulation results show that the D are changed, but the DFIG stator current (example in the A Phas are not changed.Thus, it is confirmed that the system is stable w is shown in Figure 8.When In the period before 1.4 s and after 1.9 s, setting Gp and Gq to zero, the result is sa G i = 0 (A), so P = 0 and Q = 0.In the period from 1.4 s to 1.6 s, Gp ≠ 0 and Gq = 0.The simulations show that the phase of the DFIG stator current is equal to the phase of the grid voltage (example in the A Phase: the DFIG stator feeds the active power to the grid.In addition, if Gp increases by double, the DFIG stator current amplitude increases by double, and the active power increases by double.
From 1.7 s to 1.9 s, Gq ≠ 0 and Gp = 0.The simulations show that the phase of the DFIG stator current is faster than the phase of the grid voltage at an angle of π/2, so the DFIG stator feeds the reactive power to the grid.In addition, if Gq increases by double, the stator current amplitude increases by double, and the reactive power increases by double.
Thus, these simulation results show that it is very easy to control Q and P by adjusting Gq and
Next, when changing the rotor speed ( ɷ ), the stability of the system is shown in Figure 11.
Setting Gp = 10 and Gq = 0, the simulation results show that the DFIG rotor currents ( ) are changed, but the DFIG stator current (example in the A Phase: sa G i ) is not changed, so P and Q are not changed.Thus, it is confirmed that the system is stable when the rotor speed is changed.
is closer to 1 pu (synchronous speed), the frequency and amplitude of DFIM rotor voltages ( M u ra , M u rb , M u rc ) are reduced, the DFIG rotor current ( G i ra , G i rb , G i rc ) and amplitudes are steady, and the frequencies are reduced.When In the period before 1.4 s and after 1.9 s, setting Gp and Gq to zero, the result is sa G i = 0 (A), so = 0 and Q = 0.
In the period from 1.4 s to 1.6 s, Gp ≠ 0 and Gq = 0.The simulations show that the phase of th DFIG stator current is equal to the phase of the grid voltage (example in the A Phase: the DFIG stator feeds the active power to the grid.In addition, if Gp increases by double, the DFI stator current amplitude increases by double, and the active power increases by double.
From 1.7 s to 1.9 s, Gq ≠ 0 and Gp = 0.The simulations show that the phase of the DFIG stato current is faster than the phase of the grid voltage at an angle of π/2, so the DFIG stator feeds th reactive power to the grid.In addition, if Gq increases by double, the stator current amplitud increases by double, and the reactive power increases by double.
Thus, these simulation results show that it is very easy to control Q and P by adjusting Gq an Gp separately.
Next, when changing the rotor speed ( ɷ ), the stability of the system is shown in Figure 1 Setting Gp = 10 and Gq = 0, the simulation results show that the DFIG rotor currents ( are changed, but the DFIG stator current (example in the A Phase: sa G i ) is not changed, so P and are not changed.Thus, it is confirmed that the system is stable when the rotor speed is changed.
is equal to 1 pu, M u ra , M u rb , M u rc are zero, and G i ra , G i rb , G i rc become the steady ones.Finally, G u sa and M u sa always have an equal frequency, equal amplitude, and equal phase.Thus, in the case of the changing of the rotor speed, the DFIG stator voltage always coincides with the grid voltage.
decreases, the amplitude of sa G u decreases.At time=1.6s and setting Gss = 11.2, the amplitude of sa G u is equal to the amplitude of the grid voltage ( sa M u ), so the DFIG stator can be connected to the grid.always have an equal frequency, equal amplitude, and equal phase.Thus, in the case of the changing of the rotor speed, the DFIG stator voltage always coincides with the grid voltage.
In addition, the simulation results in Figure 8 show that when changing the rotor speed (ɷ), the DFIG rotor current ( f r G i 0 ) in the grid voltage-orientated coordinates is constant, and this result coincides with the above conclusions.In grid-disconnected mode, the conclusion is that, after adjusting Gss, the DFIG stator voltage In addition, the simulation results in Figure 8 show that when changing the rotor speed ( stator current amplitude increases by double, and the active powe From 1.7 s to 1.9 s, Gq ≠ 0 and Gp = 0.The simulations show current is faster than the phase of the grid voltage at an angle of reactive power to the grid.In addition, if Gq increases by dou increases by double, and the reactive power increases by double.
Thus, these simulation results show that it is very easy to co Gp separately.
Next, when changing the rotor speed ( ɷ ), the stability of Setting Gp = 10 and Gq = 0, the simulation results show that the DF are changed, but the DFIG stator current (example in the A Phase are not changed.Thus, it is confirmed that the system is stable wh ), the DFIG rotor current ( G i f r0 ) in the grid voltage-orientated coordinates is constant, and this result coincides with the above conclusions.G i f r0 is constant, so G i f r0 is the base component for modulating the d, q axis component of the DFIG rotor current ( G i rd , G i rq ) in the grid voltage-orientated coordinates.
When the grid voltage ( M u sa ) is reduced, the ability to coincide with the grid-voltage of the generator is shown in Figure 9.The DFIM rotor voltages ( M u ra , M u rb , M u rc ) and the DFIM rotor currents ( G i ra , G i rb , G i rc ) are changed, but the DFIG stator voltage ( G u sa ) always coincides with the grid voltage ( M u sa ).

Controlling the System in the Grid-Connected Mode
When the DFIG stator is connected to the grid, it is very easy to control Q and P separately by adjusting Gq and Gp.The simulation results are shown in Figure 10.In grid-disconnected mode, the conclusion is that, after adjusting G ss , the DFIG stator voltage always coincides with the grid voltage, even when the grid voltage and the rotor speed are changing.This is a very good condition for connecting the DFIG stator to the grid.

Controlling the System in the Grid-Connected Mode
When the DFIG stator is connected to the grid, it is very easy to control Q and P separately by adjusting G q and G p .The simulation results are shown in Figure 10.In the period before 1.4 s and after 1.9 s, setting Gp and Gq to zero, the result is sa G i = 0 (A), so P = 0 and Q = 0.
In the period from 1.4 s to 1.6 s, Gp ≠ 0 and Gq = 0.The simulations show that the phase of the DFIG stator current is equal to the phase of the grid voltage (example in the A Phase: the DFIG stator feeds the active power to the grid.In addition, if Gp increases by double, the DFIG stator current amplitude increases by double, and the active power increases by double.
From 1.7 s to 1.9 s, Gq ≠ 0 and Gp = 0.The simulations show that the phase of the DFIG stator current is faster than the phase of the grid voltage at an angle of π/2, so the DFIG stator feeds the reactive power to the grid.In addition, if Gq increases by double, the stator current amplitude increases by double, and the reactive power increases by double.
Thus, these simulation results show that it is very easy to control Q and P by adjusting Gq and Gp separately.
Next, when changing the rotor speed (ɷ), the stability of the system is shown in Figure 11.Setting Gp = 10 and Gq = 0, the simulation results show that the DFIG rotor currents ( ) are changed, but the DFIG stator current (example in the A Phase: sa G i ) is not changed, so P and Q are not changed.Thus, it is confirmed that the system is stable when the rotor speed is changed.In the period before 1.4 s and after 1.9 s, setting G p and G q to zero, the result is G i sa = 0 (A), so P = 0 and Q = 0.
In the period from 1.4 s to 1.6 s, G p = 0 and G q = 0.The simulations show that the phase of the DFIG stator current is equal to the phase of the grid voltage (example in the A Phase: G i sa , G u sa ), so the DFIG stator feeds the active power to the grid.In addition, if G p increases by double, the DFIG stator current amplitude increases by double, and the active power increases by double.
From 1.7 s to 1.9 s, G q = 0 and G p = 0.The simulations show that the phase of the DFIG stator current is faster than the phase of the grid voltage at an angle of π/2, so the DFIG stator feeds the reactive power to the grid.In addition, if G q increases by double, the stator current amplitude increases by double, and the reactive power increases by double.
Thus, these simulation results show that it is very easy to control Q and P by adjusting G q and G p separately.
Next, when changing the rotor speed (  In the period before 1.4 s and after 1.9 s, setting Gp and Gq to zero, the result is sa G i = 0 (A), so P = 0 and Q = 0.In the period from 1.4 s to 1.6 s, Gp ≠ 0 and Gq = 0.The simulations show that the phase of the DFIG stator current is equal to the phase of the grid voltage (example in the A Phase: sa G i , sa G u ), so the DFIG stator feeds the active power to the grid.In addition, if Gp increases by double, the DFIG stator current amplitude increases by double, and the active power increases by double.From 1.7 s to 1.9 s, Gq ≠ 0 and Gp = 0.The simulations show that the phase of the DFIG stator current is faster than the phase of the grid voltage at an angle of π/2, so the DFIG stator feeds the reactive power to the grid.In addition, if Gq increases by double, the stator current amplitude increases by double, and the reactive power increases by double.
Thus, these simulation results show that it is very easy to control Q and P by adjusting Gq and Gp separately.
Next, when changing the rotor speed ( ɷ ), the stability of the system is shown in Figure 11.
Setting Gp = 10 and Gq = 0, the simulation results show that the DFIG rotor currents ( ) are changed, but the DFIG stator current (example in the A Phase: sa G i ) is not changed, so P and Q are not changed.Thus, it is confirmed that the system is stable when the rotor speed is changed.
), the stability of the system is shown in Figure 11.Setting G p = 10 and G q = 0, the simulation results show that the DFIG rotor currents ( G i ra , G i rb , G i rc ) are changed, but the DFIG stator current (example in the A Phase: G i sa ) is not changed, so P and Q are not changed.Thus, it is confirmed that the system is stable when the rotor speed is changed.The reaction of the system in the case of the changing of the grid voltage is shown in Figure 12.The reaction of the system in the case of the changing of the grid voltage is shown in Figure 12.The reaction of the system in the case of the changing of the grid voltage is shown in Figure 12.With simple conventional power generation systems, when the DFIG stator is connected to the grid, if the grid voltage is reduced, the voltage difference between the generator terminal and the grid is increased rapidly, so the generator is over-current.However, in this proposed system, the simulation results show that, if the grid voltage is reduced, the DFIG stator current fed into the grid is decreased, so the DFIG stator power fed into the grid is decreased.Thus, the natural reaction of the system is suitable for the case of dropping the grid voltage, because the generator is not over-current.
In summary, the simulation results show that, when the DFIG is not connected to the grid, the natural characteristics of the system are such that the DFIG stator voltages and the grid voltages have an equal phase and equal frequency.We only need to adjust the amplitude of the DFIG stator voltage to make it equal to that of the grid-voltage by adjusting G ss .After this, the DFIG stator voltages always coincide with the grid voltages, even when the grid voltage and the rotor speed are changed.This is a very good condition for connecting the stator DFIG to the grid.In the grid-connected mode, it is very easy to control P and Q by adjusting G p and G q separately.Therefore, controlling the power of the generator fed into the grid will be convenient and effective.

Conclusions
This paper presents a novel method for controlling DFIG connected to the grid.This new method has been fully demonstrated by the author in both theory and simulation.Compared with the previous system, the proposed system needs small DFIM more to generate the rotor signal, but it ignores the encoder.The natural feature of the proposed system is that the output voltage always coincides with the grid voltage.All stages are very simple, and the control system does not need the coordinate conversion stages, so it is easy and cost-effective to fabricate the generator system.
When the DFIG stator is disconnected from the grid, the DFIG stator voltages and the grid voltages have an equal phase and equal frequency.Thus, in order for the DFIG stator to be connected to the grid, we only need to adjust the amplitude of the DFIG stator voltage by adjusting G ss .After this, the DFIG stator voltages always coincide with the grid voltages, even when the grid voltage and the rotor speed are changed.This is a very good condition for connecting the stator DFIG to the grid.
When the DFIG stator is connected to the grid, it is very easy to control P and Q by adjusting G p and G q separately.
Based on this novel method, the structure of the control system is very simple, and the generation system operates easily and effectively.This system is suitable for energy generation system applications with a variable speed, particularly on ships with an unstable grid voltage.
However, the limitation of this study is that it does not offer a solution to the problem of the generator supplying loads independently when the generator is not connected to the grid.Further studies will overcome the above limitation and present practical application results for ships.Therefore, it will be possible to show more clearly the effectiveness of the proposed method., , ) tator current (example in the A Phase: sa G i ) is not changed, so P and Q onfirmed that the system is stable when the rotor speed is changed.s , active power to the grid.In addition, if Gp increases by double, the DFIG increases by double, and the active power increases by double.
q ≠ 0 and Gp = 0.The simulations show that the phase of the DFIG stator phase of the grid voltage at an angle of π/2, so the DFIG stator feeds the id.In addition, if Gq increases by double, the stator current amplitude the reactive power increases by double.on results show that it is very easy to control Q and P by adjusting Gq and g the rotor speed ( ɷ ), the stability of the system is shown in Figure 11.
, the simulation results show that the DFIG rotor currents ( ) G stator current (example in the A Phase: sa G i ) is not changed, so P and Q is confirmed that the system is stable when the rotor speed is changed.tive power to the grid.In addition, if Gp increases by double, the DFIG eases by double, and the active power increases by double.0 and Gp = 0.The simulations show that the phase of the DFIG stator ase of the grid voltage at an angle of π/2, so the DFIG stator feeds the In addition, if Gq increases by double, the stator current amplitude reactive power increases by double.results show that it is very easy to control Q and P by adjusting Gq and he rotor speed ( ɷ ), the stability of the system is shown in Figure 11.
e simulation results show that the DFIG rotor currents ( , , ) tator current (example in the A Phase: sa G i ) is not changed, so P and Q onfirmed that the system is stable when the rotor speed is changed.ctive power to the grid.In addition, if Gp increases by double, the DFIG creases by double, and the active power increases by double.≠ 0 and Gp = 0.The simulations show that the phase of the DFIG stator hase of the grid voltage at an angle of π/2, so the DFIG stator feeds the .In addition, if Gq increases by double, the stator current amplitude e reactive power increases by double.
results show that it is very easy to control Q and P by adjusting Gq and the rotor speed ( ɷ ), the stability of the system is shown in Figure 11.
he simulation results show that the DFIG rotor currents ( , , ) stator current (example in the A Phase: sa G i ) is not changed, so P and Q confirmed that the system is stable when the rotor speed is changed.

pu
Rotor speed P W Active power Q VA Reactive power i sd , i sq A d, q components of the stator current i rd , i rq A d, q components of the rotor current u rd , u rq V d, q components of the rotor voltage u sd , u sq V d, q components of the stator voltage

Figure 2 .
Figure 2. The doubly-fed induction machine plays the role of generation (DFIG) rotor current vector in the grid voltage-orientated coordinates.

Figure 2 .
Figure 2. The doubly-fed induction machine plays the role of generation (DFIG) rotor current vector in the grid voltage-orientated coordinates.
steady, so X and Y are steady.

Figure 3 .
Figure 3.The system block diagram.

Figure 3 .
Figure 3.The system block diagram.
Figure 4.The
Figure 4.The

Figure 5 .
Figure 5.The current control stage: (a) the circuit; (b) the currents.

Figure 6 .
Figure 6.The simulation system model.

5. 1 .
Before the DFIG Stator Is Connected to the Grid (the Grid-Disconnected Mode)

Processes 2019, 7 ,Figure 10 .
Figure 10.The process of adjusting P and Q through Gp and Gq.

Processes 2019, 7 ,Figure 10 .
Figure 10.The process of adjusting P and Q thro

Processes 2019, 7 , 17 Figure 10 .
Figure 10.The process of adjusting P and Q through Gp and Gq.

Processes 2019, 7 ,Figure 10 .
Figure 10.The process of adjusting P and Q through Gp and Gq.

Figure 7 .
Figure 7.The signals during an adjustment of Gss.Next, the model was run to test the ability of the DFIG stator voltage ( the base component for modulating the d, q axis component of the DFIG rotor current (

Figure 7 .
Figure 7.The signals during an adjustment of G ss .Processes 2019, 7, x FOR PEER REVIEW 11 of 17

Figure 8 .
Figure 8.The ability to coincide with the grid-voltage of the generator when changing the rotor speed.When the grid voltage (

Figure 8 .
Figure 8.The ability to coincide with the grid-voltage of the generator when changing the rotor speed.

Figure 9 .
Figure 9.The ability to coincide with the grid-voltage of the generator when changing the gridvoltage.

Figure 9 .
Figure 9.The ability to coincide with the grid-voltage of the generator when changing the grid-voltage.

Figure 10 .
Figure 10.The process of adjusting P and Q through Gp and Gq.

Figure 10 .
Figure 10.The process of adjusting P and Q through G p and G q .

Figure 10 .
Figure 10.The process of adjusting P and Q through Gp and Gq.

Figure 11 .
Figure 11.The stability of the system when the rotor speed is changed.

Figure 12 .
Figure 12.The reaction of the system when the grid voltage is changed.

Figure 11 .
Figure 11.The stability of the system when the rotor speed is changed.

Processes 2019, 7 , 17 Figure 11 .
Figure 11.The stability of the system when the rotor speed is changed.

Figure 12 .
Figure 12.The reaction of the system when the grid voltage is changed.Figure 12.The reaction of the system when the grid voltage is changed.
L s , L r L m H Stator, rotor, mutual inductance tive power to the grid.In addition, if Gp increases by double, the DFIG eases by double, and the active power increases by double.0 and Gp = 0.The simulations show that the phase of the DFIG stator ase of the grid voltage at an angle of π/2, so the DFIG stator feeds the In addition, if Gq increases by double, the stator current amplitude reactive power increases by double.results show that it is very easy to control Q and P by adjusting Gq and he rotor speed ( ɷ ), the stability of the system is shown in Figure11.esimulation results show that the DFIG rotor currents (

Table 1 .
The parameters of DFIG and DFIM.