Development of a real time test platform for motor drive algorithms
In this thesis a real time test platform for a permanent magnet synchronous motor is developed. The implemented algorithm is Field Oriented Control (FOC) and it is implemented on a Texas Instruments TMS320F2808 Digital Signal Processor (DSP). The platform is developed in a rapid prototyping approach using Matlab/Simulink and the Real Time Workshop (RTW) packages.With this software the control algorithm and its interface to different DSP modules, such as A/D converter and PWM module, is constructed as a Simulink block scheme. The blocks used come from ordinary Simulink libraries and libraries provided by the RTW packages. From the Simulink block scheme Matlab can auto generate embedded C code adapted for different embedded targets, in this case the 2808 DSP.The developed real time test platform is also a Simulink model, though different from the algorithm model. When the start simulation command is given in the platform model a Graphical User Interface is loaded which lets the user specify motor parameters and certain algorithm parameters. Once the parameters are chosen RTW generates code from the algorithm model, loads it into the DSP and runs the generated program. From the platform model it is possible to set the reference speed of the motor in real time and monitor/log motor parameters such as actual speed and stator currents.
Summary
Viktor Larsson's 2008 master's thesis describes the development of a real-time test platform for a permanent magnet synchronous motor implementing Field Oriented Control (FOC) on a Texas Instruments TMS320F2808 DSP. The work demonstrates a rapid-prototyping workflow using MATLAB/Simulink and Real-Time Workshop to auto-generate embedded C, integrate ADC/PWM peripherals, and validate controller performance on hardware.
Key Takeaways
- Implement Field Oriented Control (FOC) on a TI TMS320F2808 using Simulink block diagrams and auto-generated C code.
- Configure and interface DSP peripherals (A/D converters and PWM modules) for closed-loop motor control.
- Establish a rapid-prototyping workflow with MATLAB/Simulink and Real-Time Workshop to shorten development and deployment cycles.
- Validate and tune real-time controller performance on a physical permanent magnet synchronous motor platform.
Who Should Read This
Embedded control engineers, graduate students, and practitioners working on motor drives, real-time DSP implementation, and rapid prototyping who want practical guidance on deploying FOC with MATLAB/Simulink and TI C2000 DSPs.
Still RelevantIntermediate
Related Documents
- A New Approach to Linear Filtering and Prediction Problems TimelessAdvanced
- Computing FFT Twiddle Factors TimelessAdvanced
- A Beginner's Guide To Cascaded Integrator-Comb (CIC) Filters TimelessBeginner
- Understanding and Implementing the Sliding DFT TimelessIntermediate
- Design IIR Filters Using Cascaded Biquads TimelessIntermediate







