声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2083|回复: 2

[控制系统类] simulink仿真

[复制链接]
发表于 2010-8-2 17:25 | 显示全部楼层 |阅读模式

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

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

x
请教高人:simulink仿真模型中,怎样搭建模块或编写函数可以实现在特定时刻,将某一个积分计算的结果作为下一时刻其它积分的初值。
回复
分享到:

使用道具 举报

 楼主| 发表于 2010-8-8 20:43 | 显示全部楼层

simulink仿真

自己建立的模型。要求仿真振动系统在气压压力作用下的振动特性,请高手帮忙检查模型是否有错误。本人邮箱qyln2008@163.com

QDZDXT.mdl

126.2 KB, 下载次数: 1

模型文件

发表于 2010-9-5 09:25 | 显示全部楼层
没处理过这样的问题,不过个人收集的一份资料估计对你会有用;

Re: simulink如何实时更改积分器的初值?
Resetting the State
The block can reset its state to the specified initial condition based on an
external signal. To cause the block to reset its state, select one of the E
xternal reset choices. A trigger port appears below the block's input port a
nd indicates the trigger type, as shown in this figure.
Select rising to trigger the state reset when the reset signal has a rising
edge. Select falling to trigger the state reset when the reset signal has a
falling edge. Select either to trigger the reset when either a rising or fal
ling signal occurs.
The reset port has direct feedthrough. If the block output is fed back into
this port, either directly or through a series of blocks with direct feedthr
ough, an algebraic loop results. To resolve this loop, feed the block state
into the reset port instead. To access the block's state, select the Show st
ate port check box.

评分

1

查看全部评分

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-6-18 05:00 , Processed in 0.087992 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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