1 / 18

Simulink/ Modelsim Co-Simulation of FPGA -based PI Speed Control for PMSM Drive

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. CONTENT. Abstract Introduction

Télécharger la présentation

Simulink/ Modelsim Co-Simulation of FPGA -based PI Speed Control for PMSM Drive

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 PMSMDrive • Conclusion • References

  3. Abstract • The basic principle of (SVPWM) and the design of a PI-control based speed control IC for PMSM from Simulink/Modelsimcosimulationis presented • Firstly, a SVPWM algorithm, vector control method and PI controller are derived and applied in the speed control IC of PMSMdrive • 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 • Aco-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 vd, vq are the d and q axis voltages; id, iq, are the d and q axis currents, rsis the phase winding resistance; Ld, Lqare 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 SVPWMwaveform(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.BogdanAlecsa, 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.WeeraKaewjinda and MongkolKonghirun. 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.TheMathworks, Matlab/Simulink Users Guide, Application Program Interface Guide (2004) • 8.Implementinga PID Controller in a MicrosemiFPGA 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 – 1549 • 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. Thank You for your attention !

More Related