matlab 直流电机控制

matlab 直流电机控制

ID:42578441

大小:162.03 KB

页数:12页

时间:2019-09-18

matlab 直流电机控制_第1页
matlab 直流电机控制_第2页
matlab 直流电机控制_第3页
matlab 直流电机控制_第4页
matlab 直流电机控制_第5页
资源描述:

《matlab 直流电机控制》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、matlab白瞳ThisexampleshowsthecomparisonofthreeDCmotorcontroltechniquesfortrackingsetpointcommandsandreducingsensitivitytoloaddisturbances:§feedforwardcommand§integralfeedbackcontrol§LQRregulationSee"GettingStarted:BuildingModels"formoredetailsabouttheDCmotormod

2、el.ContentsProblemStatementInarmature-controlledDCmotors,theappliedvoltageVacontrolstheangularvelocitywoftheshaft.ThisexampleshowstwoDCmotorcontroltechniquesforreducingthesensitivityofwtoloadvariations(changesinthetorqueopposedbythemotorload).Asimplifiedmodel

3、oftheDCmotorisshownabove.ThetorqueTdmodelsloaddisturbances.Youmustminimizethespeedvariationsinducedbysuchdisturbances.Forthisexample,thephysicalconstantsare:R=2.0;%OhmsL=0.5;%HenrysKm=0.1;%torqueconstantKb=0.1;%backemfconstantKf=0.2;%NmsJ=0.02;%kg.m^2/s^2Firs

4、tconstructastate-spacemodeloftheDCmotorwithtwoinputs(Va,Td)andoneoutput(w):h1=tf(Km,[LR]);%armatureh2=tf(1,[JKf]);%eqnofmotiondcm=ss(h2)*[h1,1];%w=h2*(h1*Va+Td)dcm=feedback(dcm,Kb,1,1);%closebackemfloopNote:Computewiththestate-spaceformtominimizethemodelorder

5、.NowplottheangularvelocityresponsetoastepchangeinvoltageVa:stepplot(dcm(1));Right-clickontheplotandselect"Characteristics:SettlingTime"todisplaythesettlingtime.FeedforwardDCMotorControlDesignYoucanusethissimplefeedforwardcontrolstructuretocommandtheangularvel

6、ocitywtoagivenvaluew_ref.ThefeedforwardgainKffshouldbesettothereciprocaloftheDCgainfromVatow.Kff=1/dcgain(dcm(1))Kff=4.1000Toevaluatethefeedforwarddesigninthefaceofloaddisturbances,simulatetheresponsetoastepcommandw_ref=1withadisturbanceTd=-0.1Nmbetweent=5and

7、t=10seconds:t=0:0.1:15;Td=-0.1*(t>5&t<10);%loaddisturbanceu=[ones(size(t));Td];%w_ref=1andTdcl_ff=dcm*diag([Kff,1]);%addfeedforwardgaincl_ff.InputName={'w_ref','Td'};cl_ff.OutputName='w';h=lsimplot(cl_ff,u,t);title('Setpointtrackinganddisturbancerejection')le

8、gend('cl_ff')%Annotateplotline([5,5],[.2,.3]);line([10,10],[.2,.3]);text(7.5,.25,{'disturbance','T_d=-0.1Nm'},...'vertic','middle','horiz','center','color','r');Clearlyfeedforwardcontrol

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。