本科毕业论文___基于单片机的智能传感器设计.doc

本科毕业论文___基于单片机的智能传感器设计.doc

  1. 1、本文档共54页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的智能传感器设计 摘要 随着自动化技术的发展和微电子技术的进步,以及现场总线技术的日益成熟,数控技术在生产过程中的应用越来越广泛,对现场信号的采集、传输和数据处理提出更高的要求。 本论文阐述了现场信号通信的发展概况和智能变送器的现状,分析了智能变送器的作用和工作原理,针对应用中使用的不同的传感器输出不同幅值的弱直流电信号的要求,设计了智能变送器系统。它实现了弱直流电信号放大,并能根据信号的幅值大小来自动改变放大系数,提高测量灵敏度,对采样数据处理后,既能输出4~20mA DC标准电流信号,又能通过RS—485总线与其他上位机或同位机进行数字通信。系统根据传感器输出的信号范围通过编程设定由集成测量放大器AD623和非易失性数控电位器X9241组成的放大环节的增益,将弱信号放大到0~5V DC,通过多通道12位串行A/D转换器TLC2543进行A/D转换,将采集到的数据送给单片机80C52,由单片机进行滤波、标度变换等数据处理后,通过8位并行D/A转换器DAC0832将数据转换成4~20mA DC信号输出,或通过隔离后的RS—485总线将数据传送给上位机。系统设计有独立的看门狗电路和EEPROM存储器电路,提高了系统可靠性。系统软件采用MCS—51单片机汇编语言,模块化程序设计方法,设计了仪表监控主程序、放大器增益设定程序、ADC转换和处理子程序、DAC转换等子模块,并设计了相应的通信协议。 关键词 智能变送器;通信;单片机;现场总线;测量信号 Intelligent sensor based on single-chip design Abstract With the development of Automation and the progress of the micro electronics technology, and the mature of Field Bus, digital control technology is widely used in production process, so collection, transition and treatment of signal should meet higher requirements. This thesis is about general development of field signal communication and status of intelligent transducer, analyzes function and operation principle of intelligent transducer. The transducer is designed chiefly for different weak output signal of non-standard sensors. It can amplify the weak signal, alter the amplification factor according to the size of the weak signal and improve system sensitivity. After sample data processed, it not only can output 4~20mA standard direct current, but also can communicate with other computers and single chip by mean of RS—485 bus. According to the output signal range of the sensor, the system sets the gain of amplification link which is composed of AD623 and X9241 by way of program, amplifies the weak signal to DC 0~5V, then makes A/D transition through, multi—pas

文档评论(0)

追风少年 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档