版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ComputerControlSystemDesign-2PresentedBy:MJunaidKhan
AssociateProfessor,Dept.ofElectronicandPowerEngineeringcontactjunaidationalUniversityofScienceandTechnologyPakistan1ContentsReviewoflastlectureDesignbyEmulation-IndirectDesignMethodMethodstoDiscretizeContinuousControllerForwardRectangularRuleBackwardRectangularRuleTrapezoidalRuleBilinearORTustin’sTransformationZOHEquivalent–StepInvarianceMethodPoleZeroMapping–MatchedPoleZeroMappingBilinearTransformationwithFrequencyPre-warpingAnalyzingPerformanceofDiscreteSystemNumericalIntegrationMethods2Review-
TwoWaystoDesignaDigitalControllerIndirectDesign:
Firstdesignacontinuous
time
controllerandthendiscretizeit usingsomediscretization
techniquetoobtainanequivalent digitalcontroller.DirectDesign:
Discretizetheplantfirsttoobtainadiscrete-timesystemand thenapplydigital
controlsystemdesigntechniquesIndirectDesignDirectDesign3Review-
StrategyofIndirectDesignHavingacontinuoustransferfunctionD(s),findthebestdiscreteequivalentD(z)usinganysuitablemethodofconversion.Judgetheeffectivenessofthedigitaldesignbycomparingit’sfrequencyresponsewiththatofD(s)SelectedsamplingfrequencyiskepthigherthanfrequencyoftheinputsignalsForinputsignalswhichareathighfrequencyi.e.approachingtheNyquistrate(fs/2)orfoldingfrequency,thefidelityofD(z)comparedwithD(s)willdeteriorate.Thismeansthat:
ifthesamplingfrequency‘fs’islessthandoubleofsignalfrequency,theperformanceofD(z)willbebad.4Review-
DiscreteApproximationsForwardRectangularRule:
Itissimpletoapply,butastablesystemcanbecomeunstable,soitisimpracticaltousethisapproximation.BackwardRectangularRule
:Astablesystemwillresultinastablesystem,buttherearelargedistortionsindynamicresponseandfrequencyresponsepropertiesTrapezoidalRule
:Astablesystemwillremainstable,howeveritcancausefrequencydistortionorwarping.Frequencypre-warpingcandecreasethedistortioninfrequencyresponse.5Review-DiscreteApproximations
RemarksForwardRectangularRuleisnotusedinpracticalapplications.BackwardRectangularRulealwaysmapsastablecontinuouscontrollertoastablediscretecontroller.However,someunstablecontinuouscontrollercanalsobetransformedintostablediscretecontrollersThebilineartransformation(trapezoidalorTustin’sapproximation)mapsthelefthalfsplaneintotheunitdisc.Hence,stablecontinuouscontrollersareapproximatedbystablediscretecontrollersandunstablecontinuouscontrollersaremappedtounstablediscretecontrollersInpractice,theTustin’sapproximation(bilineartransformation)istheapproximationofchoiceforconvertingcontinuous-timecontrollerstodiscrete-timecontrollers.Infact,somecomputer-aidedprograms(e.g.MATLAB)don’tevenhavetheoptiontoapproximatewithforwardorbackwarddifferencemethods6IndirectdesignmethodStrategies:1.EmulationbyZOHEquivalent-Step-invariancemethod
Thismethodsimplyassumesthatthesignalenteringthemicroprocessorisconstantoverthesamplingtime(thefunctionoftheZOHDAContheoutputsignal)7Indirectdesignmethod
ZOHEquivalentorStep-invariancemethodConvertD(s)to(D(z)(suitableforimplementationonamicroprocessor)basedonasamplingtimeof0.1secondbyZOHmethod.Example…8Indirectdesignmethod
ZOHEquivalentorStep-invariancemethodRemarks:
1.Astablesystemwillremainstable2.Frequencyfoldingphenomenamayoccur,butthankstothelow-passcharacteristicsoftheZOH,itisalittlebetter.3.Complexcomputationforlarge-scalesystems4.Steady-statevalueisinvariant,i.e., G(s)|s=0=H(z)|z=19Indirectdesignmethod2.PoleandZeroMappingSinceeverypoleandzeroofD(s)inthes-planehasitsequivalentpositioninthez-planethroughthemapping:thenitsseemsreasonabletoformD(z)fromD(s)bymappingthepositionsofthepolesandzeroesinterms's'topositionsinthez-planeusingequationsabove.AsimpleexamplewilldemonstratetheMethod.IfThenthepositionsofthefinitepolesandzeroesofD(s)are:10Indirectdesignmethod2.PoleandZeroMappingUsingthemapping,thesemaptopositionsinthes-planegivenby:ThusD(z)isgivenby:ThevalueofK'isselectedtoensurethegainofD(s)andD(z)arethesameatsomespecificfrequency,usuallyzerofrequency(DCgain).TheDCgaininthes-planeisdeterminedwhens=0andinthez-planewhenz=111IndirectdesignmethodPoleandZeroMappingThusforequalDCgain:Andthustheequivalenttransferfunctionisgivenby:12IndirectdesignmethodThisisapopularmethodandhasavalidrational,andfortransferfunctionswithasmanyzeroesaspolesinD(s)itisareasonableapproach.Howeverinmanycontrollertransferfunctionsthisisnotthecase.Forexamplethetransferfunction:Ithastwopoless=0andbandtwozeroess=aand∞.Thedifficultyismappingthesat∞.Somedesignersplaceitatz=0andsomeatz=-1whichbecauseofthenatureofthez-plane(duetothepeculiarnatureofthemappingequations)arebothreasonabledecisions.However,thisisnotverysatisfactoryandevenwithoutthisproblemthemethoddoesnotalwaysworkPoleandZeroMapping13IndirectdesignmethodExample2…Obtainanexpressionforthecontrollerindiscreteformusingthepole/zeromappingmethod.Expressyouranswersinrecursiveformsuitableforimplementationonamicroprocessor.PoleandZeroMapping14IndirectdesignmethodTheBilinearorTustin'sTransformationInsteadofassumingtheinputsignalisheldconstantbetweensamples(theZOHmethod),thismethodassumesthattheprocessismoreaccurateifastraightlinebetweensuccessivesamplesoftheinputisconsidered(sameasinTrapezoidalMethod)andisabetterapproximationtowhatishappeningbetweensamplesasshownbelow:15IndirectdesignmethodTheBilinearorTustin'sTransformationTustinsuggestedthatforthesampledsystemtheprocessofsignalintegrationcanbeapproximatedby:Intheaboveyrepresenttheintegralofx.Takingthez-transformoftheaboveandre-arrangingintotransferfunctionformgives:16IndirectdesignmethodTheBilinearorTustin'sTransformationIntegrationincontinuoussystemsisrepresentedbytheLaplacetransferfunction1/s
,hencethemappingfromthes-domaintothez-domainisapproximatedby:yrepresenttheintegralofx.Takingthez-transformoftheaboveandRe-arrangingintotransferfunctionformgives:17IndirectdesignmethodTheBilinearorTustin'sTransformationThisEquationisTustin'smappingandtheideaisthateverywheresappearsinD(s),theequationissubstitutedforit.18Indirectdesignmethod
Designexample:19Indirectdesignmethod
Designexample:20Indirectdesignmethod
Designexample:CalculatingdesiredcontrollerparametersTheclosed-looptransferfunctionofthecruisecontrolsystemwiththePIcontrollaw,i.e.,21Indirectdesignmethod
Designexample:VerificationthroughSIMULINKTheclosed-looptransferfunctionofthecruisecontrolsystemwiththePIcontrollaw,i.e.,22Indirectdesignmethod
Designexample:Digitalcontrollerwithasamplingrate30timesthebandwidth23Indirectdesignmethod
Designexample:Digitalcontrollerwithasamplingrate6timesthebandwidth24SummaryIndirectDigitalcontrollerdesigncanbeobtainedasfollows: Approximationusingforwardrectangularrule
Approximationusingbackwardrectangularrule
DesignbyEmulationwithZOH
Designthroughpole-zeromapping
DesignUsingBilinearTransformationThemethodoftransformationplaysasignificantroleintheperformanceoftheobtaineddigitalsystemChoiceofsamplingtime/frequencyplaysamajorroleintheperformanceoftheobtaineddigitalsystem25Indirectdesignmethod
FrequencyWarpinginBilinearTransformationNotethattheentire
axismapsintoonecompleterevolutionoftheunitcircle.
(mapsaxisintoinfinitenumberofrevolutionsoftheunitcircle)Bilinearand
transformationshaveconsiderabledifferencesbetweenthemintheirtransientandfrequencyresponsecharacteristics.26Indirectdesignmethod
FrequencyWarping-DefinitionFrequencywarpingtransformationisaprocesswhereonespectralrepresentationonacertainfrequencyscale(e.g.,z,s-domain)andwithacertainfrequencyresolution(mostoftenuniform)istransformedtoanotherrepresentationonanewfrequencyscale.Thenewrepresentationhasauniformfrequencyresolutiononthenewscale-however,ithasanon-uniformresolutionwhenobservedfromtheoldscale.Thewarpingfunctiondefineshowindividualfrequencycomponentsanddifferentfrequencyrangesaremappedonthenewscale.Italsodefineshowtheresolutionofthenewrepresentationisallocated,i.e.whichrangesintheoriginalrepresentationarecompressed(shrinked,resolutionreduced)andwhichexpanded(stretched,resolutionincreased).27Indirectdesignmethod
FrequencyWarpingFrequencyWarping
Itiseasytocheckthatthebilineartransformgivesaone-to-one,order-preserving,conformalmapbetweentheanalogfrequencyaxis
andthe
digitalfrequencyaxis
,where
isthesamplinginterval.Therefore,theamplituderesponsetakesonexactlythesamevaluesoverbothaxes,withtheonlydefectbeingafrequencywarpingsuchthatequalincrementsalongtheunitcircleinthe
planecorrespondtolargerandlarger
bandwidthsalongthe
axisinthe
plane.Somekindoffrequencywarpingisobviouslyunavoidableinanyone-to-onemapbecausetheanalogfrequencyaxisisinfinitewhilethedigitalfrequencyaxisisfinite.Therelationbetweentheanaloganddigitalfrequencyaxesmaybederivedimmediately28Indirectdesignmethod
FrequencyWarpingForFrequencypre-warping,thecontinuoustimefilterisUsingbilinear/Tustintransformation,transferfunctioninz-domainisSetComparingfrequencyresponsesThisshowsthefrequencydistortionorwarping29NowifisverysmallAndifTheresponsesareequalwhenalsocalledpre-warpingequalityIndirectdesignmethod
FrequencyWarping30Indirectdesignmethod
FrequencyPre-WarpingProcedureforpre-warping1.
Warpthefrequencyscalebeforetransforming2.
TransformusingBilinear31Indirectdesignmethod
FrequencyPre-WarpingExampleAssumethattheintegrator
hastobeimplementedasadigitalfilterUsingBilinearTransformationPre-warpinggivesThefrequencyfunctionofisgivenby:32Indirectdesignmethod
FrequencyPre-WarpingExampleAssumethattheintegrator
hastobeimplementedasadigitalfilterUsingBilinearTransformationwithpre-warpingThefrequencyfunctionAt:Thedistortioninthefrequencyresponsecanbecorrectedatasinglefrequencyusingthepre-warpingequality33Indirectdesignmethod
FrequencyPre-WarpingRemarks1.Thepre-warpingequalityisgivenby3.Thechoiceofpre-warpingfrequencydependsonthemappedfilter4.Incontrolapplications,asuitablechoiceofisthe3-dBfrequencyforaPIorPDcontrollerandtheupper3-dBfrequencyforaPIDcontroller5.InMATLAB,thebilineartransformationisaccomplishedusingthefollowingcommand>>Gd=c2d(Gc,T,‘tustin’)6.Ifpre-warpingisrequestedatafrequencyw,thenthecommandis:>>Gd=c2d(Gc,T,‘prewarp’,w)2.Thedistortioninthefrequencyresponsecanbecorrectedatasinglefrequencyusingthepre-warpingequality34EquivalentDiscreteTimeFiltersforaContinuousTimeFilterMappingMethodMappingEquationEquivalentDiscreteTimeFiltersfor
ForwardRectangularRule
NotrecommendedBackwardRectangularRuleTrapezoidalRuleBilinear/Tustin35EquivalentDiscreteTimeFiltersforaContinuousTimeFilterMappingMethodMappingEquationEquivalentDiscreteTimeFiltersforBilinear/TustinBilinearwithfrequencyprewarpingZOHEquivalentorStepInvarianceMatchedPoleZeroMappingApole/zeroats=-aismappedtoAninfinitepole/zeroismappedtoz=-1
36Example1:bode(1,[11])holdondbode([11],[3-1],1)Indirectdesignmethod37Example2:sys_c=tf([119],[129]);s
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 银行资金调配指南
- 防水工程维护设计合同
- 环保设施三方施工合同
- 医疗保健中心租赁合同模板
- 2024年资产托管经营合同3篇
- 2024年防水工程培训分包协议3篇
- 山东省农业设施装修工程合同模板
- 2025油漆采购合同2
- 2025年度环境风险评估与监测合同书模板
- 2024年度工程贷款担保合同3篇
- 科研年终总结汇报
- 汽车维修安全应急预案范文(5篇)
- 2024-2030年中国清洁供热行业发展趋势与投资前景预测报告版
- 2025届上海市交大附中嘉定分校物理高二上期末达标检测试题含解析
- 2024年不锈钢门安装协议
- 放飞心灵 激扬青春-中职生心理健康学习通超星期末考试答案章节答案2024年
- 基于OBE理念的课程目标、毕业要求及培养目标达成度评价
- 不良反应事件及严重不良事件处理的标准操作规程药物临床试验机构GCP SOP
- 2024年6月浙江高考历史试卷(含答案解析)
- 2024年知识竞赛-少先队知识竞赛考试近5年真题附答案
- 劳动合同(模版)4篇
评论
0/150
提交评论