声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 3473|回复: 3

请教:利用simpowersystems进行SRM电机仿真时仿真步长的设置问题!

[复制链接]
发表于 2006-12-8 11:27 | 显示全部楼层 |阅读模式

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

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

x
我使用simpowersystems里的mosfet和二极管元件搭建了开关磁阻电机功率变换器的主电路模型,然后加上电机的绕组模型进行仿真,绕组模型中通过Voltage Measurement和Controlled Current Source实现与功率变换器模块的连接。出现的问题是:我的电机的绕组模型因为必须要查表求得电机磁链和电流的关系,所以必须采用定步长进行仿真,在未与功率变换器模块连接前,可以实现定步长仿真,但是与功率变换器模块连接起来一块进行仿真时,采用定步长仿真会出现下面错误:
Trouble solving algebraic loop containing block 'convert0/Subsystem/Voltage Measurement/source/State-Space' at time 5e-007.  Stopping simulation.  There may be a singularity in the solution.  If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
我装得matlab的版本是6.5.0.1,请教高手:如何解决这个错误,实现定步长仿真?

谢谢阿!
回复
分享到:

使用道具 举报

发表于 2006-12-10 19:12 | 显示全部楼层
错误信息中不是说了吗,存在代数环,所以不行,可能不是时间步长的问题
 楼主| 发表于 2006-12-11 17:09 | 显示全部楼层
谢谢!因为刚开始做仿真,很多地方不懂,需要高手帮忙。我查了有关代数环的问题以及解决的方法,在提示存在代数环的路径上,即Voltage Measurement输出后面加入了一个memory模块,然后出现的错误信息是这样的:

State 1 of block 'convert/Voltage Measurement/source/mosfet/model/Integrator1' computed at time 0.0003 with step size 1e-005 is Inf or NaN.  Stopping simulation.  There may be a singularity in the solution.  If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)

不知道这个提示是在说明什么问题?
 楼主| 发表于 2006-12-11 17:11 | 显示全部楼层
另外,我单独将开关器件,如mosfet等,与电源相连,串上负载电阻组成一个简单的开关电路,可以实现固定步长仿真;单独将Voltage Measurement与电源和负载相连,也可以实现固定步长仿真;但是,将mosfet和Voltage Measurement一块连接到电路中,却不可以实现固定步长仿真,错误提示是:

State 1 of block 'convert1/Voltage Measurement/source/mosfet/model/Integrator1' computed at time 0.0004900000000000001 with step size 1e-005 is Inf or NaN.  Stopping simulation.  There may be a singularity in the solution.  If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)

不知道问题出在哪里?请高手帮帮忙!!!谢谢啊!
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-9-21 15:40 , Processed in 0.049673 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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