File Exchange

image thumbnail

FOC Simulink (MATLAB 2020a) Errors

version 1.0.0 (25.8 KB) by jefazo jefazo
When I run the simulation the inverse Park transform gives me one dimensional vector errors. I don't understand why this is happening.

11 Downloads

Updated 15 Apr 2020

View License

Hi everyone,

I am trying to develop an FOC algorithm (see screenshots attached) using the Motor Control Blockset in Simulink but I am getting the following errors (see screenshot attached). I don't know waht I am doing wrong since I fed my d and q currents to my Discrete PI controllers and fed the results straight into my Inverse Park Transform. I don't know how to solve this and any help would be greatly appreciated.

Cite As

jefazo jefazo (2021). FOC Simulink (MATLAB 2020a) Errors (https://www.mathworks.com/matlabcentral/fileexchange/75028-foc-simulink-matlab-2020a-errors), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Umair Khan

i'm also having the same problem if you solved it please enhance my knowledge. email me please uk03339509566@gmail.com

jefazo jefazo

DOes anyone know what I could be doing wrong here ?

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!