




已閱讀5頁,還剩11頁未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
附錄附錄1Programmabledesignedforelectro-pneumaticsystemscontrollerThisprojectdealswiththestudyofelectro-pneumaticsystemsandtheprogrammablecontrollerthatprovidesaneffectiveandeasywaytocontrolthesequenceofthepneumaticactuatorsmovementandthestatesofpneumaticsystem.Theprojectofaspecificcontrollerforpneumaticapplicationsjointhestudyofautomationdesignandthecontrolprocessingofpneumaticsystemswiththeelectronicdesignbasedonmicrocontrollerstoimplementtheresourcesofthecontroller.1.IntroductionTheautomationsystemsthatuseelectro-pneumaticTechnologyareformedmainlybythreekindsofelements:actuatorsormotors,sensorsorbuttonsandcontrolelementslikevalves.Nowadays,mostofthecontrolelementsusedtoexecutethelogicofthesystemweresubstitutedbytheProgrammableLogicController(PLC).Sensorsandswitchesarepluggedasinputsandthedirectcontrolvalvesfortheactuatorsarepluggedasoutputs.Aninternalprogramexecutesallthelogicnecessarytothesequenceofthemovements,simulatesOthercomponentslikecounter,timerandcontrolthestatusofthesystem.WiththeuseofthePLC,theprojectwinsagility,becauseitispossibletocreateandsimulatethesystemasmanytimesasneeded.Therefore,timeCanbesaved,riskofmistakesreducedandcomplexitycanbeincreasedusingThesameelements.AconventionalPLC,thatispossibletofindonthemarketfrommanycompanies,offersmanyresourcestocontrolnotonlypneumaticsystems,butallkindsofsystemthatuseselectricalcomponents.ThePLCcanbeveryversatileandrobusttobeappliedinmanykindsapplicationofintheindustryorevensecuritysystemandautomationofbuildings.Becauseofthosecharacteristics,insomeapplicationsthePLCofferstomuchresourcesthatarenotevenusedtocontrolthesystem,electro-pneumaticsystemisoneofthiskindofapplication.TheuseofPLC,especiallyforsmallsizesystems,canbeveryexpensivefortheautomationproject.Analternativeinthiscaseistocreateaspecificcontrollerthatcanoffertheexactlysizeandresourcesthattheprojectneeds3,4.Thiscanbemadeusingmicrocontrollersasthebaseofthiscontroller.Thecontroller,basedonmicrocontroller,canbeveryspecificandadaptedtoonlyonekindofmachineoritcanworkasagenericcontrollerthatcanbeprogrammedasausualPLCandworkwithlogicthatcanbechanged.Allthesecharacteristicsdependonwhatisneededandhowmuchexperiencethedesignerhaswithdevelopinganelectroniccircuitandfirmwareformicrocontroller.Butthemainadvantageofdesignthecontrollerwiththemicrocontrolleristhatthedesignerhasthetotalknowledgeofhiscontroller,whichmakesitpossibletocontrolthesizeofthecontroller,changethecomplexityandtheapplicationofit.Itmeansthattheprojectgetsmoreindependencefromothercompanies,butatthesametimetheresponsibilityofthecontrolofthesystemstaysatthedesignerhands.2.Electro-pneumaticsystemOnautomationsystemonecanfindthreebasiccomponentsmentionedbefore,plusalogiccircuitthatcontrolsthesystem.Anadequatetechniqueisneededtoprojectthelogiccircuitandintegrateallthenecessarycomponentstoexecutethesequenceofmovementsproperly.Forasimpledirectsequenceofmovementanintuitivemethodcanbeused1,5,butforindirectormorecomplexsequencestheintuitioncangenerateaverycomplicatedcircuitandsignalmistakes.Itisnecessarytouseanothermethodthatcansavetimeoftheproject,makeacleancircuit,caneliminateoccasionalsignaloverlappingandredundantcircuits.Thepresentedmethodiscalledstep-by-steporalgorithmic1,5,itisvalidforpneumaticandelectro-pneumaticsystemsanditwasusedasabaseinthiswork.Themethodconsistsofdesigningthesystemsbasedonstandardcircuitsmadeforeachchangeonthestateoftheactuators,thesechangesarecalledsteps.Thefirstpartistodesignthosekindsofstandardcircuitsforeachstep,thenexttaskistolinkthestandardcircuitsandthelastpartistoconnectthecontrolelementsthatreceivesignalsfromsensors,switchesandthepreviousmovements,andgivetheairorelectricitytothesupplylinesofeachstep.InFigs.1and2thestandardcircuitsaredrawnforpneumaticandelectro-pneumaticsystem8.Itispossibletoseetherelationswiththepreviousandthenextsteps.3.Themethodappliedinsidethecontrollerheresultofthemethodpresentedbeforeisasequenceofmovementsoftheactuatorthatiswelldefinedbysteps.Itmeansthateachchangeonthepositionoftheactuatorsisanewstateofthesystemandthetransitionbetweenstatesiscalledstep.Thestandardcircuitdescribedbeforehelpsthedesignertodefinethestatesofthesystemsandtodefinetheconditiontoeachchangebetweenthestates.Intheendofthedesign,thesystemisdefinedbyasequencethatneverchancesandstatesthathavetheinputsandtheoutputswelldefined.Theinputsaretheconditionforthetransitionandtheoutputsaretheresultofthetransition.Alltheconfigurationofthosestepsstaysinsideofthemicrocontrollerandisexecutedthesamewayitwasdesigned.Thesequencesofstringsareprogrammedinsidethecontrollerwith5bytes;eachstringhastheconfigurationofonestepoftheprocessTherearetwobytesfortheinputs,onebytefortheoutputsandtwomorefortheotherconfigurationsandauxiliaryfunctionsofthestep.Afterprogramming,thissequenceofstringsissavedinsideofanon-volatilememoryofthemicrocontroller,sotheycanbereadandexecutedThecontrollertaskisnottoworkinthesamewayasaconventionalPLC,butthepurposeofitistobeanexampleofaversatilecontrollerthatisdesignforanspecificarea.AconventionalPLCprocessthecontrolofthesystemusingacyclewhereitmakesanimageoftheinputs,executealltheconditionsdefinedbytheconfigurationprogrammedinside,andthenupdatethestateoftheoutputs.Thiscontrollerworksinadifferentway,whereitreadtheconfigurationofthestep,waittheconditionofinputstobesatisfied,thenupdatethestateortheoutputsandafterthatjumptothenextstepandstarttheprocessagain.Itcangeneratesomelimitations,asthefactthatthiscontrollercannotexecute,insidetheprogram,movementsthatmustberepeatedforsometime,butthisproblemcanbesolvedwithsomeexternallogiccomponents.Anotherlimitationisthatthecontrollercannotbeappliedonsystemsthathavenosequence.Theselimitationsareacharacteristicofthesystemthatmustbeanalyzedforeachapplication.4.CharacteristicsofthecontrollerThecontrollerisbasedontheMICROCHIPmicrocontrollerPIC16F8776,7with40pins,andithasalltheresourcesneededforthisprojectIthasenoughpinsforallthecomponents,serialcommunicationimplementedincircuit,EEPROMmemorytosavealltheconfigurationofthesystemandthesequenceofsteps.Fortheexecutionofthemainprogramitofferscompleteresourcesastimersandinterruptions.Thelistofresourcesofthecontrollerwascreatedtoexploreallthecapacityofthemicrocontrollertomakeitascompleteaspossible.Duringthestep,theprogramchooseshowtousetheresourcesreadingtheconfigurationstringofthestep.Thisstringhastwobytesfordigitalinputs,oneusedasamaskandtheotheroneusedasavalueexpected.Onebyteisusedtoconfiguretheoutputsvalue.Onebytesmoreisusedfortheinternaltimer,theanaloginputortime-out.TheEEPROMmemoryinsideis256byteslengththatisenoughtosavethestringofthesteps,withthischaracteristicitispossibletosavebetween48steps(Table1).Thecontroller(Fig.3)hasalsoadisplayandsomebuttonsthatareusedwithaninteractivemenutoprogramthesequenceofstepsandotherconfigurations.4.1.InteractioncomponentsFortherealapplicationthecontrollermusthavesomeelementstointeractwiththefinaluserandtoofferacompletemonitoringofthesystemresourcesthatareavailabletothedesignerwhilecreatingthelogiccontrolofthepneumaticsystem(Fig.3):Interactivemodeofwork;functionavailableonthemainprogramfordidacticpurposes,theusergivesthesignaltoexecutethestep.LCDdisplay,whichshowsthestatusofthesystem,valuesofinputs,outputs,timerandstatisticsofthesequenceexecution.Beeptogiveimportantalerts,stop,startandemergency.Ledstoshowpoweronandotherstoshowthestateofinputsandoutputs.4.2.SecurityTomakethefinalapplicationworksproperty,acorrectconfigurationtoexecutethestepsintherightwayisneeded,butmorethenthatitmustoffersolutionsincaseofbadfunctioningorproblemsintheexecutionofthesequence.Thecontrolleroffersthepossibilitytoconfiguretwointernalvirtualcircuitsthatworkinparalleltotheprincipal.Thesetwocircuitscanbeusedasemergencyorresetbuttonsandcanreturnthesystemtoacertainstateatanytime2.Therearetwoinputsthatworkwithinterruptiontogetanimmediateaccesstothesefunctions.Itispossibletoconfiguretheposition,thebuttonsandthevalueoftime-outofthesystem.4.3.UserinterfaceThesequenceofstringscanbeprogrammedusingtheinterfaceelementsofthecontroller.Acomputerinterfacecanalsobeusedtogeneratetheuserprogrameasily.Withagooddocumentationthefinalusercanusetheinterfacetoconfigurethestringsofbytesthatdefinethestepsofthesequence.Butitispossibletocreateaprogramwithvisualresourcesthatworksasatranslatortotheuser,itchangeshisworktothevaluesthatthecontrollerunderstands.Toimplementthecommunicationbetweenthecomputerinterfaceandthecontrollerasimpleprotocolwithchecksumandnumberofbytesistheminimumrequirementstoguaranteetheintegrityofthedata.4.4.FirmwareThemainloopworksbyreadingthestringsofthestepsfromtheEEPROMmemorythathasalltheinformationaboutthesteps.Ineachstep,thestatusofthesystemissavedonthememoryanditisshownonthedisplaytoo.Dependingoftheuserconfiguration,itcanusetheinterruptiontoworkwiththeemergencycircuitortime-outtokeepthesystemsafety.InFig.4,ablockdiagramofmicrocontrollermainprogramispresented.5.Exampleofelectro-pneumaticsystemThesystemisnotarepresentationofaspecif
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 醫(yī)學(xué)術(shù)語速成寶典
- 企業(yè)級(jí)醫(yī)療實(shí)驗(yàn)室的信息化管理策略
- 醫(yī)院感染控制與安全實(shí)踐
- 家族性高甘油三酯血癥的臨床護(hù)理
- 老師育兒心得體會(huì)模版
- 《SPSS在教育統(tǒng)計(jì)中的應(yīng)用-以PISA數(shù)據(jù)為例》全套教學(xué)課件
- 企業(yè)標(biāo)志設(shè)計(jì)服務(wù)合同范例
- 醫(yī)療安全與隱私心理的雙重保障策略
- 住宿場地出租合同范例
- 小兔吃飯安全課件
- 食堂食材配送服務(wù)方案及服務(wù)承諾
- 輔警培訓(xùn)工作方案
- 南京彭宇案完
- 《暖通空調(diào)自動(dòng)控制》課件
- 警務(wù)保障各項(xiàng)管理制度
- 哮喘患者的護(hù)理常規(guī) 課件
- YB-4001.1-2007鋼格柵板及配套件-第1部分:鋼格柵板(中文版)
- 2023年國家重點(diǎn)支持的八大高新技術(shù)領(lǐng)域
- 養(yǎng)殖場獸醫(yī)診斷與用藥制度范本
- 12-漏纜卡具安裝技術(shù)交底
- 《銷售管理實(shí)務(wù)》(李寧)011-5 教案 第9課 編制銷售預(yù)算
評(píng)論
0/150
提交評(píng)論