毕业论文-基于plc的饮料灌装机控制系统设计.docx_第1页
毕业论文-基于plc的饮料灌装机控制系统设计.docx_第2页
毕业论文-基于plc的饮料灌装机控制系统设计.docx_第3页
毕业论文-基于plc的饮料灌装机控制系统设计.docx_第4页
毕业论文-基于plc的饮料灌装机控制系统设计.docx_第5页
已阅读5页,还剩17页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

毕业设计说明书题 目 基于plc的饮料灌装机控制系统设计 专 业 机械制造与自动化 班 级 1001 班 学生姓名 指导老师 2016年1月3日目 录摘要 1第一章 绪论31.1 设计内容31.2 控制要求31.3 设计要求3第二章 控制系统方案设计42.1 饮料灌装流水线的基本结构42.2灌装流水线的工作原理 5第三章 硬件控制设计63.1 plc的选择 6 3.2 传感器的选择 73.3 硬件电路的设计 7第四章 软件控制设计84.1 系统流程图 8 4.2 i/o分配表 104.3 i/o接线图 114.4梯形图 124.5指令表 14第五章 调试说明15 第六章 总结15致谢 16 参考文献 17 摘要随着计算机和网络通讯技术的发展,企业对生产过程的自动控制和信息通讯提出了更高的要求。饮料生产线比较复杂,生产环节也很多。其中饮料的灌装就是饮料生产线上重要的生产环节。控制系统主要由一台plc、交流异步电机、液罐、多个灌装状态检测传感器、故障报警蜂鸣器、产量统计显示器等组成。其中电机用来控制运送饮料瓶的传送带部分。本控制系统有两个特点:一是输入、输出设备比较多;二是所需实现的控制是顺序逻辑控制、模块控制以及计算统计功能。采用plc控制饮料灌装生产线,实现了饮料生产线的自动化、智能化。对劳动生产率的提高,饮料质量和产量的提高具有深远的意义。关键词 可编程序控制器(plc)/自动化/智能化 abstractwith the computer and network communication technology, business-to-production process automation and information and communication put forward higher requirements. beverage production line more complex production processes are also numerous. one drink is a beverage filling production lines most important production areas.control system mainly by a single plc, ac asynchronous motor, tank, multiple filling state detection sensor, fault alarm buzzer, the output statistics displays so on. one motor is used to control the delivery of beverage bottles conveyor belt parts.the control system has two characteristics: first, input and output devices are more; second is required in order to achieve control is logic control, module control, and computing statistical functions.use of plc control beverage filling production line, to achieve the soft drink production line automation and intelligence. on labor productivity gains, improve beverage quality and yield far-reaching significance.key words: plc ,automation ,intelligence第一章 绪 论 1.1设计内容饮料灌装机控制系统设计1.2控制要求(1)系统通过开关设定为自动操作模式,一旦启动,则传送带的驱动电机启动并一直保持到停止开关动作或灌装设备下的传感器检测到一个瓶子时停止;瓶子装满饮料后,传送带驱动电机必须自动启动,并保持到又检测到一个瓶子或停止开关动作。(2) 当瓶子定位在罐装设备下时,停顿1秒,罐装设备开始工作,罐装过程为5秒钟,罐装过程应有报警显示,5秒后停止并不再显示报警(报警方式为红灯以0.3秒时间间隔闪烁)。(3) 灌装完一瓶须进行称重比较:若大于或等于700克为正品,并计数1次,计数满24瓶为一箱,并令蜂鸣器报警一次(鸣响1s);若小于700克则为次品,同时也计数1次,计满24瓶为一箱,并令蜂鸣器报警一次(鸣响2s)瓶装饮料的重量以模拟量的形式自模拟量通道a/d输入(重量kg与模拟量电压输入及数字量的对应值可以自己设定)。(4)可以手动对计数值清零(复位)。1.3设计要求(1)i/o编址(2)i/o端子接线图(3)编程与调试第二章 控制系统方案设计2.1饮料灌装流水线的基本结构饮料灌装流水线的基本结构图1-1所示:图1-1饮料灌装流水线的基本结构2.2灌装流水线的工作原理灌装流水线的运作是通过电机和灌装设备来控制的。通过电动机的运转,带动流水线的工作。而灌装设备的开通则直接控制饮料流通。通过输入plc软件程序,直接控制电机及流水线的运作.。流水线由传感器实时监控,由plc控制,控制准确。当plc运行时,cpu根据用户按控制要求编写好并存于用户存储器中的程序,按序号作周期性的程序循环扫描,程序从第一条指令开始,逐条顺序执行用户的程序直到程序结束。然后重新返回第一条指令,再开始下一次扫描;如此周而复始。实际上,plc扫描工作除了执行用户程序外,还要完成其他工作,整个工作过程分为自诊断、通讯服务、输入处理、输出处理、程序执行五个阶段。如图2-1所示:图2-1 plc循环扫描工作图第三章 硬件控制设计3.1 plc的选择(1)plc的结构与特点:plc的构成从结构上分,plc分为固定式和组合式(模块式)两种。固定式plc包括cpu板、i/o板、显示面板、内存块、电源等,这些元素组合成一个不可拆卸的整体。模块式plc包括cpu模块、i/o模块、内存、电源模块、底板或机架,这些模块可以按照一定规则组合配置。plc编程简介体积小,重量轻,耗电少,接线编程简单,可靠性高,反应快,可靠性高,抗干扰能力强。plc一经出现,由于它的自动化程度高、可靠性好,设计周期短、使用和维护简便等独特优点,备受国内外工程技术人员和工商业界厂商的极大关注,生产plc的厂商孕起。随着大规模集成电路和微处理器在plc中应用,是plc的功能不断得到增强,产品得到飞速发展。目前,plc在国内外已广泛应用于钢铁、石油、化工、电力、建材、机械制造、汽车、轻纺、交通运输、环保及文化娱乐等各个行业。plc常用程序设计语言简介方源 可编程控制器程序设计语言。在可编程控制器中有多种程序设计语言,它们是梯形图语言、布尔助记符语言、功能表图语言、功能模块图语言及结构化语句描述语言等。其中梯形图程序设计语言是用梯形图的图形符号来描述程序的一种程序设计语言。是最广泛,最受欢迎的一种编程语言。它采用梯形图程序设计语言,程序采用梯形图的形式描述。这种程序设计语言采用因果关系来描述事件发生的条件和结果。每个梯级是一个因果关系。在梯级中,描述事件发生的条件表示在左面,事件发生的结果表示在后面。梯形图程序设计语言是最常用的一种程序设计语言。它来源于继电器逻辑控制系统的描述。在工业过程控制领域,电气技术人员对继电器逻辑控制技术较为熟悉,因此,由这种逻辑控制技术发展而来的梯形图受到了欢迎,并得到了广泛的应用。(2)选择plc:三菱公司是日本生产plc的主要厂家之一。该公司生产的fx2n系列机型属于高性能叠装式机型,是三菱公司上网典型产品,fx2n系列plc具有数十种编程元件。fx2n系列plc编程元件的编号分为两部分:第一部分是代表功能的字母。如输入继电器勇“x”表示、输出继电器用“y”表示。第二部分为数字。数字为该器件的序号。根据所需的用户输入输出设备及i/o点数,选择fx2n系列型的plc就可以满足控制系统的要求。3.2传感器的选择传感器是一种能把物理量或化学量转变成便于利用的电信号器件,它获得的信息正确与否,直接关系到整个系统的精度。通过对各个传感器的工作环境和用途的分析确定各个传感器的型号分别是(1)灌装监测传感器选型为:光电传感器(热型红外线传感器)(2)称重监测传感器的选型为:压力传感器(压阻式)采用红外线传感器来监测空瓶子的到来后动作,起到接通开关的作用。它是利用被测物体热辐射引起敏感元件温度的变化进行测量。常温下工作且价格更便宜,不受可见光的影响。压电电阻型半导体压力传感器,灵敏度高,输出信号大,响应速度快,性能稳定且电阻值可在较宽的范围内调整以适应不同需要。3.3硬件电路的设计电气控制原理图如图3-1所示:图3-1 电气控制原理图图3.1中断路器qf1、 qf2、 qf3、 qf4、 qf5将三相电源引入,同时qf1、 qf2、 qf3、 qf4、 qf5为电路提供短路保护。电动机的过载保护分别由三个继电器提供。第四章 软件控制设计4.1系统流程图设计的灌装过程是:自动操作模式,开关启动,传送带运送瓶子经过传感器检测,若检测到瓶子,当瓶子定位在罐装设备下时,停顿1秒,罐装设备开始工作,罐装过程为5秒钟,罐装过程应有报警显示,5秒后停止并不再显示报警。上述工作完成后压力传感器开始检测次品和正品。依次有相应的传送带传送进行加工,这样就完成了整个灌装工作的一个工作循环过程。系统设计流程图如图4-1所示。图4-1饮料罐装流水线系统设计流程图4.2 i/o分配表根据对生产流水线控制系统的控制要求分析,其输入信号有系统的开启、 停止按钮信号和手动清零按钮信号;输出信号有传送带驱动信号、警示灯信号,在进行i/o地址分配时,要特别注意不要产生地址冲突的错误。设计本控制系统共使用了6个输入点,6个输出点,i/o分配如表4-2所示。类别元件plc元件作用输入(i)sb0xo启动按钮sb1x1停止按钮sb2x2光电传感器sb3x3压力传感器1sb4x4压力传感器2sb5x5手动清零输出(o)km1y1启动传送带驱动电机km2y2驱动灌装设备km3y3启动正品传送带km4y4启动次品传送带hry5报警显示hay6蜂鸣器响表4-2 i/o分配表4.3 i/o接线图根据i/o分配表得到i/o接线图图4-3 i/o接线图4.4 梯形图当按下启动开关时,系统开始工作其实现过程如下:图4-4 梯形图4.5指令表相应指令表如下:ld x0 ld t2 out t4or m0 ani t1 k10out m0 out y5 out m3ld m0 ld m2 ld c1or y1 and x3 rst c1ani x1 or y3 ld c2out m2 ani x4 or m4ani m1 out y3 ani t5out y1 ld x3 out t5ld x2 out c1 k20or m1 k24 out m4ani t1 ld m2 ld c2out m1 and x4 rst c2ld m1 or y4 ld x5out t0 ani x3 zrst t0 k10 out y4 t5ld t0 ld x4 zrst c1out y2 out c2 c2out t1 k24 endk50 ld m3ld t0 ani t4ani t3 ld m4out t2 ani t5 k3 out y6ld t2 ld c1out t3 or m3 k3 ani t4第五章 调试说明(1)在电脑上安装gx-developer软件,程序编号后,将程序输入gx-developer软件中,在电脑上进行初步仿真调试。(2)先将plc程序传入程序控制器中。(3)对各个输入i/o口给信号处理,看各个输出口是否有相应的输出,如果没有按照设计要求输出,对程序进行更改,直到各输出口有相应的输出。(4)如果条件允许的话,用编程软件将程序输入plc中,在确认plc的电源、外部接线和程序输入无误的情况下,接通电源,按照流程图的顺序进行调试,最终使整个系统能准确、可靠的工作。第六章 总结通过饮料罐装机控制系统的课程设计,我从中掌握了什么是设计程序,设计程序工作的基本过程及各阶段的基本任务,熟悉了设计程序总流程图,加深了对plc的理解,课本上的知识是机械的表面。通过努力把课本上的知识变得更为简单,对实验原理也有了更深的理解。通过这次课程设计,使我更为全面系统的了解plc的构造原理和基本实现方法。把课本的知识变得生动有趣,激发了我们的学习积极性,把学过的原理加以强化,把课堂学过的知识通过自己的设计程序表示出来,加深了对理论知识的理解。现在通过自己的动对手做实验,理论联系实际,对plc的原理认识更加深刻。在调试时应该很仔细,一步一步调试下来,做到准确无误。这次课程使我意识到只有理论知识是远远不够的,只有把所学的理论知识与实践相结合起来,才是正确的,才能提高自己动手能力和独立思索的能力。同时对于plc发展历史、强大功能、应用领域以及系列知识得到了大概的系统认识,也初步了解了一个完整的系统开发的过程,本次课设,对于创造思维的培养和开发能力的锻炼有很大的帮助。在编程过程中,领略到了熟能生巧的含义。编程不仅要求有良好的基础,而且要求对各种程序有深刻的了解,同时深切感受到团队合作的重要性,尤其是在查资料的过程中,人多力量大,大家一起努力,查找资料的效率就提高了许多,大家在一起探讨,相互学习,分工细化,互相提高,解决问题的速度就快多了。老师知识的帮助,经验的传授,也是本次课设的一道美丽的风景线,真正起到了抛砖引玉的目的。这次课设让我的动手能力得到了大大的锻炼,解决实际问题的能力得到了大大的提高,为以后学习和工作奠定了一定的基础。致 谢通过这一阶段的努力,我的毕业论文饮料灌装机控制系统设计终于完成了,这意味着大学生活即将结束。在大学阶段,我在学习上和思想上都受益非浅,这除了自身的努力外,与各位老师、同学和朋友的关心、支持和鼓励是分不开的。在本论文的写作过程中,指导老师,从选题到开题报告,从写作提纲,到一遍又一遍地指出每稿中的具体问题,严格把关,循循善诱,在此我表示衷心感谢。同时我还要感谢在我这次毕业设计过程中给我极大关怀和支持的各位老师以及关心我的同学和朋友。参考文献1廖常初.fx系列plc编程及应用m.北京:机械工业出版社,2005.2谢克明.可编程控制器原理与程序设计m.北京:电子工业出版社,2002.3戴一平.可编程控制器技术及应用m.北京:机械工业出版社,2004.4阮友德.电气控制与plc实训教程m.北京:人民邮电出版社,20015李道霖.电气控制与plc原理及应用m北京:电子工业出版社,20046张万忠.可编程控制器应用技术m北京: 化学工业出版社,20017王延才.电子技术m.北京:高等教育出版社,20018台方.可编程序控制器应用教程. 北京:中国水利水电出版社,2001.9李颖.谭立新 基于pc和plc精确定量灌装控制系统【期刊论文】-制造业自动化200910范永胜.电气控制与plc应用.北京:中国电力出版社,2007.请删除以下内容,o(_)o谢谢! the term autism refers to a cluster of conditions appearing early in childhood. all involve severe impairments in social interaction, communication, imaginative abilities, and rigid, repetitive behaviors. to be considered an autistic disorder, some of these impairments must be manifest before the age of three. the reference book used by mental health professionals to diagnose mental disorders is the diagnostic and statistical manual of mental disorders , also known as the dsm. the 2000 edition of this reference book (the fourth edition text revision known as dsm-iv-tr ) places autism in a category called pervasive developmental disorders . all of these disorders are characterized by ongoing problems with mutual social interaction and communication, or the presence of strange, repetitive behaviors,interests, and activities. people diagnosed with these disorders are affected in many ways for their entire lives. description each child diagnosed with an autistic disorder differs from every other, and so general descriptions of autistic behavior and characteristics do not apply equally to every child. still, the common impairments in social interaction, communication and imagination, and rigid, repetitive behaviors make it possible to recognize children with these disorders, as they differ markedly from healthy children in many ways. many parents of autistic children sense that something is not quite right even when their children are infants. the infants may have feeding problems, dislike being changed or bathed, or fuss over any change in routine. they may hold their bodies rigid, making it difficult for parents to cuddle them. or, they may fail to anticipate being lifted, lying passively while the parent reaches for them, rather than holding their arms up in return. most parents of autistic children become aware of the strangeness of these and other behaviors only gradually. impairments in social interaction are usually among the earliest symptoms to develop. the most common social impairment is a kind of indifference to other people, or aloofness, even towards parents and close care-givers. the baby may fail to respond to his or her name being called and may show very little facial expression unless extremely angry, upset, or happy. babies with autism may resist being touched, and appear to be lost in their own world, far from human interaction. between seven and 10 months of age, most infants often resist being separated from a parent or well-known caregiver, but these infants may show no disturbance when picked up by a stranger. other children with autism may be very passive, although less resistant to efforts by others to interact. however, they do not initiate social interaction themselves. still others may attempt to engage with adults and peers, but in ways that strike others as inappropriate, or odd. in adolescence and adulthood, some of the higher-functioning individuals with autistic disorders may appear overly formal and polite. they may react with little spontaneity, as if social interaction doesnt come naturally or easily to them, and so they are trying to follow a pre-determined set of rules. some individuals with autism have normal intelligence, and many have special talents in areas such as music or memory. however, individuals with autism may have other mental or emotional problems that co-exist with their autism. some of these other disorders may include impulse control disorders, obsessive-compulsive disorder , mood and anxiety disorders, and mental retardation . psychological and family factors. although henry maudsley, in the late 1800s, was the first psychiatrist to focus on very young children with mental disorders, it was the psychiatrist leo kanner who coined the phrase early infantile autism in 1943. kanner believed that the parents of children with autistic behaviors were emotionally cold and intellectually distant. he coined the term refrigerator parents to describe them. his belief that parental personality and behavior played a powerful role in the development of autistic behaviors left a devastating legacy of guilt and self-blame among parents of autistic children that continues to this day. recent studies are unequivocal, however, in demonstrating that parents of autistic children are no different from parents of healthy children in their personalities or parenting behaviors. in fact, many families with an autistic child also have one or more perfectly healthy children. because autistic children can be extremely sensitive to change, any change within the family situation can be potentially traumatic to the autistic child. a move, divorce, birth of a sibling or other stressors that occur in the lives of most families may evoke a more extreme reaction from an autistic child. while there is no single neurological abnormality found in children with autistic disorders, some research using non-invasive brain imaging techniques such as magnetic resonance imaging (mri) suggests that certain areas of the brain may be involved. several of the brain areas being researched are known to control emotion and the expression of emotion. these areas include the temporal lobe (large lobe of each side of the brain that contains a sensory area associated with hearing), the limbic system, the cerebellum, the frontal lobe, the amygdala, and the brain stem, which regulates homeostasis (body temperature and heart rate). recent research has focused particularly on the temporal lobe because of the finding that previously healthy people who sustain temporal lobe damage may develop autistic-like symptoms. in animal research, when the temporal lobe is damaged, social behavior declines, and restless, repetitive motor behaviors are common. when measured by mri, total brain volume appears to be greater for those with autistic disorders. other neurological factors include lesions to the brain, congenital rubella, undiagnosed and untreated phenylketonuria (pku), tuberous sclerosis, and retts disorder (a related condition in which the baby develops in an apparently normal manner through age five months, and then begins to lose communicative and social interaction skills). there is also evidence of a higher proportion of perinatal complications (complications arising around the time of giving birth) among children with autistic symptoms. these complications include maternal bleeding after the first trimester and meconium in the amniotic fluid. (meconium is a substance that accumulates in the bowel of the developing fetus and is discharged shortly after birth.) some evidence suggests that the use of medications during pregnancy may be related to the development of autistic symptoms. as newborns, children with autistic behaviors show a higher rate of respiratory illness and anemia than healthy children. allergies, infections, and immunizations. some professionals believe that autistic disorders may be caused by allergies to particular fungi, viral infections, and various foods. no controlled studies have supported these beliefs, but some parents and professionals report improvement when allergens and/or certain foods are eliminated from the diet. viral infections of the mother, such as rubella, or of the young child, such as encephalitis, mumps, and measles, occasionally appear to cause autistic disorders. the common childhood immunization series known as mmr (measles, mumps, rubella) has recently come under scrutiny as a possible cause of some autistic conditions.basketball can make a true claim to being the only major sport that is an american invention. from high school to the professional level, basketball attracts a large following for live games as well as television coverage of events like the national collegiate athletic association (ncaa) annual tournament and the national basketball association (nba) and womens national basketball association (wnba) playoffs. and it has also made american heroes out of its player and coach legends like michael jordan, larry bird, earvin magic johnson, sheryl swoopes, and other great players. at the heart of the game is the playing space and the equipment. the space is a rectangular, indoor court. the principal pieces of equipment are the two elevated baskets, one at each end (in the long direction) of the court, and the basketball itself. the ball is spherical in shape and is inflated. basket-balls range in size from 28.5-30 in (72-76 cm) in circumference, and in weight from 18-22 oz (510-624 g). for players below the high school level, a smaller ball is used, but the ball in mens games measures 29.5-30 in (75-76 cm) in circumference, and a womens ball is 28.5-29 in (72-74 cm) in circumference. the covering of the ball is leather, rubber, composition, or synthetic, although leather covers only are dictated by rules for college play, unless the teams agree otherwise. orange is the regulation color. at all levels of play, the home team provides the ball. inflation of the ball is based on the height of the balls bounce. inside the covering or casing, a rubber bladder holds air. the ball must be inflated to a pressure sufficient to make it rebound to a height (measured to the top of the ball) of 49-54 in (1.2-1.4 m) when it is dropped on a solid wooden floor from a starting height of 6 ft (1.80 m) measured from the bottom of the ball. the factory must test the balls, and the air pressure that makes the ball legal in keeping with the bounce test is stamped on the ball. during the intensity of high school and college tourneys and the professional playoffs, this inflated sphere commands considerable attention. basketball is one of few sports with a known date of birth. on december 1, 1891, in springfield, massachusetts, james naismith hung two half-bushel peach baskets at the opposite ends of a gymnasium and out-lined 13 rules based on five principles to his students at th

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论