包装生产线自动计数系统设计.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
包装生产线自动计数系统设计 学生姓名 XXX 院系名称 工 学 院 专业名称 电气工程及其自动化 班 级 学 号 XXXXXXXXX 指导教师 XX 完成时间 包装生产线自动计数系统设计 摘要:在经济飞速发展的今天,各企业都在运用高新技术武装自己。越来越多的产品装配线上及公共场所都采用以单片机为核心的计数系统。 本次设计的自动计数系统以AT89C51单片机为核心,利用光电传感器作为检测装置,用LED数码管作为人机交互的界面。当流水线上有物体通过时,光电传感器检测到有外部信号,由高电平状态变为低电平状态,产生信号,将光电传感器的输出端与单片机I/O连接,通过软件程序设置单片机内部寄存器,当传感器的高低脉冲被单片机接受到时,单片机产生中断,并进入中断服务程序,通过设置中断服务程序,进行计数。通过P0、P1、P2分别接到数码管上,由数码管来显示其个数。当需要置为时按下复位开关,则计数器清零,重新开始计数。通过仿真,系统能稳定计数,确保其实用性。 关键词:自动计数系统; 光电传感器;AT89C51单片机; LED数码管; Design of automatic ?counting? system for packaging production line ABSTRACT In todays rapid economic development, various enterprises are using high and new technology. More and more products on an assembly line and public places in counting system based on single chip microcomputer as the core. The design of automatic counting system USES AT89C51 single-chip microcomputer as the core, the use of photoelectric sensor as the detector, with LED digital tube as human-computer interaction interface. When assembly line have objects through photoelectric sensors to detect the external signal, from high level to low level state, the signal, the output of the photoelectric sensor and MCU I/O connection, through the software program set MCU internal register, when accepted by single chip microcomputer and sensor of pulse, SCM interrupt, and into the interrupt service routine, by setting the interrupt service routine, to count. By P0, P1 and P2 respectively to the digital tube, digital tube to display the number. When you need to buy too to press the reset switch, the counter is reset, start counting again. Through simulation, can make the system stable counting, ensure its practicality. Key words: automatic counting system; Photoelectric sensor; LED digital tube; AT89C51 目 录 摘要 I ABSTRACT II 1、绪论 1 1.1 研究背景 1 1.2 包装生产线自动计数系统国内外发展现状 1 1.3 本文的主要工作 2 2. 系统的组成及工作原理 2 2.1 方案的选取 3 2.2 系统的组成 4 2.3 系统的工作原理 4 2.4 总体设计方案 5 3. 硬件电路设计 6 3.1 红外线检测模块 7 3.1.1 光电传感器的概念 7 3.1.2

文档评论(0)

xingyuxiaxiang + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档