Plot PMSM
This is a simple function which can be used to plot the 3 phase currents of a permanent magnetic synchronous machine(PMSM).
The figure shows the three current vectors and the resulting vector with regards to the rotor.
The three inputs are:
iabc: 3x1 vector containing the three phase currents
theta: rotor electrical angle
offset: angle offset (used to choose angle reference)
By default, the rotor is aligned with phase 'a' at theta = 0 (default park) when offset = 0. When using with the modified park convention, offset should be equal to -pi/2.
This function makes use of the arrow.m function which is available here:
http://www.mathworks.com/matlabcentral/fileexchange/278-arrow-m
Citation pour cette source
alex pabouctsidis (2024). Plot PMSM (https://www.mathworks.com/matlabcentral/fileexchange/43189-plot-pmsm), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Communautés
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | added corrections to discription |
||
1.0.0.0 |