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

3 ビュー (過去 30 日間)
ND
ND 2018 年 6 月 20 日
回答済み: Sabin 2023 年 11 月 17 日
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.

コミュニティ

カテゴリ

Help Center および File ExchangeSpecialized Power Systems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by