BallandBeamDynamics文档格式.docx

上传人:b****6 文档编号:17302433 上传时间:2022-12-01 格式:DOCX 页数:7 大小:86.47KB
下载 相关 举报
BallandBeamDynamics文档格式.docx_第1页
第1页 / 共7页
BallandBeamDynamics文档格式.docx_第2页
第2页 / 共7页
BallandBeamDynamics文档格式.docx_第3页
第3页 / 共7页
BallandBeamDynamics文档格式.docx_第4页
第4页 / 共7页
BallandBeamDynamics文档格式.docx_第5页
第5页 / 共7页
点击查看更多>>
下载资源
资源描述

BallandBeamDynamics文档格式.docx

《BallandBeamDynamics文档格式.docx》由会员分享,可在线阅读,更多相关《BallandBeamDynamics文档格式.docx(7页珍藏版)》请在冰豆网上搜索。

BallandBeamDynamics文档格式.docx

a.ModeloftheangleprocesswithrespecttothemotorvoltageHφ(s)

b.ModeloftheballpositionwithrespecttothebeamangleHx(s)

Thetotaltransferfunctionfromtheinputvoltagetothevoltagethatindicatestheballpositionisthen

3.MathematicalModelDerivation

a.Modelofbeamanglevs.inputvoltage

TherelationshipbetweentheinputvoltageandtheangleofthebeamisdefinedbytheDCmotortransferfunction.TheDCmotor,usedforanglecontrolapplicationmaybethoughtofasthe‘dirtyintegrator’ortheintegratorwithafilteractionasshowninfigure1onthenextpage.

Figure1:

GeneralDCmotorblockdiagramforanglecontrolapplication

TheKisthemotorconstantandthetauisthemotortimeconstant.Theactualmodelofthemotorusedfortheprojectisshowninfigure2.

Figure2:

ActualblockdiagramoftheDCmotorused

Themeasuredconstantsaresummarizedbelow:

ThereforetheDCmotortransferfunctionbecomes

Modelofballpositionvs.beamangle

Considerthefollowingsketch

Figure3:

Rollingballfree-bodydiagram

Theinclinationisconsideredthex-coordinate.

Letaccelerationoftheballbedenotedas

Theforceduetotranslationalmotionisthen

Thetorquedevelopedthroughballrotationisdeterminedbytheforceattheedgeoftheballmultipliedbytheradiuswhichcanbefurtherexpressedas:

where

J=momentofinertia(forsolidballdefinedbyJ=2/5*mR2)

Wb=angularvelocityoftheball

Vb=speedoftheballalongxaxis

Theequationisarrangedsuchthatthefinalresultisexpressedsolelyintermsofpositionoritsderivativesaswellasvariablesassociatedwiththeball.

Wenowobtaintherotationalforcebydividingtorqueoftheballbyitsradius

substitutingthemomentofinertiaintotheequationweget

Inordertomakethesystemindependentofthemassoftheballwefurtherexpresstheaboveequationsas

rearrangingforx’’gives

weutilizeapproximation

sincetheangleofthebeamwillnotexceed20-30degreeinclination.Thismeansthatinradians,sineoftheangleisapproximatelytheangleitself,sotheequationisfurtherapproximatedas

takingLaplacetransformofpositionwithrespecttoangle(detailsomitted)gives

Theconstantinthenumeratorisatheoreticalconstantthatneglectssurfaceimperfectionsandfriction.Themeasuredconstantisapproximately0.91therefore

Nowtheoveralltransferfunctionofthesystembecomes

where,10.5isanapproximatedconstant.

Theblockdiagramoftheoverallsystemis

Figure4:

Entiresystemblockdiagram

TheMATLABprovideseasyconversionofthesystemintostatespace.

>

num=[000010.5];

den=[0.41000];

[A,B,C,D]=tf2ss(num,den)

TheLQRcontrolcanbeimplementedbychoosingQandRvalues.Thecontrollabilityisverifiedfirstasfollows:

rank(ctrb(A,B))

ans=

4

Thisindicatesthattheballandbeamsystemiscompletelystatecontrollable.NextweselectQandRandcalculateforcontrollergainsinMATLAB.Weget

Q=[10000;

01000;

00100;

00010];

R=1;

[K,S,E]=lqr(A,B,Q,R)

K=

3.604810.50918.74443.1623

 

S=

10.509155.411150.220519.3050

8.744450.220572.591333.2327

3.162319.305033.232727.6524

E=

-3.9559

-0.9059

-0.6215+0.7044i

-0.6215-0.7044i

Wecanseethatthegainvaluesarereasonableandthereforetheactualsystemmayperformwell.

Thesimulationinsimulinkisdoneusingthefollowingblockdiagram:

Figure5:

Simulinkstatespacemodel

TheScopemeasurestheoutputwhiletheScope1monitorsthecontroleffort.Thesnapshotsareasshowninfigures6and7.

Figure6:

OutputconvergingfromIC

Figure7:

Controleffort

Theinitialconditionwassetto10cmfromthecentreatanangleof5.7degrees.Itiscanbeseenthatthesystemconvergesveryslowly.

Thestatevariablesare:

-angularacceleration

-angleofthebeam

-ballacceleration

-positionoftheball

Thepositionandtheanglecanbemeasureddirectlywithsensorswhiletheangularaccelerationandtheballaccelerationwillhavetobemathematicallyestimated.ThecontrolvoltageVisthen

(注:

可编辑下载,若有不当之处,请指正,谢谢!

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 其它课程

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

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