《现代控制理论》课程教学资源课程教学资源——实验指导_EXPERIMENT1 Modeling with State Space Description and Analysis of Time Response by Using MATLAB

实验一状态空间模型的建立与状态响应分析EXPERIMENT1Modeling with State Space Description and AnalysisofTimeResponsebyMATLABI.ExperimentalPurpose1. Obtaining the state space model and Conversion between different models: statespace model & transfer function.2. Obtaining the diagonal canonical form and Jordan canonical form by statetransformation3.Calculation of the time response of theLTI systemI.ExperimentalContent1.1 The state space description of the system is[2.254-5-1.250.56]242.25-4.25-1.250.25X(t) =X(t)u(t)0.250.5-1.252-12021.250.75-1.75-0.25000X(t)(t)01001.1.1 Modeling with the state space descriptionThis equation can be input to the MATLABwork space by the followingstatement.A-[2.25,-5,-1.25,-0.5;2.25,-4.25,-1.25,-0.25;-0.25,-0.5,-1.25,-1;1.25,-1.75,-0.25,0.75];B=[4,6;2,4;2,2;0,2];C=[1,0,0,0;0,1,0,0];D=zeros(2,2),G=ss(A,B,C,D)
1 实验一 状态空间模型的建立与状态响应分析 EXPERIMENT1 Modeling with State Space Description and Analysis of Time Response by MATLAB I. Experimental Purpose 1. Obtaining the state space model and Conversion between different models: state space model & transfer function. 2. Obtaining the diagonal canonical form and Jordan canonical form by state transformation 3. Calculation of the time response of the LTI system II. Experimental Content 1.1 The state space description of the system is 2.25 5 1.25 0.5 4 6 2.25 4.25 1.25 0.25 2 4 ( ) ( ) ( ) 0.25 0.5 1.25 1 2 2 1.25 1.75 0.25 0.75 0 2 X t X t u t − − − −−− = + − − − − −−− 1 0 0 0 ( ) ( ) 0 1 0 0 y t t = X 1.1.1 Modeling with the state space description This equation can be input to the MATLAB work space by the following statement. A=[2.25,-5,-1.25,-0.5;2.25,-4.25,-1.25,-0.25;-0.25,-0.5,-1.25,-1;1.25,-1.75,-0.25,- 0.75]; B=[4,6;2,4;2,2;0,2]; C=[1,0,0,0;0,1,0,0]; D=zeros(2,2); G=ss(A,B,C,D)

1.1.2 Conversion of state space model established by 1.1.1 as the transferfunction modelThemodel oftransferfunction can be obtainedby thefollowing statementsG1=tf(G)or[Num1,den1]=ss2tf(A,B,C,D,1)[Num2,den2]=ss2tf(A,B,C,D,2)1.2Themodel ofthesystem iss+5G(s) =s*+2s3+3s2+4s+51.2.1Setupthemodel ofthetransferfunctionofthesystemTransfer function can be input to the MATLAB work space by the followingstatements.num=[1,5];den=[1,2,3,4,5],G=tf(num,den)1.2.2 Conversion of the transfer function established by 1.2.1 as the state spacedescription[A,B,C,D]-tf2ss(num,den);G1=ss(A,B,C,D)orG2=ss(G)%不推荐使用1.3Thestatespacedescriptionof thesystemis[1 0-11X=0011X+0Z[2][0 0 2]y=[1 2 1]Transform the state space description into the diagonal canonical formThe transformation can be executed bythe following statements.2
2 1.1.2 Conversion of state space model established by 1.1.1 as the transfer function model The model of transfer function can be obtained by the following statements: G1=tf(G) or [Num1,den1]=ss2tf(A,B,C,D,1) [Num2,den2]=ss2tf(A,B,C,D,2) 1.2 The model of the system is 2 3 4 5 5 ( ) 4 3 2 + + + + + = s s s s s G s 1.2.1 Set up the model of the transfer function of the system Transfer function can be input to the MATLAB work space by the following statements. num=[1,5];den=[1,2,3,4,5],G=tf(num,den) 1.2.2 Conversion of the transfer function established by 1.2.1 as the state space description [A,B,C,D]=tf2ss(num,den); G1=ss(A,B,C,D) or G2=ss(G) %不推荐使用 1.3 The state space description of the system is [1 2 1] 2 0 1 0 0 2 0 1 0 1 0 1 = + − = y X X u Transform the state space description into the diagonal canonical form. The transformation can be executed by the following statements

A=[1 0 -1;0 1 0;0 0 2]; b=[1 0 2];c=[1 2 1];d=0;[V,D]=eig(A);,[Ap,Bp,Cp,Dp]=ss2ss(A,b,c,d,inv(V))1.4The state space description of the system is[07[010]X=001x+02[230]1y=[1 0 ]xTransform the state space description into the Jordan canonical form and thetransformation can be executed bythe following statements.A=[010:001;230];b=[001];c=[1011;d=0[V,J=jordan (A);[Ap,Bp,Cp,Dp]=ss2ss(A,b,c,d,inv(V)) or%不推荐使用[Aj,Bj,Cj,Dil=canon(A,b,c,d,'modal)1.5Consider a LTI system described by the following state space description[。 1]x(0)+10u(),X(0)=X(t)=-2 -3119y(t)=[1 2]X(0)1.5.1Determine the matrix exponiential function e4rThe matrix exponiential function can be derived by the following statements:A=[0 1:-2 -3];syms teAt=expm(A*t)1.5.2 Find the zero input response of the system in the period [0, 6s]It can becalculated bythefollowing statements%Zero input responseA=[0,1;-2 -3]; B=[0;1];C=[1,2];D=[0];X0=[1;2]3
3 A=[1 0 -1;0 1 0;0 0 2]; b=[1 0 2]';c=[1 2 1];d=0; [V,D]=eig(A); [Ap,Bp,Cp,Dp]=ss2ss(A,b,c,d,inv(V)) 1.4 The state space description of the system is y X u [1 0 1] 1 0 0 2 3 0 0 0 1 0 1 0 = + X = X Transform the state space description into the Jordan canonical form and the transformation can be executed by the following statements. A=[ 0 1 0;0 0 1;2 3 0]; b=[0 0 1]'; c=[1 0 1]; d=0; [V,J]=jordan (A); [Ap,Bp,Cp,Dp]=ss2ss(A,b,c,d,inv(V)) or [Aj,Bj,Cj,Dj]=canon(A,b,c,d,’modal’) %不推荐使用 1.5 Consider a LTI system described by the following state space description 0 1 0 1 ( ) ( ) ( ), (0) 2 3 1 2 ( ) [1 2] ( ) X t X t u t X y t X t = + = − − = 1.5.1 Determine the matrix exponiential function t e A . The matrix exponiential function can be derived by the following statements: A=[0 1;-2 -3]; syms t eAt=expm(A*t) 1.5.2 Find the zero input response of the system in the period [0, 6s] It can be calculated by the following statements. %Zero input response A=[0,1;-2 -3]; B=[0;1];C=[1,2];D=[0];X0=[1;2];

sys=ss(A,B,C,D):t=[0:0.02:6];[y1,t,x1]=initial(sys,X0,t);figure(1)%绘制零输入响应曲线(包括状态(变量)和输出)subplot(1,2,1); plot(t,x1)subplot(1,2,2); plot(t,y1)1.5.3 When u(t)=1 (t), calculated the response ofthe system in the period [0, 6s]%The unit step response with zero initial stateA=[0,1;-2 -3]; B=[0;1];C=[1,2];D=[0];sys=ss(A,B,C,D);[y2,t,x2]=step(sys,t);figure(2)%绘制零状态响应曲线(包括状态(变量)和输出)subplot(1,2,1); plot(t,x2)subplot(1,2,2); plot(t,y2)%full response:x=x1+x2,y=y1+y2;figure(3)%绘制全响应曲线(包括状态(变量)和输出)subplot(1,2,1); plot(t,x)subplot(1,2,2); plot(t,y)Ill.Requirements ofthe report1.Write the relevant programs in the experimental content and compile them in thecomputer.2.All programs, results and related graphics are written on the experiment reporttogether.4
4 sys=ss(A,B,C,D); t=[0:0.02:6]; [y1,t,x1]=initial(sys,X0,t); figure(1) %绘制零输入响应曲线(包括状态(变量)和输出) subplot(1,2,1); plot(t,x1) subplot(1,2,2); plot(t,y1) 1.5.3 When u(t) = 1 (t), calculated the response of the system in the period [0, 6s] %The unit step response with zero initial state: A=[0,1;-2 -3]; B=[0;1];C=[1,2];D=[0]; sys=ss(A,B,C,D); [y2,t,x2]=step(sys,t); figure(2) %绘制零状态响应曲线(包括状态(变量)和输出) subplot(1,2,1); plot(t,x2) subplot(1,2,2); plot(t,y2) %full response: x=x1+x2; y=y1+y2; figure(3) %绘制全响应曲线(包括状态(变量)和输出) subplot(1,2,1); plot(t,x) subplot(1,2,2); plot(t,y) III. Requirements of the report 1.Write the relevant programs in the experimental content and compile them in the computer. 2.All programs, results and related graphics are written on the experiment report together
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《现代控制理论》课程教学资源课程教学资源——实验指导_EXPERIMENT2 Analysis of Stability, Controllability and Observability by MATLAB.doc
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap3_3.1 The Basics of Stability Theory in Mathematics.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap3_3.2 Lyapunov Stability.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap3_3.3 Lyapunov Stability Theory.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap3_3.4 Application of Lyapunov 2nd Method to the LTI System.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap2_2.2 Calculation of the Matrix Exponential Function.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap2_2.3 State Transition Matrix.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap2_2.4 Time Response of the LTI System.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap1_1.1 Definition of State Space.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap1_1.2 Obtaining State Space Model from IO Model.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap1_1.5 State Transformation of the LTI system.pdf
- 《现代控制理论》课程教学资源课程教学资源——教学课件_Chap1_1.6 Obtaining a Jordan Canonical Form by State Transformation.pdf
- 《现代控制理论》课程教学资源课程教学资源——总结(1-5章)-2023.pdf
- 《电力系统自动化》课程教学资源(讲义)第2章 发电厂自动化.pdf
- 《发电厂电气部分》课程教学大纲 Course Exercise in Electrical Section of Power Plant.doc
- 《发电厂电气部分》课程教学资源(实践教学)220~500KV变电所设计规程.doc
- 《发电厂电气部分》课程教学资源(PPT课件讲稿)第八章 发电厂和变电站的控制与信号.ppt
- 山东理工大学:《高电压技》课程教学资源(PPT课件)第1章 气体放电的物理过程(主讲:安韵竹).ppt
- 山东理工大学:《高电压技》课程教学资源(PPT课件)第2章 气体介质的电气强度.ppt
- 山东理工大学:《高电压技》课程教学资源(PPT课件)第三章 液体、固体电介质的电气特性 3.1 液体和固体介质的极化、电导和损耗.ppt
- 《现代控制理论》课程教学资源——现控课件_Ch1-5 State Transformation of the LTI system.ppt
- 《现代控制理论》课程教学资源——现控课件_Ch1-2 Obtaining State Space Description from I_O Description.ppt
- 《现代控制理论》课程教学资源——现控课件_Ch1-1 Definition of state space.ppt
- 《现代控制理论》课程教学资源——现控课件_Ch2-Time response of LTI system.ppt
- 《现代控制理论》课程教学资源——参考资料_第六章 线性反馈系统的时间域综合.ppt
- 《现代控制理论》课程教学资源——参考资料_第五章 系统运动稳定分析.ppt
- 《现代控制理论》课程教学资源——参考资料_第四章 线性系统的能控性和能观测性.ppt
- 《现代控制理论》课程教学资源——参考资料_第三章 线性系统的运动分析.ppt
- 《现代控制理论》课程教学资源——参考资料_第二章 线性系统的状态空间描述.ppt
- 《现代控制理论》课程教学资源——参考资料_第一章 绪论.ppt
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_8-3离散系统分析.pdf
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_8-2离散数模.pdf
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_8-1离散控制系统.pdf
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_7-3相平面法2.pdf
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_7-2相平面法.pdf
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_7-1描述函数法.ppt
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_6-2串联综合法校正.ppt
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_6-1串联校正.ppt
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_5-3 稳定裕度等.ppt
- 《现代控制理论》课程教学资源——参考资料_自动控制原理_5-2奈氏判据.pdf
