正在加载图片...
2.使用一般的分析工具 he using of General analysis tool (a).线性化:将状态空间所描述的线性系统输入输出关系由下式表示: =Ax+Bu y=Cx+Du 其中:x代表状态矢量 y代表输出矢量 u代表输入矢量 A,BC,D为系统线性化的状态空间矩阵 如创建用于线性化的系统模型名为lmod,并保存为”Imod. md Transfer Fcn 在命令窗口输入命令ABCD= lined(1mod)就可以获得系统的常微分方 程lmod的状态空间线性模型,返回系统线性化的状态空间矩阵 IABCDElinmod(Imod,) (IA, B, C, D=LINMOD('SYS)obtains the state-space linear model of the system of ordinary differentialequations described in the block diagram'SYS' when the state variables and inputs are set to the defaults specified in the block diagram.) (b)由状态方程转成LTI对象 transfer state equations to LTI object):一旦 数据形成了状态空间形式或者转变成了IT对象,就可以使用 Control System Toolbox函数进行进一步的分析。 利用ss函数可将上面线性化的系统转成LTI对象,命令格式为: Sys=SS(A, B, C, D) (c)绘制波德图:( Bode plot drawing)用bode函数可绘制波德图,(相位、幅2 Out2 1 Out1 2 s+1 Transfer Fcn1 2 -s +s+1 2 Transfer Fcn Add 1 In1 2.使用一般的分析工具(the using of General analysis tool) (a). 线性化:将状态空间所描述的线性系统输入输出关系由下式表示: x’=Ax+Bu y=Cx+Du 其中:x 代表状态矢量 y 代表输出矢量 u 代表输入矢量 A,B,C,D 为系统线性化的状态空间矩阵 如创建用于线性化的系统模型名为 lmod,并保存为”lmod.mdl”. 在命令窗口输入命令 [A B C D]=linmod(‘lmod’)就可以获得系统的常微分方 程 lmod 的状态空间线性模型,返回系统线性化的状态空间矩阵。 [A B C D]=linmod(‘lmod’) ([A,B,C,D]=LINMOD('SYS') obtains the state-space linear model of the system of ordinary differential equations described in the block diagram 'SYS' when the state variables and inputs are set to the defaults specified in the block diagram.) (b)由状态方程转成 LTI 对象(transfer state equations to LTI object):一旦 数据形成了状态空间形式或者转变成了 LTI 对象,就可以使用 Control System Toolbox 函数进行进一步的分析。 利用 ss 函数可将上面线性化的系统转成 LTI 对象,命令格式为: sys=ss(A,B,C,D) (c) 绘制波德图:(Bode plot drawing) 用 bode 函数可绘制波德图,(相位、幅
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有