ImageVerifierCode 换一换
格式:DOCX , 页数:20 ,大小:417.30KB ,
资源ID:16845526      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/16845526.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(matlab期末大作业Word文档下载推荐.docx)为本站会员(b****3)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

matlab期末大作业Word文档下载推荐.docx

1、Compare and Conclusion 19After design 20Appendix 22Reference 221.Preface:With the high pace of human civilization development, the car has been a common tools for people. However, some problems also arise in such tendency. Among many problems, the velocity control seems to a significant challenge. I

2、n a automated highway system, using the velocity control system to maintain the speed of the car can effectively reduce the potential danger of driving a car and also will bring much convenience to drivers.This article aims at the discussion about velocity control system and the compensator to ameli

3、orate the preference of the plant, thus meets the complicated demands from people. The discussion is based on the simulation of MATLAB.Key word: PI controller, root locus2.The Design Introduction:Figure 2-1 automated highway systemThe figure shows an automated highway system, and according to comput

4、ing and simulation, a velocity control system for maintaining the velocity if the two automobiles is developed as below. Figure 2-2 velocity control systemThe input, R(s), is the desired relative velocity between the two vehicles. Our design goal is to develop a controller that can maintain the vehi

5、cles in several specification below. DS1 Zero steady-state error to a step input DS2 Steady-state error due to a ramp input of less than 25% of the input magnitude.DS3 Percent overshoot less than 5% to a step input.DS4 Settling time less than 1.5 seconds to a step input( using a 2% criterion to esta

6、blish settling time)3.Relative Knowledge:Controller here actually serves as a compensator, and we have some compensators for different specification and system.Table 3-1 CompensatorscompensatorAppilicable conditionAdjust steady errorAdd the type of system, thus adjust the steady errorPI controller:

7、adjust steady error and add an zeroIncrease the phase marginIncrease the phase margin, keep the steady error unchangedPID controller: balance all the preference(steady preference, as well as dynamic preference)4.Design and Analysis:4.1Specification analysisAccording to the relative knowledge above,

8、I may consider a PI controller to compensate-.Ds1: zero steady error to step response:To introduce an integral part to add the system type is enough.Ds2: Steady-state error due to a ramp input of less than 25% of the input magnitude.Ds3: overshoot less than 5% to a step response. According to DS3 an

9、d DS4, we can draw the desired region to place our close-loop poles.(as the shadow indicate) Figure 4-1 Desired region for locating the dominant polesAfter adding the controller, the system transfer function become:The corresponding Routh array is: 1 Kp+ab a+b Ki 0 Ki For stability, we have For anot

10、her consideration, we need to put the break point of root locus to the shadow area in Figure 4-1 to ensure the dominant poles placed on the left of s=-2.66 line.In all, the specification is equal to a PI controller with limit below.4.2 Design process:4.2.1Controller verification:At the very beginnin

11、g, we take the system with G(s)= and the controller (provided by the book) with for an initial discussion. Figure 4-2 step response( a=2,b=8,Kp=33,Ki=66) Figure 4-3 ramp response( a=2,b=8,Kp=33,Ki=66)From figure 4-2, we can see that the overshoot is 4.75%, and the settling time is 1.04 s with zero e

12、rror to the step input.From figure 4-3, it is clear that the ramp steady-state error is a little less than 25%.Thus, the controller with completely meets the specification .4.2.2further analysis:For next procedure, I will have some more specific discussion about the applicable range of this controll

13、er to see how much can a and b vary yet allow the system to remain stable.We dont change the parameter of the controller, and insert the Ki=66, Kp=33 into the inequality and get this:If we suppose the system to be a minimum phase system, a,b0, thus it is easy to verify the 3rd inequality. Now, we dr

14、aw to see the range of a and b. Figure4-4 the range of a,b for controller(Kp=33,Ki=66)Actually, the shade area can not completely meets the specification, for the constraint conditions represented in the 3 inequality is not enough, we need to draw the root locus for a certain system(a and b) to loca

15、te the actual limit for controller.However, this task is rather difficult, in a way, the 4 variables (a,b,Ki,Kp) all vary in terms of others change . Thus we can approximately locate the range of a and b from the figure above.4.2.3 Alternatives discussion:According to inequality ,The range of a and

16、b bear some relation with the inequality below:Basing our assumption on the range in the previous discussion, we can easily see that in order to increase the range, we can increase Ki and decrease the ratio of Ki to Kp.Thus, I adjust the parameter to Figure4-5 the range of a,b for controller(Kp=64,K

17、i=80)As the figure indicate, (the range between dotted lines refers to the previous controller, while the range between red lines refers to the new alternatives), the range increase as we expect.Next step, we may keep the system of G(s)= fixed, and discuss the different compensating effect of differ

18、ent PI parameter.When carefully checking the controller, we may find that the controller actually add a zero( -Ki/Kp) , an integral part and a gain part, so we can only change the zero and draw the locus root and examine the step response and ramp response.: Figure4-6 the root locus ()Using rlocfind

19、, we find the maximum Kp=34.8740So we choose 3 groups of parameter (35,52.5,30.45,25,37.5) to examine the reponse Figure4-7 the step response (Its clear that the step response preference is not satisfying with too long settling time Figure4-8 the root locus (Using rlocfind, we find the maximum Kp=34

20、.3673So we choose 3 groups of parameter to examine the response and ramp response. Figure4-9 the step response ( Figure4-10 the ramp response ( Figure4-11 the root locus (Using rlocfind, we find the maximum Kp=31.47Similarly, we choose 3 groups of parameter to examine the response and ramp response.

21、 Figure4-12 the step response ( Virtually, the overshoot (Kp=30, Ki=75) doesnt meet the specification as we expect. I guess, that may come from the effect of zero(-2.5), thus , go back to the step response of, due to the elimination between zero(-2) and poles, thus the preference is within our expec

22、tation. Figure4-13 the ramp response (5.Compare and ConclusionMainly from the step response and ramp response, it can be concluded that, in a certain ratio of Ki to Kp, the larger Kp brings smaller ramp response error, as well as larger range of applicable system. Nevertheless, the larger Kp means w

23、orse step response preference(including overshoot and settling time).This contradiction is rather common in control system. In all, to get the most satisfying preference, we need to balance all the parameter to make a compromise, but not a single parameter.From what we are talking about, we find the

24、 controller provided by the book(Kp=33, Ki=66) may be one of the best controller in comparison to some degree, with satisfying step response and ramp response preference, as well as a wider range for the variation of a and b, further, it use a zero(s=-2) to transfer the 3rd order system to 2nd order

25、 system, in doing so, we may eliminate some unexpected influence from the zero.The controller verified above (in Figure4-9 and Figure 4-10) with Kp=34, Kp=68 may be a little better, but only a little, and it doesnt leave some margin.6.After Design这是一次艰难,且漫长的大作业,连续一个星期,每天忙到晚上3点,总算完成了这个设计,至少我自己是很满意的。其

26、实与其说是大作业,不如说就是一次课程设计。运用所学的自控知识,加上matlab操作知识,去探究了一下用根轨迹法去研究校正的问题。这次选题很多,有超前滞后校正,有状态反馈校正,但这两种在前不久的自控实验中都已经做过,所以这一次挑战一下自己,选择这个根轨迹法来做。一开始觉得这个选题并不难,而且书上也要代码等,但真正做起来,发现很有点棘手。由于题目中要求研究某种控制器对某些系统的校正能力,相当于PI控制器中的Kp,Ki和系统中的两个极点全是变化的。 一段时间琢磨和不断仿真试验后,我决定换个角度去思考,分别控制系统不变和控制器不变,去研究控制器的控制范围,以及各种控制器对一个特定系统的矫正效果,最后在

27、通过比较分析论证。题目要求找到一个适用范围更广的控制器,但经过我不断摸索,证明出课后题中所给控制器已经是最优解了,再优的也只是提高一点点的极限值,虽然我没有找到更优解了,但这个过程中我充分了解到设计和探究的步骤,不管结果是否正确,我在这个探究过程中收获颇多。7.hold offclgn=1; d=1 10 16;tau=2.5;nc=1 tau; dc=1 0;num,den=series(n,d,nc,dc);rlocus(num,den)hold onplot(-2.66 -2.66,-20 20);z=0.69;plot(0 -20*z,0 20*sqrt(1-z2),0 -20*z,0

28、 -20*sqrt(1-z2)gridrlocfind(num,den)% draw the root locus%Appendix:a=0:0.01:20;b=6.57-a;c=0:0.10:20d=20./cplot(a,b,c,d)%plot the inequality%Kp=30;Ki=75;nc=Kp Ki;numa,dena=series(n,d,nc,dc);g=tf(numa,dena)f=feedback(g,1);h=f*tf(1,1,0);step(h), gridhold on;t=0:100;plot(t,t,r-);% ramp response%na,da=cl

29、oop(numa,dena);step(na,da), grid%step response%8.Reference:1)Robert H. Bishop,Modern Control System Analysis And Design Using MATLAB And Simulink,Beijing:Tsinghua University Press,2003,122)胡寿松,自动控制原理(第五版),北京:科学出版社,2007,63)胡寿松,自动控制原理简明教程(第四版简明版),北京:科学出版社,2003, 44)张德丰,Matlab Simulink 建模与仿真,北京,电子工业出版社,2009,3

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1