Design and Implementation of the Permanent-Magnet Synchronous Generator Drive in Wind Generation Systems

The design and implementation of the permanent-magnet synchronous generator drive in wind generation systems is presented in this paper. The permanent-magnet synchronous generator (PMSG) can converse the alternating current (AC) power of the wind turbine to direct current (DC) power. In this paper, the dynamic model of a PMSG is first introduced. The current controller is designed based on T-S fuzzy models of the PMSG. The stability of the proposed PMSG drive system is analyzed and proved. The proposed T-S fuzzy current control possesses a disturbance suppression ability. Compared with the traditional fuzzy logic system, its stability can be proved and verified. Finally, the control performance of the PMSG drive is verified by experimental results.


Introduction
The permanent-magnet synchronous generator (PMSG) [1] is an energy conversion device with a high conversion efficiency and high power density.Furthermore, its mechanical structure is rigid and its maintenance cost is low.Therefore, it is widely implemented in industrial and commercial applications, such as wind energy systems [2], flywheel energy storage systems (FESS) [3], electric vehicles (EV) and hybrid electric vehicles (HEV) [4,5], home appliances [6], and elevators [7].The interior permanent-magnet synchronous motor (IPMSM) [8][9][10] has a higher torque generating capability, but higher torque ripple due to inductance saliency.The surface-mounted permanent-magnet synchronous motor (SPMSM) [10,11] has lower torque ripple and generates almost no reluctance torque [12].To optimize the performance and minimize torque ripple, some magnet design methods [13,14] are also proposed.
To achieve good driving performance, dynamic controls, such as direct torque control (DTC) [15], speed control [16,17], and current control [18], are adopted according to the application purpose of a permanent-magnet synchronous motor (PMSM).The generating performance of a PMSG is mainly determined by the current control scheme, since the electromagnetic torque of a PMSG is proportional to the q-axis current.The torque ripple can be reduced via elimination of the harmonics of the winding currents, and this is verified by the study in [19].Therefore, a sufficient and good current control method can improve the generating capability of a PMSG.The common current control approaches implemented in the literature include: Fixed-frequency ramp-comparison pulse-width modulation [20,21], hysteresis control [22], and predictive control [23].The dynamic performance of the fix-frequency control is extremely affected by the controller parameters, and the controller parameters

System Configuration and Dynamic Model
The system configuration of the PMSG drive is shown in Figure 1.The wind generation source is emulated by a PMSM with a PMSM driver.The required rotor speed and position are measured and calculated from the encoder.Three-phase winding currents of the PMSG are transformed to a rotor reference frame (dq-frame).The current controller based on T-S fuzzy models is implemented to generate the dq-frame voltage control efforts.The duty ratios of the power switches are determined by sinusoidal pulse-width modulation (SPWM).
Energies 2018, 11, x 2 of 10 controller parameters should be tuned under various operating conditions.The switching frequency of the hysteresis control is varying with the hysteresis band.In the predictive control scheme, the switching patterns of the driver are determined through the space-vector modulation.Recently, the Takagi-Sugeno fuzzy [24] (T-S fuzzy) is implemented in the speed control of the PMSM drive system.A design methodology for nonlinear systems based on T-S fuzzy model [25] is proposed.The concept of parallel distributed compensation is employed.The stability and design problems are reduced to a linear matrix inequality (LMI) problem.The stable fuzzy control system [26] is also developed and implemented in an electro-hydraulic servosystem and an electrical driving system.
Adaptive control [27], based on the direct fuzzy model-reference system, is employed to deal with plants with unknown parameters, which depend on known plant parameters.Furthermore, the T-S fuzzy controller is designed in state feedback form [28] for optimization algorithms.However, the algorithms presented in [25][26][27][28] are validated and verified by some simulation results.In this paper, the PMSG drive in wind generation systems is designed and implemented via T-S fuzzy models.The T-S fuzzy current controller is implemented in an experimental PMSG drive system.The experiments verify the applications of T-S fuzzy models in wind generation systems.
In wind generation systems, the wind energy is converted to electric energy through the wind turbine and the generator.The high efficiency PMSG is adopted in this study.The current controller of the PMSG drive is designed based on T-S fuzzy models.In this paper, system configuration and the dynamic model are first demonstrated.Next, the design of the current controller is introduced based on T-S fuzzy models.Then, the stability of the developed PMSG drive is analyzed and verified.The controller gains are obtained via the LMI Toolbox in the MATLAB (R2018a, TeraSoft, Taipei, Taiwan).The performance of the proposed PMSG drive is verified by experimental results.

System Configuration and Dynamic Model
The system configuration of the PMSG drive is shown in Figure 1.The wind generation source is emulated by a PMSM with a PMSM driver.The required rotor speed and position are measured and calculated from the encoder.Three-phase winding currents of the PMSG are transformed to a rotor reference frame (dq-frame).The current controller based on T-S fuzzy models is implemented to generate the dq-frame voltage control efforts.The duty ratios of the power switches are determined by sinusoidal pulse-width modulation (SPWM).The voltage equations of a PMSG in a dq-frame are [1]: where v d and v q are dq-frame voltages, i d and i q are dq-frame currents, r s is the winding resistance, L d and L q are dq-frame inductances, ω r is the electrical rotor speed, and λ m is the flux linkage established by the permanent magnet.The electromagnetic torque produced by the PMSG is: The mechanical equation of a PMSG is: where J is the inertia of the PMSG, B is the damping coefficient of the PMSG, T I is the input torque, and P is the magnetic pole number.
To simplify the control scheme, the d-axis current is generally set at zero.Therefore, the electromagnetic torque of the PMSG can be directly controlled via tuning of the q-axis current.By assuming i d = 0 in (2), the state equations of the PMSG can be summarized as:

Design of the Current Controller
To ensure the current tracking error will converge to zero, two state variables are defined: where r 1 is the target value of i q and r 2 is target value of i d .New state equations of the PMSG can be obtained by combing ( 4) and ( 5): where v(t) are the disturbances of the PMSG system.The output of the PMSG is: Energies 2018, 11, 1634 4 of 10 In the design of current controller, the nonlinear system is approximated by linear sub-systems according to the model rules of the T-S fuzzy models: Model rules i: If z 1 (t) is F i1 and . . .and z p (t) is F ip , then: where F ip is the fuzzy set, x(t) are the state variables, u(t) are the control inputs, A i and B i are the state matrices of the sub-system, and (i q , ω r ) are selected as (z 1 , z 2 ).
After defuzzification, the fuzzy system of the PMSG is: where: and The close-loop system can be obtained by substituting ( 12) into (9): The membership functions of z i are demonstrated in Figure 2a.N i and N i are the membership functions of the rule, i, d i is the minimum value of z i , and D i is the maximum value of z i .The membership functions can be represented as: In the developed PMSG drive system, the range of z 1 (i q ) is 0~18.5A and the range of z 2 (ω r ) is 0~754 rad/s.By taking these values, the membership functions of z 1 , z 2 are found: For a particular value of z i , the grade of the membership function is first found as shown in Figure 2b.Then, the weightings of the membership functions are calculated: The controller gain, K i , in (12) and the weightings, h i , in (18) are used to realize the close-loop current controller.
The controller gain, i K , in (12) and the weightings, i h , in (18) are used to realize the close-loop current controller.

Stability Analysis
The current control of the PMSG drive based on T-S fuzzy models can be obtained from ( 7) and ( 8): Define the ∞ H performance index: where γ is the ability of the disturbance suppression of the PMSG.
Lemma 1 [24].Assume there exists a positive definite matrix, , which makes the following LMI condition to be feasible: where: Then, the designed current controller in (12) can ensure the tracking error converges to zero.
Proof.Assume there exists a quadratic form function, , and 0 > γ for all time, t , then the LMI condition is:

Stability Analysis
The current control of the PMSG drive based on T-S fuzzy models can be obtained from ( 7) and ( 8): Define the H ∞ performance index: where γ is the ability of the disturbance suppression of the PMSG.
Lemma 1. [24] Assume there exists a positive definite matrix, P = X −1 , which makes the following LMI condition to be feasible: where: Then, the designed current controller in (12) can ensure the tracking error converges to zero.

Results and Discussions
Table 1 shows the parameters of the PMSG.The specifications of the PMSG drive are summarized in Table 2.The experimental setup of the developed PMSG system is shown in Figure 3.The implemented PMSG is model YBL17B-200L manufactured by YELI electric & machinery Co., Ltd., Taiwan.The oscilloscope is Agilent DSO-X 4024A (Agilent Technologies, Santa Clara, CA, USA).The current measurement system consists of the current probe Tektronix TCP303 and the amplifier Tektronix TCPA300.
By following the proper procedures proposed in [24], the LMI condition in ( 21) can be obtained from (24).By using the LMI condition in (21) and assuming 86 .0 = γ , the following controller gains are obtained:

Results and Discussions
Table 1 shows the parameters of the PMSG.The specifications of the PMSG drive are summarized in Table 2.The experimental setup of the developed PMSG system is shown in Figure 3.The implemented PMSG is model YBL17B-200L manufactured by YELI electric & machinery Co., Ltd., Taiwan.The oscilloscope is Agilent DSO-X 4024A (Agilent Technologies, Santa Clara, CA, USA).The current measurement system consists of the current probe Tektronix TCP303 and the amplifier Tektronix TCPA300.Energies 2018, 11, 1634 7 of 10

Constant Current Command
The current command of the PMSG is set as i * q = 15A, i * d = 0A.The measured winding current waveforms at different generator speeds are shown in Figure 4a-c.The accuracy and total harmonic distortion (THD) of the current waveforms are summarized in Table 3.When the d-axis current is zero and the three-phase currents are balanced, the peak value of the three phase currents will be the q-axis current.From the experimental results, it is obvious that the desired peak value of the winding current is achieved at different generator speeds.The THD is also less than 2%, which means the three-phase currents are balanced.Since the three-phase currents are balanced and the desired peak value of the winding currents can be achieved, the output power of the PMSG can be controlled.

Constant Current Command
The current command of the PMSG is set as . The measured winding current waveforms at different generator speeds are shown in Figure 4a-c.The accuracy and total harmonic distortion (THD) of the current waveforms are summarized in Table 3.When the d-axis current is zero and the three-phase currents are balanced, the peak value of the three phase currents will be the q-axis current.From the experimental results, it is obvious that the desired peak value of the winding current is achieved at different generator speeds.The THD is also less than 2%, which means the three-phase currents are balanced.Since the three-phase currents are balanced and the desired peak value of the winding currents can be achieved, the output power of the PMSG can be controlled.

Variable Current Command
First, the current command is starting from zero to a constant value at 600 rpm.The winding current waveforms shown in Figure 5a,b verify the tracking capability of the current controller.The q-axis current accurately tracks the current command.

Variable Current Command
First, the current command is starting from zero to a constant value at 600 rpm.The winding current waveforms shown in Figure 5a,b verify the tracking capability of the current controller.The q-axis current accurately tracks the current command.
Next, the current command is variable from 0A→5A→10A→15A→10A→5A at 900 rpm and 1500 rpm.The winding current waveforms are shown in Figure 6a,b, respectively.From the experimental results, it can be found that the variable current command is well traced.Under this condition, the output power is variable and controllable by changing the current command.

Conclusions
A PMSG drive in wind generation systems was designed and implemented.The wind generation source was emulated via the PMSM with a PMSM driver.First, system configuration and dynamic models of a PMSG was illustrated.Next, the current controller was designed based on T-S fuzzy models.The design procedure of the T-S fuzzy current controller was introduced and the stability analysis was also presented.The design of the current controller and stability issues were Next, the current command is variable from 0A→5A→10A→15A→10A→5A at 900 rpm and 1500 rpm.The winding current waveforms are shown in Figure 6a,b, respectively.From the experimental results, it can be found that the variable current command is well traced.Under this condition, the output power is variable and controllable by changing the current command.

Variable Current Command
First, the current command is starting from zero to a constant value at 600 rpm.The winding current waveforms shown in Figure 5a,b verify the tracking capability of the current controller.The q-axis current accurately tracks the current command.
Next, the current command is variable from 0A→5A→10A→15A→10A→5A at 900 rpm and 1500 rpm.The winding current waveforms are shown in Figure 6a,b, respectively.From the experimental results, it can be found that the variable current command is well traced.Under this condition, the output power is variable and controllable by changing the current command.

Conclusions
A PMSG drive in wind generation systems was designed and implemented.The wind generation source was emulated via the PMSM with a PMSM driver.First, system configuration and dynamic models of a PMSG was illustrated.Next, the current controller was designed based on T-S fuzzy models.The design procedure of the T-S fuzzy current controller was introduced and the stability analysis was also presented.The design of the current controller and stability issues were

Conclusions
A PMSG drive in wind generation systems was designed and implemented.The wind generation source was emulated via the PMSM with a PMSM driver.First, system configuration and dynamic models of a PMSG was illustrated.Next, the current controller was designed based on T-S fuzzy models.The design procedure of the T-S fuzzy current controller was introduced and the stability analysis was also presented.The design of the current controller and stability issues were simplified in the LMI.Moreover, the experimental setup was demonstrated.The performance of the current controller was verified by experimental results, including constant current command and variable current command.The output power of the PMSG can be varied and controlled via tuning the peak value of the three-phase balanced winding currents.

Figure 1 .
Figure 1.System configuration of the permanent-magnet synchronous generator (PMSG) drive.

Figure 1 .
Figure 1.System configuration of the permanent-magnet synchronous generator (PMSG) drive.

Figure 2 .
Figure 2. (a) Membership functions of i z and (b) grade of the membership function.

Figure 2 .
Figure 2. (a) Membership functions of z i and (b) grade of the membership function.

Figure 3 .
Figure 3. Experimental setup of the developed PMSG drive.Figure 3. Experimental setup of the developed PMSG drive.

Figure 3 .
Figure 3. Experimental setup of the developed PMSG drive.Figure 3. Experimental setup of the developed PMSG drive.

Figure 4 .
Figure 4. Measured winding current waveforms by setting * q i = 15 A, * d i = 0 A at different

Figure 5 .Figure 6 .
Figure 5. Measured winding current waveforms of the current command starts from zero to a constant value at 600 rpm: (a) 10 A and (b) 15 A.

Figure 5 .
Figure 5. Measured winding current waveforms of the current command starts from zero to a constant value at 600 rpm: (a) 10 A and (b) 15 A.

Figure 5 .
Figure 5. Measured winding current waveforms of the current command starts from zero to a constant value at 600 rpm: (a) 10 A and (b) 15 A.

Table 2 .
Specifications of the PMSG Drive.

Table 2 .
Specifications of the PMSG Drive.

Table 3 .
Accuracy and THD of the current waveforms.

Table 3 .
Accuracy and THD of the current waveforms.