I want to build the simulink model for PMSM motor, which takes input from PWM high speed block of micro chip motor library.

1 次查看(过去 30 天)
Hello, I am buliding PMSM motor model using microchip library which i have to deploy on dsPIC33EP512 controller. So for that, I am using simulink, i have to PWM high speed block for input to motor, i am facing error, I used SVPWM block of microchip library, and got error of "The expected number of dialog parameters of 'try_PWM/SVM-generator:gain-and-phase-shift/codegeneration' (1) does not match the number of dialog parameters specified in the MATLAB S-Function parameters dialog box (0)"
I have one more question that, can i use
SVPWM and PWM block same time, or not?
Attching diagram of model, please help to remove the error.

回答(1 个)

Sabin
Sabin 2023-11-17
From what can be seen in the diagram there is a 'dq-to-alphabeta' block which outputs two signals connected to the SVM generator block which expects more than two signals. Also if the SVM is outputing the PWM (6 signals) this cannnot be directly used to supply the machine without an inverter.

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Specialized Power Systems 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by