您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > S7-300 PLC中程序控温算法设计毕业设计
南阳理工学院本科生毕业设计(论文)S7-300PLC中程序控温算法设计TemperatureControlAlgorithmDesignBasedonS7-300PLC总计:48页表格:9个插图:37幅南阳理工学院本科毕业设计(论文)S7-300PLC中控温程序算法设计TemperatureControlAlgorithmDesignBasedonS7-300PLC学院(系):电子与电气工程学院专业:自动化学生姓名:学号:104091020035指导教师(职称):)评阅教师:完成日期:南阳理工学院NanyangInstituteofTechnologyS7-300PLC中程序控温算法设计IS7-300PLC中程序控温算法设计自动化专业[摘要]温度控制是最重要的过程控制之一,有些温度控制过程要求按照一定的升温、保温、降温曲线控制温度。西门子S7-300PLC中FB41PID控制模块有双极性输出功能,但是该模块不具有程序控温功能。本设计在FB41PID控制模块的基础上进行的,自主设计的程序控温算法实现了夹套锅炉的程序控温。主要包括多段温度设置曲线程序设计,升-保-降温度段控制规律的研究和控制参数的设置。温度曲线设置采用温度-时间格式算法,本段温度设定与上段温度设定的差值,除以本段设置时间得到温度曲线斜率,以定时中断模块OB35中断时间作为设置时间的时间刻度,进行线性运算,产生设定值曲线。温度曲线设置程序输出值作为FB41模块的给定值进行PID运算,正极性PID输出配合脉宽调制实现时间比例加热控制,负极性PID输出调节夹套冷却水流量实现降温控制。对升-保-降温度段选用不同控制规律和参数设置实现了程序控温,达到控温精度0.1,实现了设计任务。[关键词]温度;双极性;PID;FB41TemperatureControlAlgorithmDesignBasedontheS7-300PLCAutomationSpecialtyGAOshi-yuAbstract:Temperaturecontrolisoneofthemostimportantprocesscontrol,Sometemperaturecontrolprocessisbaseonramprateofheatingup,keepingandcooling.SiemensS7-300PLCFB41PIDcontrolmodulehasdualpolarityoutputfunction,butthemodulehasnoprogramcontroltemperaturefunction.ThisdesignisbasedonFB41PIDcontrolmodule,theindependentdesigntemperatureprocesscontrolalgorithmrealizetheclipsetofboilertemperaturecontroloftheprogram.Mainlyincludesmultistagetemperaturesettingcurveprogramdesign,studyaboutheatingup,keeping,coolingtemperaturecontrollawandpreferences.Settingtemperaturecurveisbytemperature-timeformatalgorichm,thed-valueisbetweensettingtemperatureandlast-settingtemperature,thisperiodtimeisdividedbyS7-300PLC中程序控温算法设计IId-valuebetweensettingtemperatureandlast-settingtemperature,thengetthetemperaturecurveslope.scopemultipliedtimegetsettingvaluecurvebylinearoperation.SettingvalueisasgivenvalueofFB41forPIDoperation.PositivepolarityPIDoutputandpulsewidthmodulationrealizetime-proportionheatingcontrol,negativepolarityPIDoutputrealizecoolingcontrolbyadjustingcoolwaterflowinclipsetting.Torise-keep-cooltemperatureperioddropchoosedifferentcontrollawsandparametersettingandrealizetheprogramtemperaturecontrol,theprecisionisto0.1andrealizethedesigntask.Keywords:Temperature;Bipolar;PID;FB41S7-300PLC中程序控温算法设计III目录1引言........................................................................................................................................12项目软硬件构建设计............................................................................................................12.1项目硬件构建.............................................................................................................12.1.1温度传感器......................................................................................................12.1.2变送器..............................................................................................................22.1.3磁力驱动泵......................................................................................................22.1.4电磁调节阀......................................................................................................22.1.5西门子MM440变频器....................................................................................22.1.6HH52P小型控制继电器.................................................................................32.1.7交流接触器.......................................................................................................32.1.8压力液位变送器..............................................................................................32.1.9S7-300PLC.......................................................................................................32.2项目软件介绍.............................................................................................................32.2.1SIMATICSTEP7软件....................................................................................32.2.2wincc软件组态...............................................................................................43控温算法构建........................................................................................................................63.1双极性控制实现.........................................................................................................83.1.1“CONT_C“SFB41连续控制模块..................................................................83.1.2SFB43脉冲输出模块.................................................................................103.1.3“SCALE“FC105数值转换功能.....................................................................103.1.4“UNSCALE“FC106取消标定值功能..........................................................113.2多段斜率控温的实现.............................................................................................123.2.1多段斜率控温的设计思路.............................................................................123.2.2多段斜率控温的适应性.................................................................................143.2.3多段斜率双极性控温算法程序流程图.........................................................144设计调试分析.......................................................................................................................154.1温度对象特点....................................
本文标题:S7-300 PLC中程序控温算法设计毕业设计
链接地址:https://www.777doc.com/doc-4099380 .html