Journal of Applied Mathematics

Volume 2013 (2013), Article ID 525014, 9 pages

http://dx.doi.org/10.1155/2013/525014

## Discrete Current Control Strategy of Permanent Magnet Synchronous Motors

^{1}School of Control Science and Engineering of Hebei University of Technology, Tianjin 300130, China^{2}Hebei University of Science and Technology, Shijiazhuang 050018, China

Received 1 July 2013; Revised 22 September 2013; Accepted 28 September 2013

Academic Editor: Baocang Ding

Copyright © 2013 Yan Dong et al. 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

A control strategy of permanent magnet synchronous motors (PMSMs), which is different from the traditional vector control (VC) and direct torque control (DTC), is proposed. Firstly, the circular rotating magnetic field is analyzed on the simplified model and discredited into stepping magnetic field. The stepping magnetomotive force will drive the rotor to run as the stepping motor. Secondly, the stator current orientation is used to build the control model instead of rotor flux orientation. Then, the discrete current control strategy is set and adopted in positioning control. Three methods of the strategy are simulated in computer and tested on the experiment platform of PMSM. The control precision is also verified through the experiment.

#### 1. Introduction

The permanent magnet synchronous motors (PMSMs) have become the popular AC motors and are used in various situations for their advantages of high efficiency, power factor, small size, and avoidance of exciting current. As servo motors, PMSMs are usually controlled with two methods, that is, vector control (VC) by flux orientation and direct torque control (DTC).

VC was put forward in 1971 for asynchronous motor by German engineer Blaschke [1], which was used in PMSM soon afterwards. Generally, the theory is to keep the d component of stator current being 0 in rotor flux reference frame and the torque will be proportionate to the q component of stator current which leads the constant rotor flux by 90°. It is good at torque responding and speed accuracy, but the decoupling of flux and torque needs more focus to design regulator for both. The robustness will be vulnerable [2].

DTC is proposed by Professor Depenbrock in 1985 [3], which is used to directly control the flux and torque by selecting proper voltage vector. This method avoids the decoupling and is simpler than VC, but the torque ripple cannot be avoided which will weaken the dynamic characteristic [4, 5].

Both methods are based on rotor flux which needs to be tested by an observer or to be controlled with other variables [6, 7]. This paper proposes a strategy based on stator current frame and uses the discrete stator current to control the motor. By using this strategy, the motor will run step by step, and it not only reflects the simply structure and large capacity of PMSM but also provides the advantages of stepping motor such as digital control, discrete operation, and nonaccumulating error. The proposed strategy is a novel control method on PMSMs with simple control structure as compared with the above two classical methods. The wide application prospects and the deep research of it will promote the development of drive technology.

#### 2. Discretization of Circular Rotating Magnetic Field

##### 2.1. Stator Model of PMSM

In PMSM, distributed winding, which is used in normal AC motor, is often coiled as shown in Figure 1. Figure 1 shows two structures of 2-pole, 24-slot single-layer 3-phase motor stator winding.

Despite the differences of poles number, slots number, and the coiling form of the 3-phase AC motor, the physical model of stator can be described as in Figure 1 for the symmetry of the magnetic circuit and the magnetomotive force (MMF) generated by powered winding. Figure 2 shows the distances of 2 about a pair of magnetic poles equivalent to 360° of electrical angle. Every stator of 3-phase AC motor can be analyzed with this model.

##### 2.2. Circular Rotating Magnetic Field

When powering the stator model with the 3-phase current as (1), setting the positive direction from to , to , and to , the 3-phase MMF is generated which can be considered as sinusoidal distribution in the stator when excluding space harmonics. Then the MMF can be expressed as (2):

is an MMF vector generated by the maximum current of A phase, the direction of which is assumed as the horizontal axis of static frame. is determined by varied with time . and are similar to , which lead by 120° and 240°, respectively; and are with the same meaning of .

The composite MMF in the air gap will be expressed as

It is a rotating MMF vector, of which the amplitude is 1.5 times of each phase. The electric angle of the MMF rotating in the space corresponds to that of the current changing in the winding, which is

When the current changes by a cycle, the rotating MMF goes 2 distances in the air gap. The revolution per second is Where is the frequency of the stator current and is the number of pole pairs of the motor.

##### 2.3. Discrete Magnetic Field and Positioning Torque

The MMF generated by stator is to drive the rotor MMF to rotate synchronously. The electromagnetic toque can be described in terms of and : The is the angle form to . If stops rotating at some position and coincides with it, , the electromagnetic toque will be equal to zero, which will be a positioning point.

If the motor is powered with the currents described in where is the number of pulse distributor’s beats per cycle, the composite MMF will stop at some point as the pulse number which is a positive integer not to change. When the next pulse emits, , the composite MMF will go forward with a little angle just like a step. Then, the rotating MMF in the last section is discretized into stepping MMF [8] expressed in

An example as will illustrate the stepping MMF graphically.

Each MMF will generate a positioning point, and the torque driving the rotor MMF to approach this point is defined as positioning torque. Here, the angle is calculated by electric angle; the actual step number per revolution and the stepping angle are expressed as the following formula with the number of pole pairs :

The stepping angle is determined by and . If one wants to increase the stepping number per revolution, it is better to increase , since the number of pole pairs is constrained by motor structure.

#### 3. PMSM Model for Step Motion

##### 3.1. Motor Model by Stator Current Orientation

Make the angular speed of the rotating frame equal to that of stator current vector in general frame of PMSM which is shown in Figure 4 based on the - static frame. The rotating frame is built by , the horizontal axis coinciding with is named -axis, and the vertical axis orthogonal to -axis is -axis. Then, general frame becomes the - frame orientated by stator current [9]. In the figure, the angle from to is assumed as , and and represent the angle form -axis to and , respectively. is the angular speed of the rotating frame.

The two components of in the frame, named and , are expressed as

According to the mathematical expression of PMSM on rotating frame, the flux function can be rewritten as the following equation: where and are - components of stator flux in rotating frame, and are - components of rotor flux, and and are - components of stator self-inductance. The torque function can be expressed as the following formula with (10) and (11):

Substituting into (12), the electromagnetic torque function can be rewritten as

is also defined as torque angle; when it is greater than zero, with being drawn by , the electromagnetic torque is positive.

##### 3.2. Structure of the Control System

Unlike the VC and DTC, in this control method, magnitude and phase of stator current are regulated dynamically for best torque responding, instead of keeping the amplitude of stator current and rotor flux or maintaining the angle between the current and the flux equal to 90°. Because the rotor flux is unchanged, the regulable variables of the control system are no other than the magnitude of stator current and the angle .

The structure of motor control system can be simplified as shown in Figure 5 which includes an inner loop and an outer loop.

The outer loop is the only one closed loop to control the speed or position. In the loop, the input is the rotor angle frequency difference or angle difference of preset and feedback, and the output is preset current vector including the magnitude and the rotation angle. To regulate the two variables, we give the motor the maximum current for maximum torque to start or brake and supply the rated current and adjust the to change the electromagnetic torque when the motor operates steadily.

The inner loop is current loop, in which the three-phase stator current is transformed into current vector on - frame and the vector is compared with the preset current vector from the previous regulator. The difference of the current vector is to select the voltage vector for inverter control. It can use the method of direct current control (DCC) in [10], which follows the synchronized on-off principle. The current vector at every time interval is predicted for two possible cases as the following formula: where is the radial naturally decreased current vector, is the applied current vector generated by constant voltage during the sampling interval, and the subscripts and represent the vector components of static frame. The voltage vector at instant can take the following value by decomposing on static - frame:

is the DC-link voltage. , , and denote the states (0 or 1) of upper transistors in the inverter, which include six effective vectors (100, 110, 010, 011, 001, 101) and two zero vectors (000, 111). After calculating , the six voltage vector closest to the direction of the error between and is chosen. Figure 6 shows the particular case of selecting upper transistors 010.

##### 3.3. Discrete Current Control

When the stator is powered with the discrete current as (7), the stator current vector has positioning points at the stator circle shaping a regular polygon MMF shown in Figure 3, for example,

The angle between the two adjacent current vectors is defined as stepping angle just like the step motor, which is

Therefore, the torque of PMSM can be written as where is the mechanical angle of rotating and is the number of pole pairs.

This torque is also called reposition torque, impelling the rotor to run forward to catch up with the stator. Therefore, the stopping point of the stator current vector is the very positing point achieving incremental movement of a motor. Take and (motor idling), for example, so the discrete current vector and the position are shown in Figure 7.

The proposed strategy of PMSM is called discrete current control, in which the main control variable is the torque angle between stator current vector and rotor flux vector, and the amplitude of stator current is the rating (except for starting and braking which is the maximum). It is different from VC and DTC, and the latter is to control the angle of flux of stator and rotor keeping the stator flux constant. The proposed strategy is more suitable for positioning because of the characteristic of positioning torque generated by discrete current and stepping motion, and the control process is also easier than the two classical methods.

#### 4. Discrete Current Control of PMSM

To describe the proposed control strategy, two errors generated in the operation must be declared.(1)Static angle error: generated by load torque. It needs an electromagnetic torque to balance, so the torque angle cannot be decreased to zero which become an error for the control.(2)Dynamic angle error: the following process of rotor is not synchronous with stator current vector. The rotor will lag behind the vector when driving or go beyond the positioning point when braking. But the dynamic error will be disappeared when the rotor stops.

##### 4.1. Pointing Control

Pointing control is a typical discrete control method, controlling the motor to move a step forward every time. Only when the transient process of the first step is completely terminated, the second step begins.

The one-step torque should be greater than static load torque, so that the static angle error can be less than a stepping angle. The dynamic angle error, for example, should be less than 150° to keep the operation not losing its step when . The angle of one step is ; the minimum one is and the maximum one must be less than the dynamic angle error.

The greater the stepping angle, the more serious the oscillation phenomenon near the positing point, which needs to be avoided if possible. The simulation result is shown in Figure 8. The motor is triggered by the step pulse every 0.4 seconds with the rise time of 0.025 s and the overshoot of about 32%. The rotor stopped at the given point after the second oscillation.

The oscillation of pointing control is produced by , and is not equal to zero at the same time, and the torque near the positing point will be so small. These problems can be solved with “bang-bang control” of optimal time and maximum torque.(1)The time-optimal method is to brake at a proper time to remove the overshoot. As shown in Figure 9, the preset current vector angle is ; then the rotor accelerated for which is equal to when . When s, the vector was back to and , and the motor began to decelerate. When s, , and , the vector was set at again and the rotor stopped at the positioning point. In the process, the transient time is 0.031s, which decreases to its 1/6.(2)Maximum torque control is to give the maximum torque at the accelerating stage and brake with the maximum negative torque when the position is vicinity to the stator current vector. The maximum torque is generated as . In the simulation shown as Figure 10, transforming time of the vector is at s and s. Before , let and after it , and at , make to keep the rotor stable. In this control, the transient time is only 0.027 s, which decreases to 1/8 of the original time.

##### 4.2. Constant Frequency Control

Some motors need a constant frequency control method, which is only to change the step number in a constant frequency and to keep it not losing its steps. The angle frequency of motor will follow the given frequency by which must be less than 180°. After a bit oscillations, the rotor will reach the state of , while the given frequency has a maximum critical value named jumping frequency, which is defined as the highest frequency so that the motor does not lose its step. If is more than the jumping frequency, cannot catch up with and the position of rotor will lag behind the stator current vector, which will lead to a serious fault.

In the positioning control of this method, the motor responses will oscillate in starting and braking time. These oscillations can be eliminated by optimal controls as which is used in pointing control. The response curves generated by this method will be shown in the experiment in Section 5.

##### 4.3. Up-Down Frequency Control

It needs more time to accelerate or decelerate for the large-capacity motor, because the rotor could store more kinetic energy. If only give the motor a step change in constant frequency, the dynamic angle error may be over the maximum and lead to steps losing. It is necessary to preset an increment or decrement frequency of the motor to accelerate or decelerate.

The highest frequency is limited by the electromagnetic torque which is a function of angle frequency. A frequency of stator current vector, which is less than the jumping frequency, is given to accelerate at . Then the frequency increases gradually and the time interval of every step decreases. The had better to be control in the range of to maintain the maximum torque and not to lose its step.

Generally, to obtain a better result of control, this control is designed with closed loop to get an optimal up frequency curve. Moreover, the curve of frequency will be designed as two, three, or five segments according to the travel length. The experiment of three-segment curve is shown in Section 5.

#### 5. Experiments

The experiments are based on a device of PMSM, which includes motor and transmission platform and digital driving controller. The platform is shown in Figure 11. The PMSM is of the type of M205B produced by KOLLMONGEN in US with rated power of 1.6 kW, rated voltage of 230 V, continuous rated current of 5.3 A, continuous torque of 4.47 Nm, and maximum revolution of 3600 rpm. The load is a DC generator with 1.1 kW rated power and the transmission ratio is 1 : 1 of the gear box. The connecting mechanism between the two motors is with toque sensor, harmonic reducer, and inertia wheel. The application of PMSM can be well approximated by these devices.

The digital driving controller is composed of control unit and power amplifier shown in Figure 12. The kernel of control part is a TMS320F240 chip of DSP produced by TI and around it are the peripheral circuit and A/D circuit. The main part of power amplifier is PM15RSH120, which is a intelligent power module (IPM) produced by Mitsubishi. Beside the IPM, the accessory circuit includes trigger signal driver circuit, special power supply module of JS158, position detecting circuit, current sampling circuit, and protection circuit.

The structure diagram of the control system is shown in Figure 13.

##### 5.1. Control Curve

In the experiment, the motor is with 2 pairs of pole and the electric angle is 720° per revolution. We divided the cycle of stator current into 12 parts and the electric angle will be 30° per step. The number of positioning point will be per revolution and every step is corresponded to 15°.

###### 5.1.1. Pointing Control

The stator current vector is given as formula (7). When , and the motor stays at the initial position. When s, let ; the vector will lead the rotor flux by a stepping angle that is equal to 30° and the rotor will follow the vector by the reposition torque. The current change of A phase is shown in Figure 14(a) and the responded curve of position and speed is in Figures 14(b) and 14(c).

###### 5.1.2. Constant Frequency Control

In order to watch the control process, this experiment uses a frequency of 0.5 Hz. From Figure 15, the rotor position is following the stator current vector closely and the positioning performance is obvious in the discrete control.

###### 5.1.3. Up-Down Frequency Control

Three-segment-speed curve of motor is used in rapid positioning, which only includes accelerating, constant speed, and decelerating. The experiment curve is shown in Figure 16(a) and the positioning accuracy is limited below a stepping angle. The current-following curve is shown in Figure 16(b), in which the actual current curve is moved down a division of oscilloscope for watching clearly.

##### 5.2. Analyses

Analyzing the error of stepping control of PMSM, we can gain the precision of it used in positioning. The steady error is less than one stepping angle which is 15° here. If we use the pulses of rotary encoder, of which 360° is corresponded to 4096 pulses, to stand for the absolute position, we can get a table of precision.

When driving the motor to run 160 revolutions, the emitting pulses and the operation time are shown in Tables 1 and 2.

If use open loop control method and let the speed follow the three-segment curve, when the rotor moves 160 revolutions, then the number of pulses is 655360, and we get the result recorded in Table 2.

It is proved that the discrete current vector method of PMSM has more advantages than existing methods. Firstly, the structure is simply just using single loop. Secondly, the control method with discrete MMF can generate the larger torque to start or drive the high inertia loads. Thirdly, positioning precision is determined by the stepping angle that can get higher accuracy. Moreover, the reliability and robustness of this method are better than those of the original driver which needs to often change its parameter especially for high inertia loads.

#### 6. Conclusion

In this paper, a stepping control method of PMSM is presented. In the method, the circle of rotating MMF is discretized to regular polygon, and in this case, the positioning on stator current orientation has been discussed with the mechanism model of PMSM. The three methods of control are simulated and tested in experiment, which is available with a general DSP controller.

Although good performance is achieved, the method needs deeper studies in theory and applications, such as current responding, harmony wave analysis of discrete current, and influence of the method to grid. Our further works in this area will be oriented to implementation of this method in transmission technology of valve and artillery in order to improve the performance and efficiency and simplify structure.

#### Acknowledgments

This work is supported by the Natural Science Funds of Hebei Province (E2013202108) and by the National High Technology Research and Development Program of China (863 Program) (2006AA040306).

#### References

- T. F. Blaschke, “Das Prinzip der Feldorientierung, die Grundlage fur die TRANSVEKTOR-Regelung von Asynchronmaschinen,”
*Siemens Zeitschrift*, vol. 45, no. 10, pp. 757–760, 1971. View at Google Scholar · View at Scopus - A. B. Nikolic and B. I. Jeftenic, “Precise vector control of CSI fed induction motor drive,”
*European Transactions on Electrical Power*, vol. 16, no. 2, pp. 175–188, 2006. View at Publisher · View at Google Scholar · View at Scopus - M. Depenbrock, “Direkte selbstregelung, (DSR) für hochdynamische mit umrichtersptisun,”
*ETZ-Archiv*, vol. 7, no. 7, pp. 211–216, 1985. View at Google Scholar - S. M. Gadoue, D. Giaouris, and J. W. Finch, “Artificial intelligence-based speed control of DTC induction motor drives—a comparative study,”
*Electric Power Systems Research*, vol. 79, no. 1, pp. 210–219, 2009. View at Publisher · View at Google Scholar · View at Scopus - Z. Sorchini and P. T. Krein, “Formal derivation of direct torque control for induction machines,”
*IEEE Transactions on Power Electronics*, vol. 21, no. 5, pp. 1428–1436, 2006. View at Publisher · View at Google Scholar · View at Scopus - L. Yituo, L. Haifeng, Q. Wenlong et al., “A novel initial rotor position estimation method for permanent magnet synchronous motors,”
*Proceedings of the Chinese Society for Electrical Engineering*, vol. 33, no. 5, pp. 75–82, 2013. View at Google Scholar - M. Oettmeier, M. Spichartz, V. Staudt, and A. Steimel, “Stator-flux-oriented control of PMSM in traction-Experimental results,” in
*Electrical Systems for Aircraft, Railway and Ship Propulsion (ESARS '12)*, pp. 1–6, Bologna, Italy, 2012. - Y. Yan, D. Yan, and C. Mingjun, “Research on application of PMSM step motion control technology in weapon location system,”
*Journal of Gun Launch & Control*, no. 3, pp. 19–23, 2008. View at Google Scholar - D. Yan, S. Hexu, B. Zhiyuan, and W. Wei, “Permanent magnet synchronous motor position control system based on torque-angle control,”
*Transactions of China Electrotechnical Society*, vol. 21, no. 1, pp. 86–91, 2006. View at Google Scholar · View at Scopus - V. Ambrožič, R. Fišer, and D. Nedeljković, “Direct current control—a new current regulation principle,”
*IEEE Transactions on Power Electronics*, vol. 18, no. 1, pp. 495–503, 2003. View at Google Scholar