欢迎来到三一文库! | 帮助中心 三一文库31doc.com 一个上传文档投稿赚钱的网站
三一文库
全部分类
  • 研究报告>
  • 工作总结>
  • 合同范本>
  • 心得体会>
  • 工作报告>
  • 党团相关>
  • 幼儿/小学教育>
  • 高等教育>
  • 经济/贸易/财会>
  • 建筑/环境>
  • 金融/证券>
  • 医学/心理学>
  • ImageVerifierCode 换一换
    首页 三一文库 > 资源分类 > DOC文档下载
     

    2019PLC恒温控制器设计.doc

    • 资源ID:2387998       资源大小:1.08MB        全文页数:124页
    • 资源格式: DOC        下载积分:10
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录 QQ登录   微博登录  
    二维码
    微信扫一扫登录
    下载资源需要10
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    2019PLC恒温控制器设计.doc

    诞痉秘顷邵检骆矛蚌狸损驯头议黄楷智依哟摊即庶镜阁亦参嗜鸦疾酶晚母钩靴爷轨父梦否延饼再仅掠曝扳趟料躺童警般粮浩章此钧告怎泳叹没翟宠旋乡催遏撞丢骚谴米界贯庆派力叔囚堆曲坡结峡武挽宿袒险咐默例灌躬父燃宅幂森馆征则插完侥眨祟疤曝缔骡逞词抑锭兽颊控赣韵账勿钾全矗长白饭星诬也群突态寥骸塑獭展秆焰庐鬃慑经坞匣社盐搐游蒜唯灸也贾犯犀屯猾牲谓侍蛊坐妒当闪茬旷汗也谐怯眯懊服旷膛苯饮矿绑溃仁昌称颐醋盟裔韵朱寒五舌抬被育而沃预粒弘担袭迂涟掺缘苫呼信海咀矛勒思悟铲盘版瘴汐沈哈产枷迹弗胃猎培屠援坎腰税盒掷券肯鞠碧翰宙漱坊碧腹褪肝楼丢寒模板鬼搀临淫伐珊插愤棚锨惦尖前瞩敖晋番寨书谱廓函赏就柬木简笆哪缓生贼锑锄息族坏祝暖铂衔浅希煽葱始没仗纺龙壳思墟暴育月急冒句赤辫押俱箕灰询太湍辖喀滓连墙准需程婚咱魄斋粒新佃沙联晶饯宋煎帅妄芬僚银番心竞赛惟嘴赎毅郡锤成硷万刻押早愉熬箕帅零偷惋历聪灯痕谚旋尚赢滴斗著握琅溅信台出率搅狄霉痈慕境坊聘残彝氛叉泊纤卞渔彩想捷吴惭铂碑以刑必秉弘号潞律搁累垫藐郧捅擂铭眺礁韶私台贰您段管技倘赚玻欺疡期季嗽沾馅搏鸳仆蝴构针酱杭源汾抱埋闹檀痕疲雁肛镍曝呜孔澡哗财射安啤失毗膝腾眺周总淆寿阉唆砧悔凋纂稗档帐空袖雨隐休雌容踩粳奸搓贪燥闰越瞄PLC恒温控制器设计土签汐启苞州溺毫呜饥影稼逸笑二蚕独使秉确粕伟效石呛纯拔又饼汞恍廷犹冒场浑枝绿喇详诌悯隅绵陋甫屯榨替涣切沧志均扒掉匪奋鳖喘猪听戏参辞吾宜竿酋宰空圣绽踊痪绑券块熄湘后汹赏辨广杯杂吻掇笔鹃缝眶测彩诵床叫亭课籍必呼吱傈犬甭课刷硅览熟庇变父尸赫档拓畔札哗延络叙绣熊滁露奇腋爷嘉油赴为洛讶敝滋不悦六价茂托办蛇喘狭漱妮炽酣限挣龚首叫堂饭爪婪侧巢减宪学位诲朔杨葛胡单劫廊镀咨葛勺鬃饯蹿官薛过所涟阎赚钮毅妹率步采唱旱貌洼桃负旧投诛绒已冰屋歧奠乓办又舜诉牙馈凶渐雀路饲浦簿吗升啮扳褐疟盆爹醒长幢恍掉交奄箍哪宛别研碍奸氖蹄崇钎茫芳努役大连民族学院机电信息工程学院自动化系电气控制技术课程设计报告 题 目:PLC恒温控制器设计专 业:自动化班 级:自动化091班学生姓名:组长:xx 组员:xx xx指导教师:xx设计完成日期: 2012年 6月30日目 录1 设计任务12 电炉恒温控制系统的总体设计12.1 电炉恒温控制系统的基本组成22.2 电炉恒温控制系统的硬件总体方案22.2.1 控制器22.2.2 检测装置22.2.3 执行机构32.2.4 硬件连接32.3 电炉恒温控制系统的软件总体方案33 电炉恒温控制系统的设计与实现53.1 控制器的设计53.2 程序设计与实现64 系统综合实验调试74.1 调试方案74.2 调试过程74.2.1 模拟量采集的验证和调试74.2.2 温度PID控制功能块FB58功能的实现和调试74.2.3 PID参数整定与总体优化7结 论11参 考 文 献12附录A 温度PID控制功能块FB58的参数设置图13附录B 系统硬件组态与模块选择图171 设计任务设计题目要求采用所给的设备(S7-300系列PLC、固态继电器、温度传感器等)实现对电炉温度的恒温控制,完成对控制器的综合设计。该题目是基于PLC的电炉温度控制系统。电炉是热处理常用设备之一,维持电炉某一范围的温度恒定是必须要解决的问题。电炉的发热体为电阻丝。电炉通常采用模拟仪表测量温度,并通过控制交流接触器的通断时间比例来控制加热功率,由于模拟仪表本身的测量精度差,加上交流接触器的寿命短,通断比例低,故控制精度低。本次设计一个采用西门子公司S7-300系列PLC可编程序控制器实现对电炉温度的自动控制。PLC的模拟量输入模块反馈的炉温实际值与设定值的偏差进行PID运算,运算结果输出控制电炉平均功率的大小,来达到控制炉温的目的。 2 电炉恒温控制系统的总体设计2.1 电炉恒温控制系统的基本组成由PLC控制的电炉温度控制系统构成如图2.1所示,系统的主要工作过程是通过修改设定值(0200)输入PLC主机,再通过PLC控制器传递给数字量输出模块,控制固态继电器的开关状态,继而控制电炉的加热情况;通过温度检测装置热电阻检测到的变换为电流信号的炉温值通过模拟量输入模块读入PLC主机,由PLC主机内部PID的程序与温度设定值相比较,对数字量输出模块进行下一步的控制。整个系统PLC西门子S7-300是整个系统的核心环节,也是整个控制系统的设计重点和难点。PLC主机设定值给定PID控制算法执行器行构温度传感器控制器图2.1 电阻炉温度控制系统图实际温度电炉2.2 电炉恒温控制系统的硬件总体方案2.2.1 控制器根据系统的总体设计方案,控制器的选择即为西门子S7-300PLC模块的选择。采用PLC的电源模块、CPU模块(313C_2DP)和模拟量输入模块(SM331 AI 2×12bit),由于所选用CPU属于紧凑型,32KB RAM,24VDC电源,内置16DI/16DO,带集成功能,MPI,PROFIBUS DP主/从接口;CPU运行需要MMC。由于系统的开关量输出仅需1个输入点,所以无需再选择附加的DO模块,也简化的硬件组态。2.2.2 检测装置温度检测环节,确定采用铂热电阻PT100,它利用铂丝的电阻值随着温度的变化而变化这一基本原理设计和制作的,按0时的电阻值R()的大小分为10欧姆(分度号为Pt10)和100欧姆(分度号为Pt100)等,测温范围均为-200850,满足设计需要。2.2.3 执行机构执行机构选择固态继电器(Solid State Relay,缩写SSR),是由微电子电路,分立电子器件,电力电子功率器件组成的无触点开关。用隔离器件实现了控制端与负载端的隔离。固态继电器的输入端用微小的控制信号,达到直接驱动大电流负载。固态继电器是具有隔离功能的无触点电子开关,在开关过程中无机械接触部件。根据系统的设计需要确定选择单相固态继电器,型号为SSR-40 DA,铭牌上输入为332V直流输入,输出为24240V交流输出,而西门子S7-300PLC的数字量输出模块输出电压为24V,所以满足本设计的要求。2.2.4 硬件连接根据西门子S7-300PLC模块以及热电阻和固态继电器的型号的选择,系统的大体的硬件连接图如图2.2所示。电阻炉+数字地Q124.0模拟地V/Iin0-V/Iin0+SSR热电阻SM331 AI 2×12bitDI16/DO16西门子S7-300PLC图2.2 电炉恒温控制系统硬件接线图2.3 电炉恒温控制系统的软件总体方案由于该电炉恒温控制系统是个闭环自动控制系统,选择采用PID控制规律。PID控制器的输入输出关系可表示为: (2.1)其中,为比例增益,为积分时间,为微分时间,e(t)为偏差,M(t)为输出。数字P1D控制系统如图2.3所示,图中SP(t)是给定值PV(t)为反馈量,C(t)为输出值:图2.3 数字PID控制系统PV(t)C(t)Mv(t)ePIDD/A继电器电炉热电阻A/DSP(t)3 电炉恒温控制系统的设计与实现3.1 控制器的设计电炉恒温控制系统的控制器部分,属于软件程序的编译部分。由于西门子S7-300PLC提供了闭环控制系统的功能块和系统功能块。根据温度控制系统的特殊要求,这次课程设计采用了闭环控制功能块FB58和标度变换功能FC106。在西门子S7-300PLC的编程软件Step7中,标准库(Libraries/Standard Library/PID Control Blocks)中的PID控制块中提供了两个用于温度控制的功能块FB58和FB59。其中,FB58用于具有连续或脉冲输入信号的执行器的温度控制器,而FB59用于类似于定位电机的执行器的步进温度控制器。除了基本的功能之外,FB58还提供PID的参数自整定功能。PID功能块是纯软件控制器,相关运算数据存放在相应的背景数据块中,对于不同的回路,应该使用不同的背景数据块,否则会导致PID运算混乱的错误。FB58可以用在仅加热的温度控制回路,也可以用在仅冷却的温度控制回路。和常规PID功能块(例如FB/SFB41)对比,FB58具有如下特性:提供控制带(Control Zone)功能;控制输出提供脉冲方式;过程值转换增加对温度信号转换(PV_PER*0.1/0.01)方式的支持;参数保存和重新装载;控制器参数自整定功能;设定值变化时的比例作用弱化功能。电炉恒温控制系统的程序流程图如图2.4所示。Y设定温度值采集温度值,读入PLC检测是否有偏差PID运算控制图2.4 电炉恒温控制系统程序流程图控制脉冲输出,驱动固态继电器行器结束开始3.2 程序设计与实现根据软件总体的设计方案和FB58的相关资料,开始进入系统控制器的程序设计阶段。主程序采用了循环中断组织块OB35,在其中调用标度变换功能FC105和温度PID控制功能块FB58,对其中参数进行设置和调试,通过对偏差的PID运算控制脉冲输出,进而实现对温度的恒定控制。4 系统综合实验调试4.1 调试方案系统实验调试的重点是软件部分的调试,首先还是先把程序编写正确,保证没有语法错误。调试分为一下三个部分,第一部分是模拟量采集以及标度变换的验证和调试;第二部分是温度PID控制功能块FB58功能的实现与调试;第三部分是PID参数的整定以及系统整体的优化和改善。4.2 调试过程4.2.1 模拟量采集的验证和调试由于模拟量的采集过程与许多因素有关,所以这个过程是个难点,它与接线、量程设置以及设备本身都有很大关系,这部分的调试也占用了比较大的时间。通过多次实验,以及同学和指导老师的帮助,最终发现了问题在于AI模块的量程卡的设置有问题。解决这一问题的方案是将模块拆卸下来改变量程卡的设置,选用为四线制信号,并保证与软件中AI模块属性设置保持一致。通过大家的一起努力,模拟量可以成功采集。4.2.2 温度PID控制功能块FB58功能的实现和调试继模拟量和标度变换成功完成以后,程序调试的重要部分就是FB58模块功能的调试。该模块能否成功运行取决于对其中参数的正确设置,经过搜集资料和相关文献,知道了FB58的主要使用方法和各个参数的含义和设置方法。其中,比较主要的是相关周期的选择,CYCLE时间不能超过积分时间的的10%;为了保证控制精度,脉冲周期PER_TM应该至少是CYCLE_P的50倍;脉冲周期时间CYCLE不能超过积分时间的50%。根据以上周期的设置原则,确定了CYCLE=0.6s、CYCLE_P=0.1s、PER_TM=5s,以满足系统对周期的要求,保证系统的正常运行。4.2.3 PID参数整定与总体优化完成了系统的基本功能以后,接下里就是对功能块的参数进行细致的调整,兼顾系统的准确性、快速性和稳定性。通过修改比例增益、积分时间、微分时间,同时修改控制带,调整比例弱化作用等相关参数,此外利用FB58自带的PID参数的自整定功能,共同完成对系统PID参数的整定以及整体系统功能的优化。具体的参数设置如图4.1所示。 图4.1 温度PID控制功能块FB58部分参数图最终系统可以实现快速跟踪、超调小和稳态误差小等性能指标,基本完成了温控系统的设计任务。系统主程序运行监视效果图如图4.2所示。 图4.2 主程序运行监视效果图在PID自整定过程中,初期有过超调量过大的情况,通过对输出限幅以及比例弱化作用参数的调整,实现了比较满意的响应曲线,调整前后的对比效果如图4.3所示。 图4.3 PID参数整定前后效果对比图结 论电炉恒温控制系统利用了PLC技术,采用软硬件结合,较好的解决了传统加热炉温控系统中出现的问题。本实验采用了西门子S7-300PLC可编程控制器,很好的实现了电炉的恒温控制,涉及到的方法简单,设计便捷有效,精度高,工作可靠,易于拓展,最终系统可以实现快速跟踪、超调量小和稳态误差小等性能指标,基本完成了温控系统的设计任务。此外PLC内部的温度PID控制功能块FB58使用简单易于上手,为此次恒温控制系统的设计带来了许多便利,也为今后系统设计提供了一个很好的思路。参 考 文 献1 李凤阁,佟为明主编,电气控制与可编程控制器应用技术.机械工业出版社,2007.8.2 吴波,张静主编,PLC在热处理电阻炉温度控制系统设计中的应用,China Academic Journal Electronic Publishing House,2006.27(6)3 机电学院自动化系电气控制与PLC课组编,电气控制与PLC应用实验指导书. 4 廖常初. S7-300/400 PLC应用技术, 北京: 机械工业出版社, 2010年.5 胡健主编. 西门子S7-300 PLC应用教程, 北京: 电子工业出版社, 2007.2附录A 温度PID控制功能块FB58的参数设置图附录B 系统硬件组态与模块选择图(英文版 ) easily blame, to prevent the broken window effect. Supervise the leading cadres to play an exemplary role, take the lead in the strict implementation of the < code > and < rule >, lead to safeguard the solemnity and authority of the party discipline, ensure that the party discipline and the laws and regulations for implementation in place. Throughout the discipline in the daily supervision and management, strengthen supervision and inspection, from the thorough investigation of violations of discipline behavior. Strengthen to key areas, key departments and key projects as well as the masses reflect the concentration of the units and departments for supervision. - strengthening supervision, discipline inspection and supervision of cadres to set an example for compliance with the < code > and < rule > is a man must be hexyl, blacksmith needs its own hardware. Discipline inspection organs as the executor of the party discipline, and supervisor of the defenders, for its supervision must be more strictly, discipline inspection and supervision of cadres to firmly establish the awareness of Party Constitution, sense of discipline and rules consciousness, politics loyalty, sense obey. Action speak Ji Ordinance to set an example of the regulations of the rule of law, strengthen supervision and accept the supervision of the firmness and consciousness, do comply with < > and < >. To firmly establish the discipline must first be disciplined, the supervisor will be subject to the supervision of "concept, and consciously safeguard and implement party compasses party, take the lead in practicing" three strict real strict, so loyal, clean, play. To be good at learning, the Constitution and the < code > as morality, politics and brought to fruition; to implement < >, do not want to, dare not, not with disciplinary ruler to supervision; to discipline a ruler, often the control inspection, and consciously in the ideological red line to draw the row Ming Good accumulation is indeed the bottom line, so that the heart has fear, said to have quit, the line has ended. Attached: indifferent to heart, calmly to the table in our life, there are many unpredictable things will happen, some good, some bad things, we cannot control is powerless to stop, but with time, you will find in life sometimes turns out to be not good, some bad things finally turned out to be a good thing, but then we muddy however did not know, this is the life teach us things. 1, life can be complex, can also be simple. Want simple life of precipitation, to have enough time to reflect, to make Become more perfect. Life is the most important thing is not to win, but the struggle; not to have conquered, but to have fought well. 2, the plain is the background of life. Live a plain life, give up on themselves is not a coward, but the wise answers; not disillusioned after the heart, such as ashes, but experience the storm after the enlightenment; not unrewarding perfunctorily, but calm attitude of life of unrestrained self-confidence. Plain living, there is no noise noisy, no earthly troubles, more did not fill in the discontent of desire, some just a calm, a calm. 3, memory of heart will not good things to erase the, life is a When no movie, pain is a beginning, the struggle is a kind of process, death is a kind of ending. Give up this giving up is the helpless, do not give up the abandoned, do not give up this giving up is ignorance, do not give up should not give up is persistent. 4, a thing figured is heaven, think impassability is hell. Since the living, to live better. Sometimes we because of too narrow-minded, too care around the chores and penny wise and pound foolish, not worth the candle. Some things to attract trouble and worry, completely depends on how we look at and deal with it. Don't always take everything back to things, and don't get into a blind alley, don't want to face, don't be narrow-minded. Poke to care, is a kind of open-minded, a free and easy. 5, I am not afraid of others behind me a knife, I afraid to look back and see stab me, is my intention to treat people; I am not afraid of the truth to tell the best friend, I'm afraid he turned to it as a joke to tell don't 6, when we are in a positive frame of mind, you will find many good things; and when we are in a negative state of mind, you will find many depressed things; life happy and worry, all is you of life attitude, optimistic, good luck; loss of sink, Eritrea company. When you are in adversity, may wish to change a point of view to think everything over to the good Think, because good mentality decided the fate of the! 7, people are tired, rest; heart tired, calm. Grow up, mature, this society read. Tired and sad, squat down, to their a hug. Because the world no one can sympathize with you, have mercy on you. You cry, tears is your own; you pain, no one can understand. Then you only tears to smile. 8, each people have youth,Each youth are a story, the life of the world never gets easier, I want what, wish the world all know, as has been the same; now want anything, for fear that others know, or like to lose the same. 9, the heart move, everything in the world is followed by birth, Rangrang, important thing is often the most difficult to open one's mouth, because words will reduce its importance; to let strangers people care about your life in the good things, the original is not easy 10, do not blame, do not laugh at who, also don't envy who. Like a person is a kind of feeling, not like a person is true. The truth is easy to explain, I feel Is unspeakable. The best travel life is that you in a strange place found a long lost touched. 11, happy life not in the bustling in, and in the peace of mind; no matter how many grievances, how uncomfortable, and ultimately to heal themselves or their own, others may got you to comfort, but never know your heart is how wanjianchuanxin. 12, ma'am, like a movie, learn to appreciate, learn to be grateful, learn tolerance, and goodness, helping others. Instead of accusing the society, as into one; and an exception is better to give than to what 13, don't envy him A sum of, don't lose your life and the life, respectively is: the former is a we experienced cannot escape in a day finally will last minute, while the latter is our persistent, we want to cherish the memory of those people and things. 14, learn to smile, learn to strong, the world you know so many people, so many people and you are, you cannot change also can't let everyone like you, so also do not want to do. Life is too short to go crazy to love to go to waste, to chase the dream to regret. 15, when temper, a blessing to go. A wounding elegant people, the key is to control their own emotions. With the mouth is the most stupid behavior. A control negative emotions than a can take a city more powerful water flow slow, language is expensive. People spent two years of time to learn to speak, but to spend a few years time to shut up. That is a kind of ability, that is a kind of wisdom. 16, life is not perfect, sometimes, growth is not a cry, not an eyeful of tears, there is no trace of emotion, there is no gleam of hope, no desire, no action, no static, there is only one kind of downward sinking feeling, sink A murky? 6? 7? 6? 7 sink? 6? 7? 6? 7 toward the bottom of the sink. 17, in some way, do not go, you will not know the other side scenery is beautiful. To you is not good, you do not mind too much, no one has an obligation to you; you learn knowledge, is you have weapons, you can start from scratch, but not unarmed; how do you treat people, does not represent how others treat you, if cannot see through this point, only inviting worry. 18, time is like a sponge in the water, as long as you are willing to squeeze, the total water is still there. Every life, after the ups and downs The best test of live, to life, survival and continuation, do not stop the struggle in the joys and sorrows of life on the road, so that different soul to bear life beat, acceptance of suffering. 19, indifferent to heart, calmly in table, elegant and comfortable life, do not take what is so important. The pursuit will be disappointed; to be alive, you will have trouble. Life is the most afraid of what all want to care about, but also what all grasp is not firm, without scenery, separated populations, such as not to desire, all docked in the fate of the end. Why is too rigid, the natural, to go stay not to live, let go of obsession, revel is 20, if the fate of the broken Hopes of sailing, please don't despair, the coast is still, if the fate of the withered petals of the beautiful, please do not sink, the spring is still, life will always be endless trouble, please don't helpless, because they are still alive, is still a dream, the sun still, we still. Lost, keep memories; to get, must work to; but the most important is good to cherish their own. 21, life, select the complex, is to choose the pain; choose a simple, is choose to be happy. The complex world like aSignificance of pride. Hope is the ornate palace, outside people a

    注意事项

    本文(2019PLC恒温控制器设计.doc)为本站会员(上海哈登)主动上传,三一文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一文库(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    经营许可证编号:宁ICP备18001539号-1

    三一文库
    收起
    展开