Mathematical Problems in Engineering

Volume 2014 (2014), Article ID 926727, 10 pages

http://dx.doi.org/10.1155/2014/926727

## Development of Digital Control for High Power Permanent-Magnet Synchronous Motor Drives

Department of Electrical Engineering, Ming Chi University of Technology, 84 Gungjuan Road, Taishan District, New Taipei City 24301, Taiwan

Received 13 April 2014; Accepted 10 May 2014; Published 2 June 2014

Academic Editor: Her-Terng Yau

Copyright © 2014 Ming-Hung Chen and Hao-Ting Tseng. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This paper is concerned with the development of digital control system for high power permanent-magnet synchronous motor (PMSM) to yield good speed regulation, low current harmonic, and stable output speed. The design of controller is conducted by digitizing the mathematical model of PMSM using impulse invariance technique. The predicted current estimator, which is insensitive to motor feedback currents, is proposed to function under stationary frame for harmonic current suppression. In the AC/DC power converter, mathematical model and *dc*-link voltage limit of the three-phase switch-mode rectifier are derived. In addition, a current controller under synchronous frame is introduced to reduce the current harmonics and increase the power factor on the input side. A digital control system for 75 kW PMSM is realized with digital signal processor (R5F5630EDDFP). Experimental results indicate that the total harmonic distortion of current is reduced from 4.1% to 2.8% for 50 kW output power by the proposed predicted current estimator technique.

#### 1. Introduction

Basically, the structure of PMSM, which consists of three-phase windings on stator but permanent magnets on rotor, is similar to traditional synchronous motor. Because there are no excitation circuit, slip rings, and brushes, the PMSM features advantages of simple structure and high efficiency. In the vector-controlled PMSM drives, the output of speed controller provides the reference value for current controllers; therefore, it is suitable for proportional-integral (PI) controller in precision servo drive applications [1]. One of popular approaches to drive PMSM uses direct torque control (DTC) because of the merits of simple structure, quick dynamic response, and strong robustness against rotor parameters. However, it also presents some disadvantages of large torque/flux ripples [2]. The DTC uses hysteresis comparators which only consider the signs of torque and flux errors so their amplitudes are not differentiated [3]. In this paper, the high power PMSM (75 kW) is characterized by low equivalent resistance and inductance. Thus it is difficult to implement the motor drive. Currently, the PMSM drive system is mostly implemented by inverters with high switching frequency. Because of the low equivalent resistance and inductance characteristic, currents feedback delay, and resolution limitation of digital controller, it introduces lots of current harmonics to motor so that it affects the performance of the electromagnetic torque output of the motor. Torque ripple is a critical concern in many high power PMSMs, and the existence of torque ripple degrades the control stability [4]. In order to alleviate these drawbacks and reduce current harmonics in steady state, the motor mathematical model is used to estimate the motor currents and thus to compensate for current harmonics caused by high switching frequency and to improve problems of current feedback delay and resolution limitation of digital control [5]. The predicted current estimator used in this paper obtains motor current feedback and accelerates the convergence with closed-loop control. It can not only reduce the steady-state current harmonics, but also accelerate the speed and current transient response. Comparing with other papers, the proposed system features the advantages of high power level, low current harmonic, and fast response. In summary, the control strategy and pulse-width modulation (PWM) will be implemented by a low cost digital signal processor (DSP). The analysis of predicted current estimator will be discussed in detail.

#### 2. System Configuration

The configuration of the proposed system shown in Figure 1 consists of two parts: power converter and digital signal control module. As indicated above, the power converter includes an AC/DC power converter, a high power inverter, gate drive, and current sensors. The proposed system can thus transfer energy from electrical to mechanical forms with good power quality. As to the digital signal control module, it includes a DSP to realize the controller of the proposed system. A 12-bit analog-to-digital converter (ADC) and a PWM module are built in the DSP to reduce the hardware complexity and improve the reliability as well as maintainability of the system.

#### 3. Operation Principles

In order to reduce current harmonics to high power PMSM, a predicted current estimator for closed-loop control is proposed. By current sensors at the output of inverter, one can obtain three-phase currents and then transform them into stationary frame. The* q*- and* d*-axis currents in stationary frame thus yield the peak value of output current. The currents to PMSM can then be calculated by predicted current estimator. On the other hand, a speed regulator adjusts the* q*-axis current from rotational encoder which is used to calculate rotor speed. Thus the motor speed can remain constant all the time. The detailed analysis is discussed in the following part.

##### 3.1. Mathematical Model of PMSM

The equivalent circuit of PMSM is shown in Figure 2. The voltage equation can be written as [6] where and denote the phase voltages and line currents of motor, respectively; and are the equivalent resistance and flux linkages of stator. Assume that the flux harmonics of rotor and stator are negligible. Under this circumstance, the fluxes of rotor and stator are sinusoidally distributed. Therefore, one has the flux linkage where where ; ; and are rotor flux angle and speed, respectively; and are equivalent turns and leakage inductance of stator winding, respectively; is equivalent reluctance of stator; is the equivalent flux linkage of rotor referred to stator.

From (1)~(4), one can obtain the following phase voltage of motor: where denotes the internal voltage of motor and is proportional to . That is,

For modelling and control design, three-phase variables in stationary frame can be transformed into two-axis stationary frame. This yields [7]
where subscripts* q* and* d* are used to denote the components of* q*- and* d*-axis in two-axis frame, respectively. The two-axis variables in stationary frame can be transferred to rotating frame as follows [7]:
Transforming (5) and (6) into* q*-*d* stationary frame with (7), one obtains
where , , , and are motor input voltages and currents reflecting in stationary frame, respectively. From (9), the state equation can be derived as follows:
where

It is seen from (10) that inputs and outputs are linearity in a control period if motor speed is fixed. Therefore, one can have digitalized state equation as follows [8]: where denotes control cycle; and are current and last states, respectively. Equation (12) can be used in predicted current estimator.

The electromagnetic torque equation in* q*-*d* rotating frame can be written as
where is numbers of poles. The motion equation is
where and denote the inertia and friction of motor, respectively. is rotor electrical speed and is the load. This means that the speed of compressor can be controlled by and is used in this paper to implement the speed regulator of motor drive [9–11].

##### 3.2. Analysis of AC/DC Power Converter

The AC/DC power converter shown in Figure 1 is implemented by three-phase switched-mode devices. The dynamic equations with inductor currents and capacitor voltage can be derived as
where , , and and , , and denote the phase voltages and line currents of utility, respectively; , , and are the input voltages of converter; , , and are switching functions; and are the* dc*-link voltage and output current, respectively; and are resistance and inductance of utility; is the capacitance of* dc*-link capacitor.

Assume that the switching frequency of the proposed system is high enough to yield negligible harmonic current from the system. Under this circumstance, one can derive the following inequality for proper operation of the converter: where ; and are the peak values of voltage and current from utility, respectively, and is the frequency of the utility output.

The* dc*-link voltage command of the proposed system is . From (20) and the relation between and , one finds that the utility frequency must lie between 50 Hz and 80 Hz. This will result in a stable and fixed* dc*-link voltage for the inverter in the next stage to produce a balanced three-phase 60 Hz voltage with a peak value of . If* dc*-link voltage cannot satisfy the inequality constraint of (20), the system will be out of control. Similarly, from (19) one can obtain the voltage-current equation for the* dc*-link as
where is the average power from utility.

It is noted that (21) characterizes the balance of power between the utility and* dc*-link when the utility output is sinusoidal with unity power factor. Based on (21), a controller is designed to yield the current command for rectifier input.

For the sake of simplicity in analysis and control, the three-phase voltages, currents, and switching functions of (16)~(18) can be transformed into synchronous frame. This gives
where is the operator ; , , , and are* q*-*d* axis voltage and current, respectively, while and are the transformed* q*- and* d*-axis voltage of the rectifier input, respectively.

Equation (22) can be rewritten as

From (23), one can obtain the following voltage command for three-phase rectifier:
where
and and are the gains of the* q*- and* d*-axis proportional-integral current controller, respectively. The symbol “” denotes proportional-integral operation. Applying the inverse transformation to the voltage commands obtained from (24)~(25) gives the three phase output voltage commands , , and . After comparing with the counter values in DSP, which correspond to an 8 kHz high frequency triangular carrier of sinusoidal PWM, the duty cycles are determined to switch the power transistors and thus forcing the actual current to follow the commanding current within one carrier cycle. This results in fast transient response in the rectifier. Further investigation of the rectifier circuit gives the following equations for the average real and reactive powers:

Equation (26) indicates that depends only on , while (27) shows that setting equal to zero implies zero reactive power and thereby results in unity input power factor and raises the efficiency of the rectifier. For the sake of keeping* dc* voltage at output of the AC/DC power converter constant,* dc*-link voltage is monitored to control the input currents to ensure the balance of power between utility and* dc*-link (see Figure 3). This is conducted by voltage regulator which can generate the current command for predicted current controller in order to adjust* dc*-link voltage at output of the AC/DC power converter. The current command can be written as
where ; is the gain of the proportional-integral voltage controller. For reducing the order of the closed-loop transfer function of voltage control loop, the pole-zero cancellation method was used to determine the controller parameters which yield the proportional-integral controller parameters of voltage regulator, and . The control block diagram of the AC/DC power converter is shown in Figure 4, where predicted current controller under synchronous frame is used.

##### 3.3. Analysis of Predicted Current Estimator

The proposed high power inverter is shown in Figure 1. As mentioned above, constant* dc* voltage is supplied from the* dc*-link of the last stage. Proper control of the power transistors will transfer power from* dc* to three-phase* ac*. Generally, the high frequency switching of inverters, resolution limitation of analog-to-digital converters, and sampling delays from current feedbacks introduce a large number of current harmonics. Therefore, it is difficult to design digital controller for high power drives. In order to suppress the current harmonics and improve the performance of the current regulator, the predicted current estimator is used to obtain real currents. The feedback currents from motor estimated by* q*- and* d*-axis in stationary frame reduce time delay problems. After z-transform to (12), the control block diagram of predicted current estimator is shown in Figure 5. The predicted current estimator suppresses ripples of voltage commands to reduce current harmonics. From (12)~(13), the estimated currents and are
where and . The current regulators of predicted current estimator can be written as
where , , , and are gains of the proportional-integral current regulators, respectively. If and , the transfer functions of predicted current estimator can be derived as

The predicted current estimator improves the accuracy of current feedback and reduces current harmonics to motor. It not only can improve the current sampling delay, but also has the characteristics of low-pass filters to enhance system stability.

##### 3.4. Analysis of Speed Regulator

It is seen from (14) that the electromagnetic torque of motor is proportional to* q*-axis current. This means that the output speed of motor can be controlled by* q*-axis current and is used in this paper to implement the speed regulator. Therefore, the* q*-axis current command can be calculated by speed error to speed regulator . It is important to note that the friction of this motor is ignored due to high inertia in the high power PMSM. This yields
where and are gains of the proportional-integral current regulators, respectively. The transfer functions of speed regulator can be derived as

The control block diagram of speed regulator is shown in Figure 6. Experimental evaluation of the proposed system will be given in the following section.

##### 3.5. Parameters Selection

For fixed switching frequency, the switching and conducting losses are almost proportional to the amplitude of the correlative currents. Therefore, the total loss of switching devices can be computed from the circuit parameters and the* q*- and* d*-axis currents of the AC/DC power converter and the inverter. The machine and electric parameters of PMSM are given in Table 1. For reducing the order of the closed-loop transfer function of voltage and current loops in AC/DC power converter and speed loop in high power inverter, the pole-zero cancellation method is used to determine the control parameters of voltage regulator, , ; current regulator, , ; and speed regulator, , , respectively.

#### 4. Experimental Results

An experimental prototype of a 75 kW motor drive for PMSM was built with machine and electric parameters shown in Table 1. The DSP R5F5630EDDFP mentioned above was used to implement the control scheme. The power controller was formed by insulated-gate bipolar transistors (IGBT), which operates at 8 kHz. Figure 7 shows measured waveforms of the input currents and* dc*-link voltage of the AC/DC power converter under load of 50 kW in the steady state. It illustrates that the input currents were almost sinusoidal with low harmonic distortion, whereas the* dc*-link voltage remained constant. Figure 8 shows experimental results of the proposed system under the rotor speed 3000 rpm with 50 kW power output. It can be seen that the current ripples of* q*- and* d*-axis are small when* d*-axis current comment sets to zero. Figure 9 illustrates motor speed command , motor speed , electromagnetic torque , phase current ,* q*-axis current command ,* q*-axis current ,* d*-axis current command , and* d*-axis current of the proposed system under the motor speed of 0~2200 rpm. It shows that the speed response of PMSM was fast and the torque ripple was small due to predicted current estimator. It is also seen from Figure 10 that the measured total harmonic distortion of currents reduced with predicted current estimator, and the total harmonic distortion of currents gradually declined when the output power increases. Besides, the total harmonic distortion of currents decreases to 2.8% in 50 kW power output. It is obvious to say that the electromagnetic torque ripple is very small under this circumstance. Therefore, the proposed system satisfies the design requirement.

#### 5. Conclusions

This paper is focused on the design of digital controller for high power PMSM drives. The parameters of digital controller are derived by proposed predicted current estimator to reduce total harmonic distortion of motor currents. With theoretical derivation of design parameters, the digital controller maintains drive operating stably by setting* d*-axis current to zero with motor speed range from 0 to 3000 rpm. Comparing without predicted current estimator in 50 kW power output, experimental results show measured total harmonic distortion of currents are 1.3% decreased. In this paper, a DSP performs as the core controller to reduce the complexity of hardware circuit. The entire digital control algorithms are conducted by software to make high stability of drive system. In short, it could be considerable potentially to implement the high power servo drives.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

The authors wish to express their sincere appreciation to UCHI OPTOELECTRONIC (M) SDN. BHD. for supporting this research. The authors would like to thank the anonymous reviewers for their valuable comments and suggestions to improve the quality of the paper.

#### References

- A. V. Sant, K. R. Rajagopal, and N. K. Sheth, “Permanent magnet synchronous motor drive using hybrid PI speed controller with inherent and noninherent switching functions,”
*IEEE Transactions on Magnetics*, vol. 47, no. 10, pp. 4088–4091, 2011. View at Publisher · View at Google Scholar · View at Scopus - Y. Zhang and J. Zhu, “A novel duty cycle control strategy to reduce both torque and flux ripples for DTC of permanent magnet synchronous motor drives with switching frequency reduction,”
*IEEE Transactions on Power Electronics*, vol. 26, no. 10, pp. 3055–3067, 2011. View at Publisher · View at Google Scholar · View at Scopus - Y. Zhang, J. Zhu, W. Xu, and Y. Guo, “A simple method to reduce torque ripple in direct torque-controlled permanent-magnet synchronous motor by using vectors with variable amplitude and angle,”
*IEEE Transactions on Industrial Electronics*, vol. 58, no. 7, pp. 2848–2859, 2011. View at Publisher · View at Google Scholar · View at Scopus - H. Zhu, X. Xiao, and Y. Li, “Torque ripple reduction of the torque predictive control scheme for permanent-magnet synchronous motors,”
*IEEE Transactions on Industrial Electronics*, vol. 59, no. 2, pp. 871–877, 2012. View at Publisher · View at Google Scholar · View at Scopus - F. Zhao, T. A. Lipo, and B.-I. Kwon, “A novel two-phase permanent magnet synchronous motor modeling for torque ripple minimization,”
*IEEE Transactions on Magnetics*, vol. 49, no. 5, pp. 2355–2358, 2013. View at Publisher · View at Google Scholar · View at Scopus - Y. Zhang and J. Zhu, “Direct torque control of permanent magnet synchronous motor with reduced torque ripple and commutation frequency,”
*IEEE Transactions on Power Electronics*, vol. 26, no. 1, pp. 235–248, 2011. View at Publisher · View at Google Scholar · View at Scopus - T.-C. Jeong, W.-H. Kim, M.-J. Kim et al., “Current harmonics loss analysis of 150-kW traction interior permanent magnet synchronous motor through co-analysis of d-q axis current control and finite element method,”
*IEEE Transactions on Magnetics*, vol. 49, no. 5, pp. 2343–2346, 2013. View at Publisher · View at Google Scholar · View at Scopus - D. Q. Wei, B. Zhang, D. Y. Qiu, and X. S. Luo, “Effects of current time-delayed feedback on the dynamics of a permanent-magnet synchronous motor,”
*IEEE Transactions on Circuits and Systems II: Express Briefs*, vol. 57, no. 6, pp. 456–460, 2010. View at Publisher · View at Google Scholar · View at Scopus - R. Ortega, L. Praly, A. Astolfi, J. Lee, and K. Nam, “Estimation of rotor position and speed of permanent magnet synchronous motors with guaranteed stability,”
*IEEE Transactions on Control Systems Technology*, vol. 19, no. 3, pp. 601–614, 2011. View at Publisher · View at Google Scholar · View at Scopus - Y. Ge, C. Wang, X. Zhou, and H. Wang, “Research on rotor position sensing of a permanent magnet synchronous motor based on high-frequency voltage injection and Kalman filter,” in
*Proceedings of the International Conference on Electrical and Control Engineering (ICECE '10)*, pp. 1750–1754, June 2010. View at Publisher · View at Google Scholar · View at Scopus - Y. Lei, X. Fei, S. Jian-qing, C. Ming-liang, S. Qiao-ming, and Q.-F. Li, “Sensorless control of high-power interior permanentmagnet synchronous motor drives at very low speed,”
*IET Electric Power Applications*, vol. 7, no. 3, pp. 199–206, 2013. View at Publisher · View at Google Scholar