Global Research Press
Serving Researchers Since 2012

Modeling and Time Response Analysis of a PMSM for Small Utility Electric Vehicles with P, PI and PID Controllers

DOI : https://doi.org/10.5281/zenodo.19552940
Download Full-Text PDF Cite this Publication

Text Only Version

Modeling and Time Response Analysis of a PMSM for Small Utility Electric Vehicles with P, PI and PID Controllers

Sreejith S

Assistant professor, Department of Electrical Engineering College of Engineering, Attingal, Thiruvananthapuram, Kerala, India

Krishnanjana B Nair

B.Tech scholar, Department of Electrical Engineering College of Engineering, Attingal, Thiruvananthapuram, Kerala, India

Anuja Mohan

B.Tech scholar, Department of Electrical Engineering College of Engineering, Attingal, Thiruvananthapuram, Kerala, India

Jayakrishnan J U

B.Tech scholar, Department of Electrical Engineering College of Engineering, Attingal, Thiruvananthapuram, Kerala, India

Arjun P Raghu

B.Tech scholar, Department of Electrical Engineering College of Engineering, Attingal, Thiruvananthapuram, Kerala, India

Abstract – Permanent magnet synchronous motors (PMSM) can be used directly in place of induction motors (I.M.) for several commercial and industrial applications since they are characterized by high efciency, a high power factor, and a high power density compared to I.M. This paper presents the mathematical modeling of a vector-controlled Permanent Magnet Synchronous Motor (PMSM) drive. The performance analysis of the motor with proportional controller (P), proportional-integral controller (PI), and proportional-integral-derivative controller (PID) as a driving system has been studied and compared. A simulation study was conducted under diverse speed conditions, utilizing step changes as the basis. Subsequently, a comprehensive performance analysis was undertaken, involving the plotting of various parameters, including three-phase ABC currents, two- phase dq current, speed, and torque. [1]. The vector control system model includes PMSM, a SVPWM inverter, the speed controller, and vehicle dynamics for speed control. The perfor- mance analysis of the drive is evaluated for step changes under transient conditions for overshot, settling time, rise time, and steady state error of speed for specically designated values validated by MATLAB/Simulink in all methods. In synchronous machines, the conventional electromagnetic eld poles in the rotor are replaced by permanent magnets, and by doing so, the slip rings and brush assembly are eliminated, requiring less electric energy and a compact design. Due to the absence of eld or rotor current, the efciency of the motor is very high for commercial applications. [3][5]

Keywords: Permanent Magnet Synchronous Motor (PMSM); electric vehicle dynamics; proportional (P) controller; propor- tional integral (PI) controller; proportional integral derivative (PID) controller; Space vector pulse width modulation (SVPWM) Index TermsPermanent Magnet Synchronous Motor (PMSM); Proportional (P) controller; proportional Integral (PI)

controller; proportional Integral Derivative (PID) controller

  1. Introduction

    Small electric utility applications frequently use perma- nent magnet synchronous motors. Compared to asynchronous

    machines, this kind of motor is widely used in industrial applications because of its durability, high power density, ease of control, and compact size. Vehicle carbon emissions have decreased in recent years due to a number of environmental factors. Alternatives to conventional automobiles with SI or CI engines are electric vehicles (EVs). [1]. A constant switching frequency is required for a vector-controlled PMSM drive, which offers reduced torque ripples and better dynamic re- sponsiveness. Proportional-integral (PI) controllers are thought to be the most helpful tuning technique for d-q axis cur- rents and speed control loops because of their adaptability and simplicity. The Proportional (P), Proportional-integral (PI) and Proportional-integral-Derivative (PID) controllers are compared for the time response analysis of the PMSM for the sudden acceleration. [2]

  2. Mathematical model of the permanent magnet synchronous motor

    A mathematical design was made for a three-phase salient- pole PMSM im Matlab Simulink using the motor dynamic equations. Table I contains the model specications. [6] The PMSMs mathematical model is provided in (1)(9). Because the rotor magnets location will be ascertained without regard to the machines torque, immediate induced phase EMFs, sta- tor phase currents, or stator phase voltages, the rotor reference frame was selected and the following assumptions are made:

    -The saturation of the iron in the stator of the motor is ignored -The effects of the eddy current and hysteresis are ignored -The three-phase windings of the stator are symmetri- cal. The Permanent Magnet Synchronous Motor model can be described in the form of the following nonlinear mathematical

    TABLE I

    Parameter

    Value

    Stator phase resistance, Rs

    2.98

    d-axis inductance, Ld

    7×10-3H

    q-axis inductance, Lq

    7×10-3H

    Flux linkage,

    0.125Wb-turn

    Inertia, J

    0.47×10-4 Kgm2

    Viscous damping, B

    11×10-5 Nm

    Pole pairs, P

    2

    equations in the d-q reference frame.

    Fig. 1. Three phase rotating to two phase rotating vector transformation

    this is the equation for direct axis ux linkages. Eq (4) represents direct ux Mechanical torque

    Fig. 2. Phase diagram of the PMSM in the frame of reference linked to the rotating eld

    optimal linear torque. [4][6] This means that: id = 0, iq = is,

    The rotor position information is required for the FOC

    Park Clark transformation matrices are given by

    current is compared with q-axis component of stator current

    of the motor. This is provided by an encoder or resolver and speed is calculated from rotor position (). Motor speed is compared with reference speed and the error is fed as input to the controller whose output will be proportional to torque producing component of stator current (i ). This

    reference voltage component Vqref . The d-axis component of

    (iq) and error is fed to another PI controller to nd q-axis

    stator reference current which is the ux producing component

    (idref ) is taken equal to zero to satisfy maximum torque per ampere condition. [5][7] This current is compared with motor

  3. Field oriented control o Permanent Magnet

    Synchronous Motor (PMSM)

    Typically, the machines ux value is adjusted by the stator axis component, which also serves as the excitation. The torque is controlled by the q axis component, which also serves as the armature current. The axis of the component iq must be in quadrature with respect to the rotor ux in order to apply vector control. In the case of a surface-mounted PMSM, Ld = Lq. The direct current needs to be id = 0 when eld-oriented control is applied and the system is operating at

    d-axis current component and the error is fed to PI controller to nd Vdref .

  4. PROPOSED SYSTEM MODEL WITH P, PI AND PID CONTROLLER

    For applications in control theory, the Proportional (P), Proportional-Integral (PI), and Proportional-Integral- Derivative (PID) controllers are the most commonly used controllers. The PI controller will affect the performance of the system by increasing the systems order by one and

    Fig. 4. Simulink model of PMSM

    Fig. 3. Basic block diagram of speed control of PMSM

    by reducing steady state error, disturbance signal rejection, and relative stability. The systems sensitivity with respect to parameters also decreases. [8][10] The transfer function of the PI controller is given by Eq. (10):

    The PI controller reduces rise time and minimizes the steady- state error. But peak overshoot, settling time, order, and type of the system will be increased. It functions as a low pass lter. The output equations of the PI and PID controllers are given by Eq. (11) & (12):

    Fig. 5. Simulink model of PMSM iq and id currents

    Compared to both P and PID controllers, the PI controller exhibits a better responsiveness. The PI controller signicantly

    outperforms P and PID controllers with a steady state error of 0.01rad/s or 0.0955 rpm, stabilizing the motor speed at a reference speed (with 2 percentage tolerance) of 100 RPM in

    A command speed eref is compared with the motors speed

    r and provides the change or error in speed , which is given to the P, PI or PID controller to obtain the command torque component of stator current iqref . [9][11] The basic block diagram of the PMSM using vector control strategy is as shown in gure 3. The Simulink model depicting the control strategy employed for Permanent Magnet Synchronous Motor (PMSM) is depicted in Figure 4. The rotating two phase currents id and iq are produced from mathematical modelling of PMSM as shown in gure 5. The characteristic equations of the PMSM building blocks are operated with inverter voltages and produce electromagnetic torque Te and speed m of the motor. Figure 6 illustrates the experimental setup employed for the speed control of a Permanent Magnet Synchronous Motor (PMSM) using various control strategies.

  5. RESULTS AND DISCUSSION

    P, PI, and PID speed controller simulations have been run for a three-phase PMSM with an 10 Nm load torque and 100 RPM (10.47 rad/sec) and 200 RPM (2.094 rad/sec) operating speeds. It is evident that the PI controller takes 95 ms to reach the rise time (90 percentage of the command speed), the P controller takes 110 ms, and the PID controller takes 94 ms.

    2.5s and 200 RPM from 100 RPM in 3s. Compared to PID and P controllers, the PI controller has a slightly higher peak overshoot (8 percentage), but it provides a superior steady state response. However, the steady state error of both P and PID

    Fig. 6. Experimental setup of PMSM

    controllers is greater than 2 percentage. This can be reduced by ne-tuning the parameters more precisely. The depicted

    Fig. 9. Speed of the motor using PI controller

    Fig. 7. Speed of the motor using P controller

    gure 7 illustrates the machine speed curve when the Propor- tional (P) controller is employed as the input controller. It is observed that the rise time associated with this conguration is signicantly greater compared to alternative methodologies; however, it concurrently yields superior overshoot and steady- state performance.

    Fig. 10. Vd and Vq voltage wave forms

    Fig. 8. Speed of the motor using PID controller

    The depicted gure 8 portrays the machine speed curve under the inuence of a Proportional-Integral-Derivative (PID) controller as the input controller. Notably, the rise time as- sociated with this conguration surpasses that of alternative methods, albeit with an attendant increase in overshot during the initial swing.

    The illustrated gure 9 elucidates the machine speed curve under the inuence of a Proportional-Integral (PI) controller as the input controller. It is noteworthy that the rise time within this conguration closely approximates that of a Proportional- Integral-Derivative (PID) controller. Furthermore, the observed transient and steady-state responses are commendable, char- acterized by an steady state error magnitude of less than 2 percentage.

    Figure 10 illustrates the Vq and Vd voltages derived from the three-phase voltage source, corresponding to command speeds of 100 and 200 revolutions per minute (RPM).

  6. CONCLUSION

This study develops the mathematical model of a vec- tor controlled PMSM drive with P, PI, and PID controllers for an electric vehicles propulsion system and presents the simulation results. The ndings show that compared to the P and PID controller, the PI controller produces a more reliable tracking response of the command speed with reduced transient and steady-state error. Better performance in rise time is also provided by PI controllers with minimal percentage overshoots. The vehicle can operate smoothly with good static and dynamic performance characteristics when using the PI controller, according to the models overall output responses.

References

  1. Veeresh, M. Y., Reddy, V. B., & Kiranmayi, R. (2022). Modeling and Analysis of Time Response Parameters of a PMSM-Based Electric Ve- hicle with PI and PID Controllers. Engineering, Technology & Applied Science Research, 12(6), 9737-9741.

  2. Achour, H. B., Ziani, S., Chaou, Y., El Hassouani, Y., & Daoudia,

    A. (2022). Permanent magnet synchronous motor PMSM control by combining vector and PI controller. WSEAS Trans. Syst. Control, 17, 244-249.

  3. Ghanayem, H., Alathamneh, M., & Nelms, R. M. (2023). Three-phase PMSM vector control using decoupled ux and speed controller. Energy Reports, 9, 645-652.

  4. van Duijsen, P. J., & Zuidervliet, D. C. (2021, July). Teaching Field Ori- ented Control using Animation. In 2021 17th Conference on Electrical Machines, Drives and Power Systems (ELMA) (pp. 1-6). IEEE.

  5. Yu, L., Wang, C., Shi, H., Xin, R., & Wang, L. (2017, May). Simulation of PMSM eld-oriented control based on SVPWM. In 2017 29th Chinese control and decision conference (CCDC) (pp. 7407-7411). IEEE.

  6. Saiyad Mahammadsoaib, M., & Patel Sajid, M. (2015). Vector con- trolled PMSM drive using SVPWM technique-A MATLAB/simulink implementation. In Electrical, Electronics, Signals, Communication and Optimization (EESCO), 2015 International Conference (pp. 1-5).

  7. Mishra, A., Agarwal, P., & Srivastava, S. P. (2014). A comprehensive analysis and implementation of vector control of permanent magnet syn- chronous motor. International Journal of Power and Energy Conversion, 5(1), 1-23.

  8. Yuvaraja, T., & Ramya, K. (2018). Vector control of PMSM take over by photovoltaic source. The Applied Computational Electromagnetics Society Journal (ACES), 228-231.

  9. Gujjar, M. N., & Kumar, P. (2017, May). Comparative nalysis of eld oriented control of BLDC motor using SPWM and SVPWM techniques. In 2017 2nd IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology (RTEICT) (pp. 924-929). IEEE.

  10. Dwivedi, S., & Singh, B. (2010, December). Vector Control vs Direct Torque Control comparative evaluation for PMSM drive. In 2010 Joint International Conference on Power Electronics, Drives and Energy Systems & 2010 Power India (pp. 1-8). IEEE.

  11. Al-Tameemi, Z. H., Enawi, H. H., Al-Anbary, K. M., Al-Mamoori,

D. H., & Almukhtar, H. M. (2018). An objective study of behavior of permanent magnet synchronous motor under abnormal conditions. International Journal of Engineering & Technology, 7(4), 1970-1976.