



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1MicrocomponentThicknessComprehensiveDetectingPlainTestControlSystemDesigningZhenweiDuanYanhuaLiDenrenKongChanganDiDepartmentofprecisioninstrumentofSchoolofMechanicalEngineeringinNUST,Nanjing,210094Phone(086-Mail:Abstract:Thisarticleintroducestheoverallplanofthetesting&controllingsystemoftheplatformfortestingthethicknessofthemicrocomponent,theworkingprincipleandthedesignmethod.Itintroducesthedrivingsystem,controlledbythePLCprogrammedcontrollingstep-motor,toaccomplishthetestingofmicrocomponentintheformofproductionchain.Itintroducesthecommunicationandcontrolmethodbetweenthethickness-testingsensorandPC.ItdiscusseshowcanthePLCcontrollingmicrocomponentmaterialdistributionmachineaccomplishesdistributiontask,whengettingsortsignalsformPC.Itdiscussestherealizationmethod,inwhichallkindofstatusinoperatingprocesscanbetestedandthefaultcanbetolerated.Thissystemwasdebuggedinindustriallocationanditsfeasibilitywasprovedwell.keywords:microcomponent,detecting,classificationautomatization,ManipulateMicrocomponentisacriticalunitinairconditionandaircompressor,whosegeometrydimension,surfaceroughness,margintoleranceetcdeeplyeffectstherefrigerationandcalefactionofthem.Actuallyasthedemandofairconditionandaircompressoraremoreandmorevast,thedemandofmicrocomponentismoreandmorevasttooandthedegreeofaccuracyofmicrocomponentismoreandmorehigher.Nowafterthemicrocomponentwasmachiningedandproducted,whichwasmainlydetectedmanually,theverificationbecamewheretheshoepinches.Thetraditionalverificationmethodhastheproblemofslowvelocity,lowefficiencyandmaninducedfactoreffect.SowedevelopedthisMicrocomponentThicknessComprehensiveDetectingPlain.TheProgrammableLogicControllerofS7-200catena,whichismadebytheSiemensandtheindustrialcontrolcomputerarethenucleusofthistopic.Wecombinationthedeeplyactivationcapability,thehighreliability,thesuperiorproportionalinyamongtheperformanceandthecost,theexpedientapplicationofTheProgrammableLogicControllerwiththedeeplydata-processingcapability,theamicablerelationamongmanandcomputer,thehighadministrationhorizontaloftheindustrialcontrolcomputer,thenwedevelopthisMicrocomponentThicknessComprehensiveDetectingPlainTestControlSystem.Weachievetheautomatizationoftheexaminationofthemicrocomponentthicknessandtheexclusiveclassificationprocess,andenhancethelevelofautomatization,gettogetheronbettereconomiceffect.IThedesignofthemicrocomponentthicknesscomprehensivedetectingplainTheMicrocomponentThicknessComprehensiveDetectingPlainismadeupofthedrivingandmeasurementmechanics,theclassificationmechanicsandthecontrolsection.Inageneralway,theconcentratedanddecentralizedsystemcanbefallenintothreetiers:thetopismanagementwhomanagesthewholesystem;themiddleisconcentratedsupervisorywhomonitor,controlanddeploythewholesystem;thebottomisdecentralized-implementation,whosetaskiscontrolthelocalsystem.Inthesystem,theindustrialcontrolcomputerundertakesthetaskbelongingtothetopandmiddleassupervisorymanagement;PLCundertakesthebottomtaskascontrolimplementationtier2.Theindustrialcontrolcomputertransfersthemanagementdecision,controltask,controlparameteranddeploydictationtothecontroltierPLCbycommunicationcable,PLCtransferstheparameter,processcontrolanddatatothemanagementtierbycommunicationcable.Thefunctionflowchartofwholesystemisasfig1.2Fig1TheoverallstructureofthesystemATheautomateddetectingplainTheautomateddetectingplainismadeupofmeasurementplainandthedrivingmechanism.Measurementplainisthebasicreferenceofthemicrocomponentsgeometricalparameter,whosedegreeofaccuracyishigherthanthatofthemicrocomponent.Duringthemeasurementprocess,themicrocomponentslideswithsurfaceoftheoperatingboard.Inordertoguaranteethestationarityduringthedrivingprocess,andeschewtoleadintheadditivelapsetoengenderthedeformationbecauseoftheshockofthedrivingmechanics,thedrivingmechanicsexploitsthedesigningoffissionconstitutionalformulatodisbranchthemeasurementplainandthedrivingmechanics,thendescendtheinfluenceofthedrivingmechanicsbyalongway.Weneedtomeasurefivedotsonthediagonalofeverysurface(itcanbetakenintoonedotinthecrossover).Inthisway,themicrocomponentnotonlyrotates90degree,butalsorollsover180degreeonthepipleline.Byprotractingfavourablebandyonthemeasurementplain,wecanmakethemicrocomponentrotatefavourableangulardegreeaccordingtotheprimarylocus,andtorealizetheturningofthemicrocomponentbydesigningthespatialtextureoftheindustrychain.BclassificationorganThemicrocomponentistransferredtotheclassificationorgandowntheslipway.TheclassificationorganclassifiesthemicrocomponentbyvirtueofcontrollingsteppermotortorotatehomologousangulardegreewhenthePLCacceptingclassificationinformation.ThePLCcontrolsthesteppmotorinthewayofPTO.PTOmodecanexportmuchimpulsetrain,andenableimpulsetraintoqueuetoestablishconduitline.Itcanbeclassifiedtwoenominationsincludingsingleconduitlineandmultipleconduitline1.Thissystemadoptsthemultipleconduitline,andestablishsthelistinvariablememoryblocktocontrolperiodictimeofoutputimpulseandpulsenumber,thenachievestocontrolthesteppermotorrateandangulardegreeexactly.ThePLCreckonsheterogeneousconditionsbyinductiveswitchintheclassificationprocess.Forinstance,thearrivalsignal,thealignsignal,theclassificationcompletionsignal.IfThePLCdiscoversfalsecondition,itwilldeliverhomologousalarmsignaltotheindustrialcontrolcomputer,thentheoperatingforcecaneliminatethebug.CThecontrolsectionThePLCisthenucleusofthecontrolsection,whichcarriedoutthecommandoftheindustrycontrolcomputerbythecommunicationofthem.WhentheindustrialcontrolcomputerinterfaceswithPLC,becausePLCexploitsstandardRS-485,whichisnotcompatiblewiththeindustrialcontrolcomputerRS-232,wemustswitchoverbyPC/PPIcommunicationcable2.Theindustrialcontrolcomputeristheadministratorofallthesystem,.Itcontrolsthesensortomeasuresthegeometricalparameterofthemicrocomponentontheindustrychain,andcalculatestogettheclassificationinformationofthemicrocomponent.ThePLCisthemanipulativenucleusofallthesystem,itcompletesthefacilitywhichincludestheactivationgoverning,theconditionsense,theimplementationofthedictationandsoon.ThePLCcontrolstheperformanceoftheclassificationmechanicsandthedrivingmechanicsbyacceptingtheinformationoftheindustrialcontrolcomputer.IIThedesignofthecontrolsystemAThecontroldemandofthesystemInordertoaccomplishthedetecting,transmissionandclassificationofthemicrocomponent,thesystemwasdemandedtoaccomplishthefunctionsasfollow:1)Canaccomplishthesteadytransmissionofthemicrocomponentinindustrychainandensurethequeueofthemicrocomponent,whichwasformedbyentryorderofthechain,wasorderlinessandSortcontrolsignalSensorsignalPTOoutputDrivecontrolControlsignalMeasurementplainPLCRS-485IndustrycontrolcomputerRS-232SortcontrolsystemPC/PPIMotor1Mtor2StatussignalStatussignal3integrality.2)Thespeedofformerdrivingorganmustbenotfasterthanthelaterclassificationorgan,andattheleastensurewhentheclassificationorgandidntaccomplishedtheclassification,thereisnomicrocomponententrytheclassificationorgan.3)Ensuretheclassificationorgancanautoresetwhenthestepmotorwasoutofstep.4)Whennotonlyonemicrocomponententrytheclassificationorgan,theworkerwillbetoldthesystemwasintrouble.Inthemeantimethemotorcanbeestimatedwhetheritworkswellandtheangulardisplacementoutputiscorrect.5)Thesystemmusthavecertainfault-tolerantcapacity,whenitoccurscommonerrors,thesystemcanrehabilitatebyitself.Butwhenthefatalerrorwasoccurred,thesystemcanclewthepossiblesortorapproximatelyorientation.BTheworkprincipleofcontrolsystemThecontrolsystemismainlymadeupofmotordrivingsection,communicationsection,statusdetectingsectionandalarmsection.EverysectiondefinedintheoutputandinputofPLCasfig2:Fig2Thecontrolsystem1)StepmotoranddrivingsectionThestepmotorisexecutecomponentwhichconvertstheelectricpulseoutputofPLCtoangulardisplacementorrectilinealdisplacementwhichisindirectproportiontotheelectricpulse.Theformerdrivingsectionstepmotormainlyaccomplishesthespeedcontroloftheindustrychain,andthelaterclassificationsectionmustaccuratelycontroltheoutputangulardisplacementanddirectionofthestepmotor.Whenthestepmotoroutofstepintheprocess,thephotoelectricencipherormustbeusedtocontrolthephaseoutputofthestepmotorandensuretheoutputaccordwiththepracticality.Thelaterclassificationsectionadoptsthemodeofautoresettoeliminatetheaccumulatederrorofthemotorandensurethatthemotoroutputcertainangulardegreefromzeropositioneverytime.2)StatusdetectingandalarmdesignTheprocessstatusofthesystemcouldbeestimatedbyinductiveswitchwhichwerefixedinthecertainpositionofthesystem.Whenthestatusdidntaccordwiththegivenstatus,thesystemshouldalarm.Themodeofthealarmisdesignedinacousto-opticmode,accordingastheponderanceoftheerrors.3)ThecommunicationofthePLCandthecomputer.Theprogramofthecommunicationport,includingtheparitybit,thelengthofthedataframes,realizedthecommunicationofthePLCandthecomputer.IIIThesoftwaredesignofthesystemThesoftwareoftheindustrycontrolcomputer,whichwasadoptedobject-orientedwindowsapplicationandprogrammedinBlandC+compiler,hadluxurioushuman-computerinteraction,multilevelmenudesignandwasoperatedeasily.UsingSTEP7-Micro/WIN32programmedthecontrolsoftwareofPLC,whichbasedonWindowsapplicationanddesignedspeciallyforS7-200seriesPLCofSiemens.Ithasthepowerfulfunction,wasmainlyusedtodevelopprogram,atthesametimealsousedtosupervisethestatusofprogramimplementationrealtime2.AThesoftwaredesignofPLCThesoftwareofPLCcanbeseparatedintomainprogramMain(),normalsortprogramMicro_Sort(),autoresetprogramAuto_Reset(),interruptserviceroutine(ISR)Interrupt(),initializationroutineIni_Install()anderrorhandlingprogrametcinstructural.Allthesubroutineswaredecidedwhichcouldbecalledbymainprogramaccordingtoindustrycontrolcomputerorexternalcommand.Themaincontrolflowchartgraphmanifestasfig3.Whenthesystemwaspowerup,theinitializationroutinewascalledtoaccomplishtheinitializationofwholesystemandthescanningofalltheinductiveswitch,whichwasaccordingaswhetherthesystemDirectioncontrolI0.2I1.7I0.0I0.1InputPLC226CommunicationportOutputQ0.5Q0.2Q0.1Q0.0AlarmdisplayManualcontrolinputStatusdetectingsensorMotor2MotordriverMotor1MotordriverPC/PPI4wasingear.ifnot,thePLCwillsendinitializationfailsignaltoindustrycontrolcomputerandwaitfortheworkertotreatwith.Iftheinitializationwasaccomplishedwell,thePLCwillsendreadysignaltotheindustrycontrolcomputer.Diagram2whentheindustrycontrolcomputerreceivedthesignal,thesystemwillbestartedtowork.Fig3ThecontrolflowchartofthePLCIntheworkingprocess,thePLCwasscaningalltheinductiveswitchtosupervisetheworkstateofwholesystem.Whenthesortorganreceivedthearrivesignalofmicrocomponent,thePLCwillcontrolthesortorgantosortthemicrocomponentaccordingtothesortsignal,whichreceivedfromindustrycontrolcomputer.Duetoithasnotonlyonesort;itmayresultinsortmistakebecauseofbreakingstepofthemotor.Soafterejectingthemicrocomponent,thePLCjudgedwhetherthesortsignalwasaccordwiththecompletesignal.ifnot,thealarmwillbestartedandthesystemwillbehanged,thesorterrorwillbesendtoindustrycontrolcomputeraswell.B.Softwarefault-tolerantdesignInthefaceofcomplicatedindustrycircumstance,softwarefault-tolerantwastheindispensabilitypartofthesystemrobustness.Theerrorsweresortedintofatalerrorandcommonerroraftercomprehensivelyconsideringallthepossibility.Inthesoftware,anerror-handlingprogramwasespeciallydesigned.Whenanerrorappeared,PLCprogramjudgedthesortoftheerror,byreadingthecodeoftheerrorandthestateinformationofthesystem,andtreatedwithitaccordingtotheponderanceoftheerror.Thesystemalarmwasdesignedinsound-lightmodeanddifferencedaccordingtotheponderanceoftheerror.Inordertoavoidtheprogramwasoutofcontrol,thesoftwaretropwassettingintheblankmemoryofthePLC.Thetransferinstructionwasalsousedtomaketheprogram,whichwasoutofcontrol,jumpingtotheerror-handlingprogram,andthesystemwouldsetright.Inthedetectingprocessof
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年散打服装行业深度研究报告
- 2025年合成纤维机织地毯行业深度研究报告
- 可控微孔结构聚合物成形与机械能转换性能研究
- 临时仓库管理员合同
- 无人驾驶公交车试运营服务合同
- 电子政务云平台建设和运营服务合同
- 智能典当服务合同
- 餐饮质量服务合同
- 智能城市解决方案合同
- 社交媒体数据共享及分析服务合同
- 史明清时期社会经济的发展课件++2024-2025学年统编版七年级历史下册
- 中国特色社会主义+综合练习(三)-2025届中职高考政治一轮复习高教版(2023版)
- 情境+任务驱动作文(兼审“情境”与“任务”)-2024年中考语文重难点复习专练(江苏)学生版
- (二模)临沂市2025年高三高考模拟考试地理试题卷(含答案)
- 2024年新疆巴楚县事业单位公开招聘村务工作者笔试题带答案
- 2025年广东省广州市南沙区中考数学一模试卷
- 医务科依法执业自查表
- 工厂经营管理考核方案.doc
- A4横线稿纸模板(可直接打印)-a4线条纸
- 列车牵规正文
- 格氏试剂的应用PPT课件
评论
0/150
提交评论