Open Access Library Journal
Vol.06 No.01(2019), Article ID:89957,9 pages

Design of Permanent Magnet Synchronous Motor Control System for Electric Vehicle Air Conditioning Compressor Based on Vector Control

Kuan Shi, Yongjun Chen*, Zhou He, Jie Wang, Yinsheng Li

College of Electronics and Information, Yangtze University, Jingzhou, China

Copyright © 2019 by author(s) and Open Access Library Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

Received: December 29, 2018; Accepted: January 13, 2019; Published: January 16, 2019


Permanent magnet synchronous motor (PMSM) has the advantages of small size, light weight, simple structure, reliable operation, high power factor, easy heat dissipation and easy maintenance. It has become the best choice for electric vehicle air conditioner compressors, but in actual working conditions, the air conditioner compressor has the problem of excessive noise and serious system turbulence, which makes the air conditioner compressor unable to work normally, which has serious consequences. The method of using the field oriented control can overcome the problems existing under actual working conditions, so it proposed the design of permanent magnet synchronous motor control system for electric vehicle air conditioner compressor.

Subject Areas:

Electric Engineering


Air Conditioning Compressor, Permanent Magnet Synchronous Motor, Electric Vehicle, Vector Control

1. Introduction

Permanent magnet synchronous motors are increasingly being applied to machine tool servo systems, elevator drives, electric vehicle propulsion, and air conditioning compressors. Automotive air conditioning compressors are the core part of electric vehicle air conditioners, solving the problem of excessive noise and serious system oscillation [1] .

Permanent magnet synchronous motor (PMSM) has the characteristics of small size, simple structure, high power factor, reliable operation, easy heat dissipation and easy maintenance. It has been widely used in machine tool servo system, elevator drive, electric vehicle propulsion, air conditioner compressor, etc. [2] . Compared with ordinary air conditioner compressors, PMSM has significant advantages in the application of electric vehicle air conditioner compressors. PMSM has the characteristics of wide speed regulation range, high control precision and small torque ripple [3] . With the development of high-speed microprocessors, advances in power electronics, and continuous improvement of control algorithms, the application of PMSM technology has become more mature and extensive. Based on the actual working conditions of electric vehicle air conditioner compressor, based on the analysis of PMSM vector control working principle, the design of permanent magnet synchronous motor control system for electric vehicle air conditioner compressor is completed. With dsPIC30F4011 as the core, electric vehicle air conditioner compressor is constructed, PMSM control system.

In the traditional automotive system, the compressor and the car-driven engine need to be used together, and the car must be started before the car air-conditioning compressor can work normally. In the electric vehicle system, the whole system is electric, and the compression system does not need to rely on the driving of the automobile wheel engine. Up to now, the air conditioning system has become an independent part, as a separate unit, with independent power supply system and vehicle main system. The signal transmission through communication enables individual control and variable frequency control functions. The efficiency ratios of the compressor’s traditional mechanical mode and electric mode are shown in Table 1.

2. The principle of PMSM Work

2.1. The Mathematical Model of PMSM

To simplify the analysis, assume that the magnetic path of the PMSM is not saturated and the spatial magnetic field is sinusoidal, ignoring hysteresis and eddy current losses [4] .

The direction of the PMSM rotor permanent magnet magnetic field is defined as the d-axis, and the d-axis is orthogonal to the q-axis. The dq coordinate

Table 1. Comparison of the efficiency of the traditional mechanical mode and electric mode of the compressor.

system is fixed on the rotor, rotates synchronously with the rotor, and the angle between the d-axis and the A-axis is a variable, physical model [5] .

The mathematical model of the PMSM in the synchronously rotated d-q coordinate system is established as follows.

Motor flux linkage equation:

{ ψ d = L d i d + ψ f ψ q = L q i q (1)

Torque equation:

T e = 3 2 P n ( ψ d i q ψ q i d ) (2)

Stator voltage equation:

{ u d = R s i d + d ψ d d t ω e ψ q u q = R s i q + d ψ q d t + ω e ψ d (3)

Equation of motion:

T e T L = J d ω m d t + B ω m (4)

L d , L q ―d, q-axis equivalent inductance;

ψ f ―Permanent magnet flux linkage;

R s ―Stator resistance;

ω e , ω m ―Electrical angular velocity and mechanical angular velocity;

T e ―Electromagnetic torque;

p n ―Magnetic pole pair;

T L ―Load torque;

J―Moment of inertia;

B―Coefficient of friction.

According to formula (3), it can be concluded:

T e = 3 2 p n ψ d i q = 3 2 p n ( L d i d + ψ f ) i q = 3 2 p n ψ f i q (5)

as follows:

T e = 3 2 p n ψ f i q (6)

It can be known from the above equation that the electromagnetic torque of the motor is determined only by the q-axis current, which realizes the decoupling of the electromagnetic torque of the motor. Therefore, it can be seen that after the control strategy of i d = 0 , the permanent magnet synchronous motor is equivalent to a single-excitation DC motor, and only the torque current i q can be controlled to control the electromagnetic torque, thereby realizing the speed control. The schematic diagram of PMSM vector control is shown in Figure 1.

Figure 1. PMSM vector control schematic.

2.2. Principle of PMSM Control

SVPWM refers to outputting different pulse sequences according to different combinations of three switching tubes of the upper arm of the three-phase inverter bridge for controlling the inverter output three-phase sinusoidal voltage or three-phase sinusoidal current [6] .

The six switching devices are controlled by six control signals. Each group of upper and lower bridge switching devices can only be turned on and the other is turned off. Therefore, the inverter has eight working states, corresponding to eight voltage vectors. Set the upper bridge to conduct, the lower bridge is marked as 1, the lower bridge is turned on, and the upper bridge is closed as 0. The formula for the phase voltage can be derived:

[ u a u b u c ] = 1 3 U d c [ 2 1 1 1 2 1 1 1 2 ] [ a b c ] (7)

u a , u b , u c ―Three-phase stator phase voltage in A-B-C coordinate system.

Using the Clark transform, u α , u β in the α-β coordinate system can be obtained.

[ u α u β ] = 2 3 [ 1 1 2 1 2 0 3 2 3 2 ] [ u a u b u c ] (8)

The eight voltage vector distributions are shown in Figure 2.

From the above figure, there are 6 non-zero vector amplitudes in the 8 basic space voltage vectors, the phase difference is 60°, the vector space is divided into 6 sectors, and the other 2 are zero vectors. According to the parallelogram rule,

Figure 2. Basic space vector.

these 8 basic space vectors can be used to synthesize any voltage vector that does not exceed the maximum amplitude [7] . SVPWM technology uses these 8 basic space vectors to approximate a given reference voltage vector U r e f .

3. Design of PMSM Control System

3.1. Hardware Design of PMSM Control System

The hardware structure of the permanent magnet synchronous motor control system for electric vehicle air conditioner compressor is shown in Figure 3. It can be seen from Figure 3 that the hardware structure of the control system consists of three parts: control module, communication module and power module.

Among them, the control chip is dsPIC30F4011, which is a high-performance 16-bit digital signal controller with low-power high-speed flash technology, wide operating voltage range and efficient and fast working speed. It can be reprogrammed under software control, power management mode to meet system requirements.

The power module input terminal is connected to 230 V high-voltage DC power to supply power to the power module and the control module. The step-down is achieved by using a high frequency transformer. The DC-DC Converter UC2843 is used to control the switching of the MOS tube, and the direct current is converted into a high-frequency oscillation pulse waveform, and a low-voltage alternating current is generated by the transformer. After low-voltage AC rectification, the output voltage of the control chip is output via the three-terminal regulator LM117.

Communication circuit uses optocoupler isolation, which can be abnormal in the input signal. The protection chip is not burned out intelligent power module. Barrier protection function, when there are temperature, current, voltage and other faults, the FO pin of the module will output a fault signal to stop the motor, thereby playing a protective role.

3.2. Software Design of PMSM Control System

In addition to the hardware system, the control system requires software to

Figure 3. Control system hardware structure.

Figure 4. Block diagram.

implement the functions of the system. The main function of this software is to realize the FOC and subroutine modules of permanent magnet synchronous motor, making full use of dsPIC30F4011 chip computing function and software filtering. The whole program is developed in the chip-specific development environment MPLAB with C language. The software system has good real-time and reliability, which is convenient for modification and debugging.

The control program consists of a main program and an interrupt service subroutine. The specific process block diagram is shown in Figure 4.

4. Experimental Results and Analysis

The structure of the body, rotor and stator of the motor used in the drive system are shown in Figure 5 and Figure 6.

The technical specifications of the motor used in this control system are shown in Table 2.

Figures 7-9 are waveform diagrams of the respective phase currents measured at n = 1570 r / min , n = 2370 r / min , and n = 3350 r / min .

5. Conclusion

The permanent magnet synchronous motor control system of electric vehicle air

Figure 5. Structure diagram of motor body.

Figure 6. Structure diagram of rotor and stator.

Figure 7. n = 1570 r / min , Phase current waveform.

Figure 8. n = 2370 r / min , Phase current waveform.

Figure 9. n = 3350 r / min , Phase current waveform.

Table 2. Motor technical indicators.

conditioner compressor designed in this paper has been tested several times to analyze the control performance of the motor. The results show that the control system can significantly improve the normal operation of the drive motor in the environment of excessive noise and severe system oscillation, and the working ability to meet the actual working conditions of electric vehicle air conditioning compressors.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

Cite this paper

Shi, K., Chen, Y.J., He, Z., Wang, J. and Li, Y.S. (2019) Design of Permanent Magnet Synchronous Motor Control System for Electric Vehicle Air Conditioning Compressor Based on Vector Control. Open Access Library Journal, 6: e5157.


  1. 1. Yamada, E. and Zhao, Z.M. (2000) Applications of Electrical Machine for Vehicle Driving System. Proceedings IPEMC 2000: Third International Power Electronics and Motion Control Conference, 3, 1359-1364.

  2. 2. Zheng, J.G., Wu, H.X., Zheng, P., Pi, L.P. and Huang, Y.P. (2017) Modeling and Simulation of Speed Loop Control Technology for Permanent Magnet Synchronous Motor Servo System. 2017 IEEE Transportation Electrification Conference and Expo, Asia-Pacific (ITEC Asia-Pacific), Harbin, 2-5 August 2017, 1-5.

  3. 3. Liu, H., Gao, Z., Wu, W., Chow, L. and Wu, T. (2015) Design of a High-Efficiency Permanent Magnet Synchronous Motor and Inverter System. IECON 2015—41st Annual Conference of the IEEE Industrial Electronics Society, Yokohama, 9-12 November 2015, 004996-005001.

  4. 4. Suthamno, K. and Sujitjorn, S. (2012) Modelling of Permanent Magnet Synchronous Motor Incorporating Core-Loss. Open Access Library Journal, 4, 2846-2853.

  5. 5. Zhai, L. and Li, H. (2008) Modeling and Simulating of SVPWM Control System of Induction Motor in Electric Vehicle. 2008 IEEE International Conference on Automation and Logistics, Qingdao, 1-3 September 2008, 2026-2030.

  6. 6. Ping, L. and Lan, C. (2012) Study on Controlling and Simulation of Drive System for Permanent Magnet Synchronous Motor in Electrical Vehicle. 2012 Power Engineering and Automation Conference, Wuhan, 18-20 September 2012, 1-4.

  7. 7. Yu, L., Wang, C., Shi, H., Xin, R. and Wang, L. (2017) Simulation of PMSM Field-Oriented Control Based on SVPWM. 2017 29th Chinese Control and Decision Conference (CCDC), Chongqing, 28-30 May 2017, 7407-7411.