Presentation is loading. Please wait.

Presentation is loading. Please wait.

SIMULINK/MODELSIM CO-SIMULATION OF FPGA-BASED PI SPEED CONTROL FOR PMSM DRIVE STUDENT: PHAM VAN DUNG ID: MA02B205 ELECTRICAL ENGINEERING DEPARTMENT SOUTHERN.

Similar presentations


Presentation on theme: "SIMULINK/MODELSIM CO-SIMULATION OF FPGA-BASED PI SPEED CONTROL FOR PMSM DRIVE STUDENT: PHAM VAN DUNG ID: MA02B205 ELECTRICAL ENGINEERING DEPARTMENT SOUTHERN."— Presentation transcript:

1 SIMULINK/MODELSIM CO-SIMULATION OF FPGA-BASED PI SPEED CONTROL FOR PMSM DRIVE STUDENT: PHAM VAN DUNG ID: MA02B205 ELECTRICAL ENGINEERING DEPARTMENT SOUTHERN TAIWAN UNIVERSITY OF TECHNOLOGY

2 CONTENT Abstract Introduction System Description of PMSM Drive and PI Speed Controller Design Simulink/Modelsim Co-Simulation of PMSM Drive Conclusion References

3 ABSTRACT The basic principle of (SVPWM) and the design of a PI-control based speed control IC for PMSM from Simulink/Modelsim cosimulation is presented Firstly, a SVPWM algorithm, vector control method and PI controller are derived and applied in the speed control IC of PMSM drive Secondly, Verilog that is Hardware Description Language is adopted to describe the behavior of the aforementioned control algorithms. Finally, Simulations and the results will be discussed.

4 INTRODUCTION -PMSM -FPGA -Electronic Design Automation (EDA) Simulator Link -A co-simulation by EDA Simulator Link is applied to PI-control based speed control IC for PMSM drive. -The Simulink/Modelsim co-simulation architecture is shown in Fig.1 -The PMSM, inverter and speed command are performed in Simulink and the proposed speed control IC described by Verilog code is executed in ModelSim

5 FIG.1. THE SIMULINK/MODELSIM CO-SIMULATION ARCHITECTURE

6 SYSTEM DESCRIPTION OF PMSM DRIVE AND PI SPEED CONTROLLER DESIGN -The Mathematical Model of PMSM -Design of Current controller and Coordinate Transformation (CCCT) -Design of PI controller

7 THE MATHEMATICAL MODEL OF PMSM where v d, v q are the d and q axis voltages; i d, i q, are the d and q axis currents, r s is the phase winding resistance; L d, L q are the d and q axis inductance; is the rotating speed of magnet flux; is the permanent magnet flux linkage.

8 DESIGN OF CURRENT CONTROLLER AND COORDINATE TRANSFORMATION (CCCT)

9 WHICH USES ONE ADDER, ONE MULTIPLIER, AN 1-B LEFT SHIFTER, A SIN/COS LOOK-UP-TABLE AND MANIPULATES 24 STEPS MACHINE TO CARRY OUT THE OVERALL COMPUTATION OF CCCT

10 DESIGN OF PI CONTROLLER where Kp is proportional coefficient, Ki is integral coefficient, Yn(n) is the output control volume in the n-sampling time, e(n) is the input deviation in the n-sampling time, e(n-l) is the input deviation in the (n-l )-sampling time.

11 The designed PI controller circuit adopted by using the FSM method is proposed and shown in this figure which uses one adder, one multiplier, and manipulates 10 steps

12 SIMULINK/MODELSIM CO-SIMULATION OF PMSM DRIVE

13 Fig. 10 The Vector Control Block Diagram for PMSM

14 SIMULATION RESULTS Simulation results of SVPWM waveform(STEP1)

15 Fig. 12 Simulation results of step speed respond, two-axis current respond and three phase current response

16 CONCLUSION This study has been successfully presented a speed control IC for PMSM drive and demonstrated its performance from Simulink/ModelSim co-simulation.Via this design methodology, the Verilog code of the speed control IC can be fast developed, and the risk in experimental development can be greatly reduced.

17 REFERENCES 1.Kung, Y.S., Tsai, M.H.: FPGA-based speed control IC for PMSM drive with adaptive fuzzy control. In: IEEE Trans. on Power Electronics, vol. 22, no. 6, pp. 2476--2486 (2007) 2.Modeltech, ModelSim Reference Manual (2004) 3.Bogdan Alecsa, Marcian N. Cirstea: Simulink Modeling and Design of an Efficient Hardware-Constrained FPGA-Based PMSM Speed Controller. In: IEEE Trans. Ind. Informatics, vol. 8, no.3, August 2012 4.M. F. Castoldi, G. R. C. Dias, M. L. Aguiar and V. O. Roda. Chopper-Controlled PMDC motor drive using VERILOG code. Proceedings of the 5th Southern Conference on Programmable Logic, (2009), pp. 209~212 5.Weera Kaewjinda and Mongkol Konghirun. Vector Control Drive of Permanent Magnet Synchronous Motor Using Resolver Sensor.In: ECTI Transactions on Electrical Eng., Electronics, and communications Vol.5,NO.1 February 2007 6.Li, Y., Huo, J., Li, X., Wen, J., Wang, Y., Shan, B.: An open-loop sin microstepping driver based on FPGA and the Co-simulation of Modelsim and Simulink In: Proceedings of the International Conference on Computer, Mechatronics, Control and Electronic Engineering (CMCE), pp. 223--227 (2010) 7.The Mathworks, Matlab/Simulink Users Guide, Application Program Interface Guide (2004) 8.Implementing a PID Controller in a Microsemi FPGA User guider 9.Y.S. Kung, C.S. Chen, K.I. Wong, M.H. Tsai. Development of a FPGA-based control IC for PMSM drive with adaptive fuzzy control. Proceedings of the Industrial Electronics Society, IECON2005, 31st Annual Conference of IEEE (2005).pp 1544 – 1549Industrial Electronics Society, IECON2005, 31st Annual Conference of IEEE 10.Li, Y., Huo, J., Li, X., Wen, J., Wang, Y., Shan, B.: An open-loop sin microstepping driver based on FPGA and the Co-simulation of Modelsim and Simulink In: Proceedings of the International Conference on Computer, Mechatronics, Control and Electronic Engineering (CMCE), pp. 223--227 (2010)

18


Download ppt "SIMULINK/MODELSIM CO-SIMULATION OF FPGA-BASED PI SPEED CONTROL FOR PMSM DRIVE STUDENT: PHAM VAN DUNG ID: MA02B205 ELECTRICAL ENGINEERING DEPARTMENT SOUTHERN."

Similar presentations


Ads by Google