Modeling PMSM in simulink

I dont want to use Simulink's ready-built PMSM block,but instead I want to built my own PMSM and control it with FOC. Problem is that when I run simulation with my own PMSM, my own won't give normal results, but if I change it to ready-built one, simulation works fine and give same results as in the real implemention.
I'am quite sure my model is correct, but is there some configurations need to be considered?

Answers (1)

Sabin
Sabin on 10 Jan 2023
Not easy to point to potential problems without a model. Something that might be problematic is the angle definition used in the Park transform. If the angle definition in the PMSM and the one in the control are different the results would not be good.

Categories

Find more on Motor Control Blockset in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 13 Feb 2022

Answered:

on 10 Jan 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!