Non-constant Torque issue in FOC algorithm (Simulink)

2 次查看(过去 30 天)
Hi everyone,
I am trying to develop an FOC algorithm in Simulink (see image attached) but I am having extrange results in my simulation. My torque is not constant, when it should, but varying periodically (see image attached), when it should be constant at 2 Nm. Also the scope for my q-axis current my probe is giving me a strange graph (see image attached) I can't even make sense of. Please if anyone could help me I would really appreciate it since I have no clue what is going on. I don't know if it could be the values of my PI regulator but I have already tried all sorts of values and have no idea what else I can do. Please could someone help me out ?
P.S. Simulink file attached below.

回答(1 个)

jefazo jefazo
jefazo jefazo 2020-4-21
Hi does anyone know what is wrong ? Is there something I need to further clarify ? I have beent trying to tune PI values but nothing has improved. I have tried playing around with the motor and nothing either. I thought it would simple to implement since it's basically linking blocks together. I hope you are just not answering because they genuily don't know the answer but if there is another reason nobody is replying please let me know because I really need to do what I am doing wrong. Thanks.
  1 个评论
jefazo jefazo
jefazo jefazo 2020-4-21
Hi does anyone know what is wrong ? Is there something I need to further clarify ? I have beent trying to tune PI values but nothing has improved. I have tried playing around with the motor and nothing either. I thought it would simple to implement since it's basically linking blocks together. I hope you are just not answering because they genuily don't know the answer but if there is another reason nobody is replying please let me know because I really need to do what I am doing wrong. Thanks.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by