Generate Optimal Current Controller Calibration Tables for Permanent Magnet Synchronous Motors
Use Model-Based Calibration Toolbox™ and Powertrain Blockset™ to generate optimized current controller and flux parameters for permanent magnet synchronous motor (PMSM) blocks. Follow these steps.
Step 1: Generate Current Controller Parameters
Use the Model-Based Calibration Toolbox to generate optimized current controller tables for flux-based motor controllers. Based on nonlinear motor flux data, the calibration tables optimize:
Motor efficiency
Maximum torque per ampere (MTPA)
Flux weakening
You can use current controller parameters for the Flux-Based PM Controller block.
For the workflow, see Generate Current Controller Parameters.
Step 2: Generate Motor Parameters
Use MATLAB® scripts available with Powertrain Blockset to load flux motor data, visualize the flux surface, and create plots of flux as a function of current.
You can use motor parameters for the Flux-Based PM Controller block.
For the workflow, see Generate Feed-Forward Flux Parameters.
Step 3: Generate Flux-Based PMSM Parameters
Use MATLAB scripts available with Powertrain Blockset to load flux motor data, invert the flux, and create plots of current as a function of flux.
You can use flux-based PMSM parameters for the Flux-Based PMSM block.
For the workflow, see Generate Parameters for Flux-Based PMSM Block.
Model with Optimized Parameters
To open a model with optimized parameters for the Flux-Based PM
Controller and Flux-Based PMSM blocks, on the command line,
type Flux_Based_PMSM_TestBench
.
References
[1] Hu, Dakai, Yazan Alsmadi, and Longya Xu. “High fidelity nonlinear IPM modeling based on measured stator winding flux linkage.” IEEE® Transactions on Industry Applications, Vol. 51, No. 4, July/August 2015.
[2] Chen, Xiao, Jiabin Wang, Bhaskar Sen, Panagiotis Lasari, Tianfu Sun. “A High-Fidelity and Computationally Efficient Model for Interior Permanent-Magnet Machines Considering the Magnetic Saturation, Spatial Harmonics, and Iron Loss Effect.” IEEE Transactions on Industrial Electronics, Vol. 62, No. 7, July 2015.
[3] Ottosson, J., M. Alakula. “A compact field weakening controller implementation.” International Symposium on Power Electronics, Electrical Drives, Automation and Motion, July, 2006.