Základní zobrazení
PIDregulátor(ProportionIntegrationDiferenciation.ProportionIntegrationDiferenciation.Proportion-Integral-DerivativeController),skládající se zproporcionálníjednotkyP.integrálníjednotky,aderivačníjednotkyKhrsloženíKhrpsestavení paraTmetru. jsou vhodné zejména pro systémy, jejichž základní lineární a dynamické vlastnosti se časem nemění.
PIDcontrollerisacommonfeedbackloopcomponentinindustrialcontrolapplications.Thiscontrollercomparesthecollecteddatawithareferencevalue,andthenusesthisdifferencetocalculateanewinputvalue.Thepurposeofthisnewinputvalueistoallowthesystemdatatoreachormaintainthereferencevalue.Differentfromothersimplecontrolcalculations,PIDcontrollercanadjusttheinputvalueaccordingtohistoricaldataandtheoccurrencerateofdifference,whichcanmakethesystemmoreaccurateandmorestable.ItcanbeprovedbymathematicalmethodsthataPIDfeedbackloopcankeepthesystemstablewhenothercontrolmethodsleadtosystemstabilityerrorsorprocessrepetitions.
Zpětná vazba
Řídicí smyčka se skládá ze tří částí:
Themeasurementresultsobtainedbythesystem’ssensors,thecontrollermakesthedecisionandreactsthroughanoutputdevicetocontrolThedeviceobtainsthemeasurementresultfromthesensor,andthensubtractsthemeasurementresultfromthedemandresulttogettheerror.Thenusetheerrortocalculateacorrectionvaluetothesystemastheinputresult,sothatthesystemcaneliminatetheerrorfromitsoutputresult.
InaPIDloop,therearethreealgorithmsforthiscorrectionvalue,eliminatingerrors,averagingpasterrors,andpredictingfutureerrorsthroughchangesinerrors.
Forexample,ifawatertankisprovidingwaterforaplant,thewaterinthistankneedstobekeptatacertainheight.Asensorwillbeusedtochecktheheightofthewaterinthetank,sothatthemeasurementresultisobtained.Thecontrollerwillhaveafixeduserinputvaluetoindicatetherequiredwatersurfaceheightofthewatertank,assumingthisvalueistomaintain65%ofthewatervolume.Theoutputdeviceofthecontrollerwillbeconnectedtoamotor-controlledwatervalve.Openingthevalvewillfillthewatertank,andclosingthevalvewillreducetheamountofwaterinthewatertank.Thecontrolsignalofthisvalveisthevariablewecontrol,anditisalsotheinputofthissystemtokeepthewatertankfixed.
PIDcontrollercanbeusedtocontrolanyvariablethatcanbemeasuredandcontrolled.Forexample,itcanbeusedtocontroltemperature,pressure,flow,chemicalcomposition,speedandsoon.Thecruisecontrolfunctiononacarisanexample.
SomecontrolsystemsconnectseveralPIDcontrollersinseries,orchainthemintoanetwork.Inthiscase,amaincontrollermayoutputresultsforothercontrols.Acommonexampleisthecontrolofmotors.Wewilloftenneedthemotortohaveacontrolledspeedandstopatacertainposition.Inthisway,asub-controllermanagesthespeed,butthespeedofthissub-controllerismanagedbythemaincontrollerthatcontrolsthepositionofthemotor.
Combinationandseriescontrolareverycommoninchemicalprocesscontrolsystems.
Theory
PIDisnamedafteritsthreecorrectionalgorithms.Allthreealgorithmsuseadditiontoadjustthecontrolledvalue.Infact,mostoftheseadditionoperationsbecomesubtractionoperationsbecausetheaddendisalwaysnegative.Thesethreealgorithmsare:
Proporce – Pro kontrolu aktuální, chybové hodnoty násobené zápornou konstantouP (proporce) a poté předem určenéPřidejte hodnoty ,rozsah stupnice ovladače elektrického ohřívače je 10° C a její předem určená hodnota je 20 °C.Nit bude na výstupu 100 % při 10 °C, 50 % při 15 °C a 10 % při 19 °C. Všimněte si, že když je chyba 0, je výstup řídicí jednotky také0.
Integration-Tocontrolthepast,theerrorvalueisthesumoftheerrorsinthepastperiodoftime,andthenmultipliedbyanegativeconstantI,andthencomparedwiththepredeterminedvalueadd.IFindtheaverageerrorbetweentheoutputresultofthesystemandthepredeterminedvaluefromtheaverageerrorvalueinthepast.Asimpleproportionalsystemwilloscillateandchangebackandfortharoundapredeterminedvaluebecausethesystemcannoteliminateredundantcorrections.Byaddinganegativeaverageerrorratiovalue,theaveragesystematicerrorvaluewillalwaysdecrease.Therefore,intheend,thePIDloopsystemwillbesetatapredeterminedvalue.
Derivace-Chcete-li kontrolovat budoucnost, vypočítejte první derivaci chyby, vynásobte ji zápornou konstantouD a nakonec přidejte předurčenou hodnotu. Kontrola této derivace bude reagovat na změny v systému. Větší výsledek z tohoto odvozeného systému bude dánodvodit. také proto, že se PID nazývá předvídatelný regulátor.D parametr je velmi nápomocný ke snížení krátkodobé změny regulátoru.Některé pomalé systémy v praxi nemusí potřebovat parametrD. Z profesionálnějších termínů může být regulátor PID nazýván filtrem v systému frekvenční domény. Řídicí systém bude opakovaně oscilovat, což může způsobit, že systém vždy dosáhne přednastavené hodnoty.
Zákon řízení
Přestože různé typy regulátorů mají různé struktury a principy, existují pouze tři základní zákony řízení: proporcionální (P) řízení, integrální (I) řízení a odvozené (D) řízení. částečný - integrální-derivační (PID) řízení atd.
Proporcionální (P)kontrola
Singleproportionalcontrolisalsocalled"differencecontrol",theoutputchangeisproportionaltothedeviationoftheinputcontroller,Thegreaterthedeviation,thegreatertheoutput.Inpracticalapplications,thedegreeofproportionalityshouldbedeterminedaccordingtothespecificsituation.Toolargeaproportionality,tooweakcontroleffect,isnotconducivetothesystemtoovercomedisturbances,themarginistoolarge,thecontrolqualityispoor,andthereisnocontroleffect;theproportionalityistoosmall,Thecontroleffectistoostrong,itiseasytocausethestabilityofthesystemtodeteriorateandcauseoscillation.
Forthecontrolledobjectwithsensitiveresponseandstrongamplificationability,inordertoimprovethestabilityofthesystem,theproportionalityshouldbeslightlylarger;forthecontrolledobjectwithslowresponseandweakamplificationability,theproportionalThedegreecanbeselectedtobesmallertoimprovethesensitivityoftheentiresystemandtoreducetheresidualsaccordingly.
Pureproportionalcontrolissuitableforoccasionswherethedisturbanceissmall,thehysteresisissmall,theloadchangeissmall,therequirementsarenothigh,andacertainmarginisallowed.Theuseofproportionalcontrollawinindustrialproductionismorecommon.
Proporcionální integrální (PI) řízení
Proportionalcontrollawisthemostbasicandmostcommonlyusedoneofthebasiccontrollaws.ItsgreatestadvantageisControlistimelyandrapid.Aslongasthereisadeviation,thecontrollerimmediatelytakescontrol.However,thedisadvantageofnotbeingabletofinallyeliminatetheresiduallimitsitsusealone.Thewaytoovercometheresidualistoaddintegralcontrolonthebasisofproportionalcontrol.
Theoutputoftheintegralcontrollerisproportionaltotheintegraloftheinputdeviationovertime.The"points"heremeans"accumulation".Theoutputoftheintegralcontrollerisnotonlyrelatedtothemagnitudeoftheinputdeviation,butalsorelatedtothetimethedeviationexists.Aslongasthedeviationexists,theoutputwillcontinuetoaccumulate(theoutputvalueisgettinglargerorsmaller),andtheaccumulationwillstopuntilthedeviationiszero.Therefore,integralcontrolcaneliminateresiduals.Theintegralcontrollawisalsocalledthenon-differencecontrollaw.
Thesizeoftheintegraltimecharacterizesthestrengthofintegralcontrol.Thesmallertheintegraltime,thestrongerthecontroleffect;onthecontrary,theweakerthecontroleffect.
Althoughintegralcontrolcaneliminatetheresidualerror,ithasthedisadvantageofnottimelycontrol.Becausetheaccumulationofintegraloutputisgradual,thecontroleffectitproducesalwayslagsbehindthechangeofthedeviation,andtheinfluenceofinterferencecannotbeovercomeintimeandeffectively,anditisdifficulttostabilizethecontrolsystem.Therefore,inpractice,integralcontrolisgenerallynotusedalone,butcombinedwithproportionalcontroltoformproportionalintegralcontrol.Inthisway,theadvantagesofthetwoareusedtomakeupforeachother,whichnotonlyhastherapidandtimelyeffectofproportionalcontrol,butalsohastheabilityofintegralcontroltoeliminatetheresidualerror.Therefore,proportionalintegralcontrolcanachieveamoreidealprocesscontrol.
Proportionalintegralcontrolleristhemostwidelyusedcontroller,whichismostlyusedinthecontrolsystemofliquidlevel,pressure,flow,etc.inindustrialproduction.Sincetheintroductionofintegralactioncaneliminatetheresidualerror,makeupfortheshortcomingsofpureproportionalcontrol,andobtainbettercontrolquality.Buttheintroductionofintegralactionwillmakethestabilityofthesystemworse.Forcontrolsystemswithlargeinertialag,trytoavoidusingthem.
Kontrola proporcionální derivace (PD)
Proportionalintegralcontrolisnotidealforthecontrolledobjectwithtimelag.Theso-called"timelag"refersto:whenthecontrolledobjectisdisturbed,thecontrolledvariabledoesnotchangeimmediately,butthereisatimedelay,suchasacapacitylag,whentheproportionalintegralcontrolappearssluggishanduntimely.Forthisreason,peopleimagined:Canthecorrespondingcontrolactionbemadeaccordingtothechangingtrendofthedeviation?Justlikeexperiencedoperators,theycanchangethevalveopeningaccordingtothemagnitudeofthedeviation(proportionaleffect),andcanpredictthesituationthatwilloccuraccordingtothespeedofthedeviationchange,andcarryoutexcessivecontrolinadvanceto"preventproblemsbeforetheyoccur.".Thisisthedifferentialcontrollawwith"advanced"controlfunction.Theoutputofthederivativecontrollerdependsonthespeedatwhichtheinputdeviationchanges.
Thedifferentialoutputisonlyrelatedtothechangespeedofthedeviation,andhasnothingtodowiththesizeofthedeviationandwhetherthedeviationexistsornot.Ifthedeviationisafixedvalue,nomatterhowlarge,aslongasitdoesnotchange,theoutputchangemustbezero,andthecontrollerhasnocontroleffect.Thelongerthederivativetime,thelongerthederivativeoutputismaintained,sothestrongerthederivativeaction;otherwise,theweaker.Whenthederivativetimeis0,thereisnoderivativecontroleffect.Inthesameway,theselectionofthedifferentialtimealsoneedstobedeterminedaccordingtotheactualsituation.
Thecharacteristicsofthedifferentialcontrolfunctionare:rapidaction,withadvancedadjustmentfunction,whichcaneffectivelyimprovethecontrolqualityofthecontrolledobjectwithalargetimelag;butitcannoteliminatetheresidual,especiallyfortheconstantdeviationinputThereisnocontroleffectatall.Therefore,thedifferentialcontrollawcannotbeusedalone.
Thecombinationofproportionalanddifferentialactionisfasterthanpureproportionalaction.Especiallyforobjectswithlargecapacitylag,theamplitudeofdynamicdeviationcanbereduced,controltimecanbesaved,andcontrolqualitycanbesignificantlyimproved.
Řízení PID
Themostidealcontrolistheproportional-integral-derivativecontrollaw.Itcombinestheadvantagesofthethree:boththeproportionalactionistimelyandrapid,theintegralactioncaneliminatetheresidualerror,andthedifferentialactionhastheadvancedcontrolfunction.
Whenthedeviationstepoccurs,thederivativewillactimmediatelytosuppressthisleapofdeviation;theratioalsoplaysaroleineliminatingthedeviation,sothatthedeviationrangeisreduced,becausetheproportionaleffectislastingandeffective.Themaineffectofthecontrollaw,sothatthesystemcanbemorestable;andtheintegraleffectgraduallyovercomestheresidualerror.Aslongasthecontrolparametersofthethreefunctionsareselectedproperly,theadvantagesofthethreecontrollawscanbefullyutilizedandamoreidealcontroleffectcanbeobtained.
Metoda ladění
Úprava proporcionálního koeficientu
Rozsah úpravy proporcionálního koeficientu Pi je obecně 0,1--100.
Ifthegainvalueis0.1,thePIDregulatoroutputchangestoone-tenthofthedeviationvalue.Ifthegainvalueis100,theoutputofthePIDregulatorchangestoonehundredtimesthedeviationvalue.
Itcanbeseenthatthelargerthevalue,thegreaterthegaineffectproducedbytheratio.Intheinitialadjustment,chooseasmallervalue,andthenslowlyincreaseituntilthesystemfluctuationissmallenough,andthenadjusttheintegralordifferentialcoefficient.AtoolargePvaluewillcausethesystemtobeunstableandcontinuetooscillate;atoosmallPvaluewillmakethesystemunresponsive.Theappropriatevalueshouldenablethesystemtohavesufficientsensitivitybutnottoosensitive.Thedelayforacertainperiodoftimeshouldbeadjustedbytheintegrationtime.
Adjustmentoftheintegralcoefficient
Thedefinitionoftheintegraltimeconstantisthetimethatthedeviationcausestheoutputtoincrease.Iftheintegrationtimeissetto1second,thetimerequiredfora100%outputchangeis1second.Intheinitialadjustment,settheintegrationtimelonger,andthenslowlyadjustituntilthesystemisstable.
Adjustmentofthedifferentialcoefficient
Thedifferentialvalueistherateofchangeofthedeviationvalue.Forexample,iftheinputdeviationvaluechangeslinearly,aconstantadjustmentamountissuperimposedontheoutputsideoftheregulator.Mostcontrolsystemsdonotneedtoadjustthederivativetime.Becauseonlysystemswithtimelagneedtoaddthisparameter.Ifsuperfluousandaddingthisparameter,thecontrolofthesystemwillbeaffected.Iftheidealcontrolrequirementisstillnotreceivedthroughtheadjustmentoftheproportionalandintegralparameters,thederivativetimecanbeadjusted.Intheinitialadjustment,setthiscoefficienttoasmallvalue,andthenslowlyincreaseituntilthesystemisstable.
Parametertuning
PIDcontrollerparametertuningisthecorecontentofcontrolsystemdesign.Itdeterminestheproportionalcoefficient,integraltimeandderivativetimeofthePIDcontrolleraccordingtothecharacteristicsofthecontrolledprocess.TherearemanymethodsforPIDcontrollerparametertuning,whichcanbesummarizedintotwocategories:Oneisthetheoreticalcalculationtuningmethod.Itismainlybasedonthemathematicalmodelofthesystemtodeterminethecontrollerparametersthroughtheoreticalcalculations.Thecalculateddataobtainedbythismethodmaynotbedirectlyusable,andmustbeadjustedandmodifiedthroughactualengineering.Thesecondistheengineeringtuningmethod,whichmainlyreliesonengineeringexperienceandiscarriedoutdirectlyinthetestofthecontrolsystem,andthemethodissimpleandeasytomaster,andiswidelyusedinengineeringpractice.TheengineeringtuningmethodsofPIDcontrollerparametersmainlyincludecriticalproportionmethod,responsecurvemethodandattenuationmethod.Thethreemethodshavetheirowncharacteristics.Thecommonpointisthattheypassthetest,andthenadjustthecontrollerparametersaccordingtotheengineeringexperienceformula.However,nomatterwhichmethodisused,thecontrollerparametersobtainedneedtobeadjustedandperfectedinactualoperation.Thecriticalratiomethodisgenerallyusednow.ThestepsfortuningPIDcontrollerparametersusingthismethodareasfollows:(1)First,pre-selectashortenoughsamplingperiodforthesystemtowork;(2)Onlyaddproportionalcontrollinksuntilthesystemhascriticaloscillationsinitsstepresponsetotheinput.Writedowntheproportionalamplificationfactorandcriticaloscillationperiodatthistime;(3)Underacertaindegreeofcontrol,theparametersofthePIDcontrollercanbecalculatedbyformulas.
Adaptivní ovládání
Nejprve zjistěte, co adaptivní ovládání
Intheproductionprocess,inordertoimproveproductquality,increaseoutput,saverawmaterials,productionmanagementandTheproductionprocessisalwaysinoptimalworkingcondition.Therefore,anoptimalcontrolmethodisproduced,whichiscalledadaptivecontrol.Inthiskindofcontrol,thesystemisrequiredtobeabletoautomaticallyadjustthesystemaccordingtothechangesinthemeasuredparameters,theenvironmentandthecostofrawmaterials,sothatthesystemisinthebeststateatanytime.Adaptivecontrolincludesthreelinks:performanceestimation(discrimination),decision-makingandmodification.Itisthedevelopmentdirectionofthemicrocomputercontrolsystem.However,becausethecontrollawisdifficulttograsp,therearestillsomedifficultproblemstopromote.
Addingadaptivepidcontrolbringssomeintelligentfeatures,whichcanadapttochangesinexternalconditionslikeacreature.
Existuje také systém samoučení, díky kterému je inteligentnější.
Výkon řídicí jednotky
Problémy v řízení PID
Therearedocumentsthatpointoutthat60%ofcontrollersintheactualindustryhaveperformanceproblems.Intheindustrialprocess,thereasonsforthepoorperformanceofthecontrolloopcanbeattributedtooneormoreofthefollowingsituations:1)Thecontrollerispoorlytunedandlacksmaintenance.Thereasonsforthissituationinclude:thecontrollerhasneverbeentunedoristunedbasedonamismatchmodel,oranimpropertypeofcontrollerhasbeenused.Intheindustrialprocessautomaticcontrolsystem,morethan90%ofthecontrollersarePIDtypecontrollers,evenifothercontrollersmaybeusedinsomecases,betterperformancemaybeobtained.Infact,themostcommoncauseofpoorcontrolloopperformanceisthelackofmaintenanceofthecontroller.Afteryearsofoperation,thedynamiccharacteristicsoftheactuatorandthecontrolledobjectmaychangeduetowearandotherreasons.Onlyafewengineersmaintainthecontrolloop,andoperatorsandengineersoftenlackunderstandingofthereasonsforthepoorperformanceofthecontrolloop.
2)Equipmentfailureorunreasonablestructuredesign.Poorcontrolloopperformancemaybecausedbysensororactuatorfailure(suchasexcessivefriction).Ifthedesignoftheindustrialdeviceorthecomponentsofthedeviceisnotreasonable,theproblemmaybemoreserious.Theseproblemscannotbeeffectivelysolvedbyre-tuningthecontroller.
3)Lackorinsufficientfeedforwardcompensation.Ifhandledimproperly,externaldisturbanceswilldeterioratetheperformanceoftheloop.Therefore,whenthedisturbanceismeasurable,itisrecommendedtouseFeedforvvardControl(FFC)tocompensateforthedisturbance.
4)Thecontrolstructuredesignisunreasonable.Inappropriateinput/outputpairing,ignoringthemutualcouplingbetweensystemvariables,CompetingControllers,insufficientdegreesoffreedom,strongnonlinearity,andlackofcompensationforlargetimedelaysmayallleadtocontrolstructureproblems.
Vyhodnocení výkonu řízení PID
ExistingdocumentshavepointedoutthatitisfeasibletoestimatetheminimumvariancethatcanbeachievedbyPIDcontrolwithconventionaloperatingdatainaknownprocess;forPIDcontrol,itcanbeachievedbyusingPIDAstheevaluationbenchmark,theevaluationresultsaremorereasonable;thePIDcontrollerparametersestimatedafterfittingthemodelcansignificantlyreducetheprocessoutputvariance.
Controlperformancemonitoring/assessment(CPM/CPA)forcontrolsystemsisoneofthemostconcernedresearchdirectionsintheworldofprocesscontrol.ControllerperformancemonitoringandevaluationcanbetracedbacktotheworkofAstrom(1967),DeVrieWu(1978)andothersinthe1960sand1970s;by1970,Box,Jenkins(1976),Astrominimumvariancecontrol(minimumvariancecontrol),MVC);In1989,Harris(1989)usedtheminimumvariancecontroltoevaluatethevarianceperformanceoftheSISOsystem,whichmadethisfieldhavepioneeringresultsandnewgoalsinrandomperformancemonitoringandevaluation.Sincethen,CPM/CPAtechnologyhasattractedtheattentionandresearchofalargenumberofcontroltheoryscholarsandhasachievedrapiddevelopment.Throughtheeffortsofpredecessors,thistechnologyhasdevelopedintoacross-integratedtechnologyinvolvingcontroltheory,systemidentification,signalprocessing,probabilityandstatistics,etc.Itisusuallyreferredtoastheperformancemonitoringandevaluationofthecontrolloop,andtheperformancemonitoringandevaluationofthecontroller.Evaluation,performanceevaluation,etc.
InordertosolvetheproblemofPIDcontrollerloopperformancedegradationcausedbysystemtime-varyingintheindustrialsystem,LiuXiaoyanofZhejiangUniversityputforwardthePIDaccessibilityevaluationbenchmarkproposedbyEdgar.Amethodforperformanceevaluation,optimizationandmonitoringofPIDcontrollers,namely:PIDloopevaluationoptimizationalgorithm.Thealgorithmusestheclosed-loopinputandoutputdataofthesystemtoperformonlineslidingwindowidentification,usestheMVC(MinimumVarianceControl)-basedPIDminimumvarianceaccessibilitycriteriontoevaluatetheperformanceofthePIDcontroller,andcalculatestheoptimalPIDcontrollerparametersinthesenseoftheminimumvariance;Comparethetheoreticalminimumvariancewiththeoutputvarianceasthestart-stopthresholdforonlineoptimizationofthePIDsystem.Simulationhasproveditseffectiveness.