无法解决Simulink FOC模型中的端口尺寸错误

jefazo92

我正在尝试使用Simulink中的电机控制模块组开发FOC算法(请参见屏幕截图),但出现以下错误(请参见屏幕截图)。我不知道我在做什么错,因为我将dq电流馈入了离散PI控制器,并将结果直接馈入了逆公园变换。我不知道如何解决这个问题,我们将不胜感激。

在此处输入图片说明

在此处输入图片说明

Simulink文件OneDrive链接:

https://1drv.ms/u/s!AokIrMv_d8kz3BMaImhVY_guP_N-?e=Fu1a1e

走走

我无法打开您的模型。但是从您的屏幕截图中,我看到以下内容:

  • The little numbers at the signal arrows denote how many signals are in this path. I think it should be always 1 (in your model), except for the three-phase currents, where it should be 3. So everywhere you find a 2 something is wrong.
  • The probable mistake is, that you Demux the PhaseCur in the lower right corner into only 2 signal paths. For whatever reason it appears that the Clarke transform only demands for the phases a and b, but not c. But instead of dropping c you feed it into the block together with a (or a and b together, with c aside, for that matter). So instead of a 2-Way-Demux before, use a 3-Way-Demux and get rid of phase c before the Clarke transform.

This is the most apparent mistake until now, try if it works.


The documentation of the Clarke transform block states:

该模块接收三相(abc)中的两个信号,自动计算第三个信号,并在αβ参考帧中输出相应的分量。例如,该块接受a和b输入值,其中a相轴与α轴对齐。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章