采样控制系统数字仿真

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

实验报告课程名称:计算机仿真实验项目:采样控制系统数字仿真专业班级:自动化1201班姓名:学号:120302126实验室号:电气207实验组号:实验时间:批阅时间:指导教师:吴伟成绩:沈阳工业大学实验报告(适用计算机程序设计类)专业班级:自动化1201班学号:120302126姓名:实验名称:采样控制系统数字仿真1.实验目的:熟悉采样控制系统数值积分法仿真流程,程序编制及仿真结果分析。2.实验内容:(1)学习MATLAB语言实现采样控制系统仿真建模。(2)学习使用仿真程序进行系统分析。3.实验方案(程序设计说明)(1)设置不同的Ts将系统离散,观察采样周期对系统响应的影响。(2)画输出阶跃响应图像4.实验步骤或程序(经调试后正确的源程序)(填写主要步骤与程序代码等。见附件A)Ts=[0.50.30.10.050.01];G1c=tf([12],[122]);G2c=tf([1],[0.51]);n=length(Ts);fori=1:nG1d=c2d(G1c,Ts(i));G2d=c2d(G2c,Ts(i));Gd=series(G1d,G2d);G=feedback(Gd,1)step(G)ifinfigure;endend5.程序运行结果G=0.2957z-0.1039----------------------------------z^3-1.432z^2+1.055z-0.2393Sampletime:0.5secondsDiscrete-timetransferfunction.G=0.1319z-0.0717----------------------------------z^3-1.964z^2+1.458z-0.3729Sampletime:0.3secondsDiscrete-timetransferfunction.G=0.01807z-0.01479----------------------------------z^3-2.619z^2+2.311z-0.6851Sampletime:0.1secondsDiscrete-timetransferfunction.G=0.004754z-0.004302---------------------------------z^3-2.805z^2+2.629z-0.823Sampletime:0.05secondsDiscrete-timetransferfunction.G=0.000198z-0.0001941--------------------------------z^3-2.96z^2+2.921z-0.961Sampletime:0.01secondsDiscrete-timetransferfunction.6.出现的问题及解决方法打开多个图像显示窗口figure附件A沈阳工业大学实验报告(适用计算机程序设计类)专业班级:自动化1201班学号:1201302126姓名:实验步骤或程序:(可加附页)Ts=[0.50.30.10.050.01];G1c=tf([12],[122]);G2c=tf([1],[0.51]);n=length(Ts);fori=1:nG1d=c2d(G1c,Ts(i));G2d=c2d(G2c,Ts(i));Gd=series(G1d,G2d);G=feedback(Gd,1)step(G)ifinfigure;endendG=0.2957z-0.1039----------------------------------z^3-1.432z^2+1.055z-0.2393Sampletime:0.5secondsDiscrete-timetransferfunction.G=0.1319z-0.0717----------------------------------z^3-1.964z^2+1.458z-0.3729Sampletime:0.3secondsDiscrete-timetransferfunction.G=0.01807z-0.01479----------------------------------z^3-2.619z^2+2.311z-0.6851Sampletime:0.1secondsDiscrete-timetransferfunction.G=0.004754z-0.004302---------------------------------z^3-2.805z^2+2.629z-0.823Sampletime:0.05secondsDiscrete-timetransferfunction.G=0.000198z-0.0001941--------------------------------z^3-2.96z^2+2.921z-0.961Sampletime:0.01secondsDiscrete-timetransferfunction.

1 / 8
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功