Control Techniques for PMSM

Currently I'm Taking Control Techniques for PMSM (new), at Current Controller Optimization, Implement MTPA and FWC to optimize your controller. I start taking the task, from 1 to 3 all no issues, but when I take the task 4, and follow the step by step, and checked all the setting are fine, but the output not meet the requirement, checked no error log, please help,

2 Comments

Kartikey
Kartikey on 12 Oct 2026 at 10:36
The screenshot is too zoomed out, so it is difficult to identify the exact cause. As a troubleshooting step, remove the current Vector Concatenate block and add a new one with Number of inputs set to 3. Reconnect the signals and check whether the assessment passes.
Signal Assessment appears to be connected to the V_ao output of the PWM Reference Generator. Verify this connection and the block parameters. Use the task’s Hint section to compare the expected setup with your model.
to understand port and connection of PWM, refer to the PWM Reference Generator documentation.
BEN
BEN on 13 Oct 2026 at 11:24
Moved: Torsten on 13 Oct 2026 at 12:38
Hi Kartikey,
I have reconnected the overall block diagram multiple times and attempted to adjust some of the parameters. However, I am still unable to achieve the correct output. Could you please provide your guidance and advice?
I has captured the connection and parameter for your referance, may help you to do analizing.
Thank you, Ben

Sign in to comment.

Answers (2)

Kartikey
Kartikey on 14 Oct 2026 at 12:12
From page 9 of the attached PDF, I noticed a possible angle-unit mismatch. The Input mechanical angle unit parameter of the Mechanical to Electrical Position block is set to Radians, so its electrical-position output is also in radians. However, the Theta units parameter of the SinCos Embedded Optimized block is set to Per-unit.
Could you try changing the Theta units parameter to Radians, rerunning the model, and submitting the task again? I think this may resolve the mismatch. Let me know whether the assessment passes after the change.

1 Comment

Thank you very much, after changed the Theta units parameter of the SinCos Embedded Optimized block from Per-unit to Radians is work.

Sign in to comment.

BEN
BEN 36 minutes ago
Dear Kartikey,
I am working on the assessment that requires adding the SinCos Embedded Optimized block from the Motor Control Blockset. The instructions specify the path as: Motor Control Blockset → Controls → Math Transforms.
However, in my installed version of MATLAB/Simulink, the block only appears under: Motor Control Blockset → Math Transforms (without the 'Controls' folder).
The block itself is present and functions correctly, but the library hierarchy differs. Could you please confirm if using the block from Motor Control Blockset → Math Transforms is acceptable for the assessment, or if a specific version of the toolbox is required?
Thank you for your guidance.
Best regards, Ben

Asked:

BEN
on 8 Oct 2026 at 13:50

Answered:

BEN
about 13 hours ago

Community Treasure Hunt

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

Start Hunting!