声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2905|回复: 6

[电力电机类] 救助:PMSM直接转矩控制仿真中的一个错误提示

[复制链接]
发表于 2007-7-18 16:46 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
做了一个PMSM直接转矩控制的仿真,运行后结果SVPWM中提示出错如下
Out of bounds switch input specified for 'DTCsystem/countT1T2/Multiport Switch'.  The control input must be greater than or equal to 1 and less than or equal to the number of inputs if using one-based indexing; The control input must be greater than or equal to 0 and less than the number of inputs if using zero-based indexing
也就是说采用one-based indexing时control input取[1,6],zero-based indexing时取[0,6],找了一遍实在找不到问题所在,请教各位啦!

DTCsystem.mdl

92.82 KB, 下载次数: 151

回复
分享到:

使用道具 举报

发表于 2007-7-19 12:22 | 显示全部楼层
他虽然提示是选择开关出错,不过真正的错误不在这里,具体为什么我说不清楚,我做svpwm的,也曾遇到过这个,不过是我在该了别的东西之后发生这种错误的。
发表于 2007-7-19 13:06 | 显示全部楼层
就是多多项开关的初始值不能为0
具体怎么改,我不大清楚
你加上一个延迟或memory模块试试
发表于 2007-7-25 19:59 | 显示全部楼层

我也出现

:lol qq71395871
发表于 2009-2-26 13:10 | 显示全部楼层
去掉开关模块里面选项的那个勾 再试试
发表于 2012-2-9 17:39 | 显示全部楼层
反馈通道里加memory模块就行了
发表于 2012-8-21 03:43 | 显示全部楼层
为什么我下载了以后和你的问题不一样呢
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-10 14:59 , Processed in 0.069389 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表