AVR单片机在试验机设备开发中的应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
试验机设备是检测设备的一个分支,多数属于计量产品。我国的试验机设备绝大部分属于中低档技术水平,可靠性、稳定性等关键性指标尚未全部达到要求,在科技创新方面跟国际潮流相比滞缓太多,形势非常严峻。为了弥补国内该行业的不足,我们选择了先进的AVR单片机构建试验机设备的开发平台。
     在国内试验机设备开发中,偏重于使用51系列单片机和16位、32位嵌入机。随着设备功能的扩展、外围芯片性能的提高以及提升试验设备整体性能的要求,51单片机已经不能满足开发要求;而高档嵌入式处理器应用到试验设备又过于复杂,大材小用,不能满足实时性的要求,平台不完善,对旧机器兼容不好,成本过高。ATMEL公司的AVR单片机是快速低功耗的新型单片机,它的各项性能指标更适合当前试验设备的开发需要。使用AVR单片机的试验设备开发平台在国内还没有公开的先例,本文的研究对国内试验设备的开发具有非常重要的意义。
     本文在详细了解AVR单片机的结构及各相关模块的基础上,应用AVR单片机完成了试验设备的人机界面、数据采集系统、以及相关控制等功能模块的设计方案,设计了硬件电路及软件系统。利用ATMEGA64和触摸屏设计的新型试验设备人机界面,显示信息量大,数据显示快捷,触摸按键响应快,可靠性好,充分满足了现代试验设备对人机界面的要求。利用ATMEG169设计的试验设备数据采集系统,有效地减少外围芯片数量,实现多路高效率的数据转换,同时提高了数据处理速度。利用AVR单片机的PWM功能实现了热变形维卡软化点测定仪中对加热功率的控制,以及滴灌综合试验设备中实现恒定压力源。最后探讨了AVR单片机在开发过程中采用的抗干扰技术。
     通过对上述各模块的开发,构建了一套以AVR单片机为核心的试验设备开发平台,提高了系统整体性能。承继了原有51开发平台的模块,大大缩短了s新机型的开发周期。
The testing machines is one branch of test facilities,most of them belongs to measuring instrment.These machines made in our coutry was on the middle or low class.The reliability and stability were not able to meet with the demands,especially for the innvation,cannot compete with international products.So it’s emergency for us.In order to makeup for it,we construct the development platform of testing machine with the more advanced microprocessor—AVR chips,
     In our country ,it’s partial to use 51 series microprocessor ,16 data bit and 32 data bit embeded processor in the development of testing machines.Following with the extend of the machine’s fuction and with the improvement of peripheral chip,also for the demand of improving the properties of the machine,the 51 series microprocessors unable to adapt to it. But for the advanced embeded processor,it’s too complicated and expensive to use,and it’s defficult to compatible with the old system. The AVR microprocessor of ATMEL,a new rapid and low power consumption microprocessor,is better to adapt the demand of developing testing machine. It’s new to use AVR microprocessor in developing testing machine,there was no other open example in our country.So this article is important to the development of domestic testing machine.
     In this paper,based on being familiar with structures and interelated modules of the AVR microprocessor,the followings had been finished with the application of AVR microprocessor:the designed plan of man-machine interface of testing machine,data acquisition system,controling system and other functional modules,the hardware circuit and software had been designed too.The new man-machine interface of testing machine by application of ATMEGA64 and touch LCD was satisfied to the demand for modern testing machine,which with the advantage of big displaying information,rapid and reliable key respondence.The new data collecting system designed with ATMEGA169,the arround chips was retrenched,the hignly actived multi-channal data exchang was achieved,improved the speed of data processing.By the application of PWM function,the stable heat rate control was achieved in the HDT&VICAT meassure instrument,the stable pressure source was also achieved in the drip irrigation testing machine.The antijamming technique in the developing was confered at the last part.
     The developing platform of testing machine was built by the above mentioned designs,with the core construction of AVR microprocessor. The properties of whole system was improved,compartible with the modules of 51 developing platform,and reduced the developed cycles of new type machine greatly.
引文
[1]李军,刘君华. AVR单片机的特点及其应用.测控技术,2002,7:65-68
    [2] AVR Enhanced Risc Microcontroller Data Book[ Z],1997
    [3] Steven F. Barrett, Daniel J. Pack, Mitchell A. Thornton. Atmel acingAVR Microcontroller Primer: Programming and Interface,2008:55-59
    [4] AVR单片机性能介绍. www.21dz.com.cn
    [5] AVR性能简介. www.21dz.com.cn
    [6]二十一世纪测量技术与仪器的发展趋势.中国试验机网www.shiyanji.org.cn
    [7]试验机行业整合是大势所趋.中国试验机网www.shiyanji.org.cn
    [8]试验机行业简介.中国试验机网www.shiyanji.org.cn
    [9]测试测量仪器行业技术发展趋势.中国试验机网www.shiyanji.org.cn
    [10]我国仪器仪表业将发生新的重大转折.中国试验机网www.shiyanji.org.cn
    [11]我国仪器仪表未来发展重点.中国试验机网www.shiyanji.org.cn
    [12]Joe Padue.C programming for microcontrollers.2005,5:76-89
    [13]Dhananjay V. Gadre.Programming and Customizing the AVR Microcontroller.2000,6:112-150
    [14] Richard H. Barnett, Sarah Cox,Larry O'Cul.Embedded C Programming and the Atmel AVR.2002:79-96,117-125
    [15]John Morton. AVR:An Introductory Cours.Newnes,2002:89-105
    [16]丁化成,耿德根,李君凯. AVR单片机应用设计.北京:北京航空航天大学出版社,2002. 1-6
    [17]霍宏伟. Atmega 128/2560系列单片机原理与高级应用.北京:北京希望电子出版社,2006.1-7,22-190,335-351,394-417
    [18]AVR单片机GCC程序设计. www.chip_art.net
    [19]ATmega64.dbf. http://www.Atmel.com
    [20]Atmega169.dbf. http://www.Atmel.com
    [21]宋建国. AVR单片机原理及应用.北京:北京航天航空大学出版社,1998.23-33
    [22]隋越.基于AVR单片机的应用设计实践[硕士学位论文].中国万方数据源
    [23]吴双力,崔剑,王伯岭. AVR-GCC与AVR单片机C语言开发.北京:北京航空航天大学出版社,2004.56-79
    [24]李立军,丁化成.AT90S8535单片机与液晶显示接口模块的接口设计.仪器仪表用户,2002,6:16-18
    [25]李维是.液晶显示应用技术.电子工业出版社,2000.44-57
    [26]廖继海.基于AVR单片机LED显示屏的灰度设计与实现.现代电子技术,2007
    [27]CA320240F.dbf. http://www.21ic.com/
    [28]丁易新. OCMJ图形液晶显示器与AVR单片机的接口设计.电子工程师,2005,4:48-50
    [29]李农. AVR单片机在真彩显示屏中的应用.现代显示,2006,4:125-127
    [30]刘宝栋,刘汉峰.基于Atmega128单片机的多功能数据采集系统.电子产品世界,2006,2:67-69
    [31]李向江.基于AVR单片机的数据采集系统设计.中国西部科技,2006:41-42
    [32]雷刚,王宏远.基于AVR单片机的控制系统设计.计算机与数字工程,2006,11:135-138
    [33]SED1335数据手册. www.laogu.com
    [34] John Park , Steve Mackay . Practical Data Acquisition for Instrumentation and Control Systems.Newnes,2003.36-67
    [35] Arnold H.Van Doren,Arnold H. VanDoren.Data Acquisition Systems.Reston Pub.Co,1982.11-43
    [36]陈勇钢,吴伯农. AD7705高精度数据采集的实现.国外电子测量技术,2006,O1
    [37]尤佳宁.用AVR控制实现数据采集系统[硕士学位论文].万方数据源
    [38]AD7705数据手册. www.laogu.com
    [39]李中华.一种远程数据采集模块的设计.化工自动化仪表,2003,4
    [40]杨俊春,孙砷,赵国良. AVR单片机中的SPI接口.应用科技,2005,02
    [41]谢其德.基于USB的数据采集系统设计.微计算机应用,2005,02
    [42]沈羽,齐伟民,张毅.实时高速数据采集与存储系统的一种实现方法.微计算机信息,2006,1
    [43]徐磊.基于USB块传输方式的实时数据采集.测控技术,2005,02
    [44]蒲海龙,扬增强.单片机控制的PWM调速装置的研究.电机技术,2006,2:37-39
    [45]梁坤.基于AVR单片机PWM功能的数控恒流源研制.今日电子,2007
    [46]郝立中. AVR单片机SPI通信的一种抗干扰方法.单片机与嵌入式系统应用,2004,02
    [47][美]Cay Horstmann著,晏海华等译.C++核心思想.电子工业出版社2004, 8,第三版.
    [48]徐承韬,隋丽萍. PWM直流调速系统设计研究与实践.电气应用,2005,12:15-18
    [49]宋健.基于单片机的直流电动机PWM调速系统.农机化研究,2006,1:102-103
    [50]邓鹏毅,杨丛岭. AVR实现的SVPWM变频调速系统研究.中国测试技术,2006,3:33-36
    [51]吴克研.微灌技术简介.新农业,2002,3:51
    [52]谭明.滴灌系统设计灌水均匀度问题的分析.节水灌溉,2003,5:18-23
    [53]基于单片机的温度控制系统.www.86qb.com
    [54]李鑫.基于AT89C52智能温度控制器的设计.现代电子技术,2006,4
    [55]单片机抗干扰技术及其应用.中国电子资讯网.
    [56]邵贝贝.单片机系统可靠性技术及发展.电子产品世界,1998,8:20-21
    [57]单片机测控系统中的抗干扰技术.www.mcu99.com
    [58]http://www.avrfreaks.com/
    [59]http://www.foravr.net/

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700