下载

Application Report
SPRA494
Digital Signal Processing Solutions December 1998
Implementation of Vector Control for
PMSM Using the TMS320F240 DSP
Michel Platnic Digital Signal Processor Solutions
Abstract
This document presents a solution for controlling a permanent magnet synchronous motor using
the Texas Instruments (TI
ä
) TMS320C24x digital signal processor (DSP). The new TMS320C24x
family of DSPs offers a cost-effective design of intelligent controllers for brushless motors that
can fulfill enhanced operations consisting of fewer system components, lower system cost, and
increased performances. The control method presented relies on the field orientated control
(FOC) together with a field-weakening operation. This algorithm maintains efficiency in a wide
range of speeds, above nominal speed, and takes into consideration torque changes with
transient phases by controlling the flux directly from the rotor coordinates. This report describes a
practical solution and corresponding results.
Contents
Introduction......................................................................................................................................................3
Application Description.....................................................................................................................................4
Convention.......................................................................................................................................................9
FOC Software Organization...........................................................................................................................11
Parameter Adaptation....................................................................................................................................15
Field Weakening ............................................................................................................................................27
Results...........................................................................................................................................................31
User Interface ................................................................................................................................................36
Conclusion.....................................................................................................................................................36
References.....................................................................................................................................................37
Appendix A. TMS320F240 FOC Software ....................................................................................................37
Appendix B. Linker File.................................................................................................................................64
Appendix C. Sinewave Table........................................................................................................................65
Appendix D. Qbasic User Interface...............................................................................................................67
Figures
Figure 1. Three-Phase Synchronous Motor with One Permanent Magnet Pair Pole Rotor.......................3
Figure 2. Three BEMF Waveforms at 1000rpm.........................................................................................5
Figure 3. Inverter Topology........................................................................................................................5
Figure 4. Top View of TMS320F240 EVM Board.......................................................................................6
Figure 5. ACPM750E with a MCK240........................................................................................................7