奶牛信息采集系统设计与开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着我国奶牛养殖业的快速发展,如何提高牛奶的产量和质量、增加效益是奶业持续发展所面临的重要课题。促进奶牛养殖的标准化、集约化和科学化建设,实现从传统生产管理向现代管理方式转变,以规模经营为载体,不断提高科技含量,对于我国奶业的持续健康发展是至关重要的。
     在规模养殖场中,对奶牛个体及相关信息的获取和处理是一项及其重要而又繁琐的工作。依靠人工采集的数据有时候会有很大的误差,实时性也不高,给管理带来了很大的难度。计算机技术的发展和在养殖业中的应用,使得对奶牛的管理和监控变得更科学、严谨和便捷。
     本课题在虚拟仪器及其软件开发平台LabVIEW的基础上,采用了超低功耗的无线收发模块NRF24E1,结合高性能的Atmega32单片机技术,设计了一种一对多点的低功耗的无线数据采集系统,可以准确、快速、可靠地实现对奶牛生活的环境信息、活动量、产奶量等数据的实时采集、存储、显示以及历史数据查询等多种功能,并极大地降低了系统的开发周期和成本,达到了经济实用的目的。
     本文主要介绍了系统的总体方案设计、数据采集终端的软硬件构成、低功耗无线通讯模块的硬件电路和软件编程、RS232串口通信以及上位机对采集数据的接收、显示和管理。在数据采集端,温湿度和活动量的测量选用了数字型的传感器SHT11和Z02,把输出的数字信号直接送到Atmega32单片机进行处理,只需极少的外围器件就可以工作,简化了电路设计。称重传感器输出的模拟信号经过仪用放大器AD620的调理后,接到Atmega32的PA口进行A/D转换和处理,实现了对产奶量数据的采集。在无线通讯部分,选用了2.4GHz低功耗的nRF24E1收发芯片,待机状态最大电流小于2μA,工作时的在软件中通过设定不同的地址就可以方便地实现一点对多点的通讯模式。上下位机间简单的串口通讯和上位机图形化的Labview编程,使得整个系统模块化程度高、结构清晰、调试方便、运行稳定可靠。
     实验结果表明,本课题开发的奶牛信息采集系统用户界面友好,功能比较完备,操作简单方便,能满足奶牛养殖场对基本数据的采集需要,有着良好的应用前景。
With the rapid development of dairy aquaculture in our country,how to increase the production of milk, improve the quality and make more profit benefits is an important subject.To promote the standardization of dairy farming, intensive and scientific, realize the production management from the traditional to the modern management mode ,to the scale operation as the carrier and continuously improve the scientific and technological content,is vital for China's dairy industry to development sustained and healthy
     It is an important and complicated work to acquire and process the dairy and related individual information in scale farms farms. There will be a lot of errors sometimes and not real-time rely on manual data collection,it will be bring a lot of difficult to the management.
     The development of computer technology and applications in the aquaculture industry making the management and monitor dairy cows more scientific, rigorous and convenient.This paper designed a one-to-many points of the low-power wireless data acquisition system based on the virtual instrument and its software development platform LabVIEW, using the ultra-low power wireless transceiver module NRF24E1, combined with high-performance MCU (Atmega32) technology, and it can be accurate, rapid and reliable to realize a variety of functions that collect environmental, activity, milk yield information of dairy cattle online, and storage, display and query historical data, and it can be also greatly reduces the development cycle and cost of system, to achieve the purposes of economical and practical.
     This paper introduces the design of overall system, the software and hardware that consists of terminal data acquisition,the hardware circuit and software programming of low-power wireless communication module, serial communications of RS232, as well as to acquisition, display and management the receive data by PC. In the terminals of data Acquisition, temperature and humidity measurement and activity measurement selection digital sensor SHT11 and Z02, system can directly send the digital signal that sensor output to MCU Atmega32 processing, only very few external devices can be work, and simplifying the circuit design.Analog signal that Weighing sensor output through instrument amplifier AD620 conditioning connect to the PA port of Atmega32 for A / D conversion and processing, and then can be realize the milk yield data collection. In the wireless communication select a low power 2.4GHz transceiver chips nRF24E1, it’s maximum standby current less than 2μA, and can also be easily achieved a point to multipoint mode communication by setting a different address in software. The graphical programming of Labview,and the simple serial communication between the host computer and the slave computer, making the whole system as high degree of modularity, clear structure, easy adjustment, stable and reliable operation.
     The experimental results show that this system of dairy information acquisition has features such as friendly user interface, complete functions and simple operation,it can meet the basic data collection needs of dairy farm, and has good application prospects.
引文
[1]魏克佳.中国奶业协会年度工作报告[J].中国奶牛,2008(9):5-9.
    [2]李翔,杨利国.利用耕牛发展我国奶业[J].中国奶牛,2008(7):3-5.
    [3]魏克佳.当前我国奶业形式与发展前景[J].中国奶业,2006(1):1-2.
    [4]聂德宝.以色列奶牛业情况介绍[J],黑龙江动物繁殖.2003,11(4):41-42.
    [5]王峰,田春英等.澳大利亚奶牛业[J],畜牧与饲料科学,2005(1):48-49.
    [6]小林好作.日本奶牛养殖和管理技术的现状[J].中国奶业,2006(10):10-11.
    [7]Stefan Rensing.奶牛登记、产奶记录、数据处理及育种价值评估[J].中国奶业,2006(10):13-14.
    [8]徐春阳.美国奶业给我们的启示[J].农场经济管理,2007(5):15-17.
    [9]李仕坚,陆阳清.美国奶牛业考察报告[J].中国奶牛,2007(4):50-52.
    [10]魏克佳.当前我国奶业形式与发展前景[J].中国奶业,2006(1):1-2.
    [11]李胜利.中国奶牛养殖产业发展现状及趋势[J].中国畜牧杂志,2008,44(10):45-49.
    [12]刘成果.推进奶牛养殖标准化发展现代奶牛养殖业[J].中国乳业,2008(4):11-14.
    [13]高祀敏.奶牛喂饲料存在的问题[J].饲料世界,2006(7):53-55.
    [14]谢岷.牛肉也有了“身份证”[J].山西农业,2007(3):49.
    [15]周良墉.9WAFM -11型奶牛自动精准饲喂系统[J].农业装备技术,2004,30(1):45.
    [16]花俊国,周永亮等.奶牛自动饲喂系统的研究与开发[J].农业工程学报,2006,22(12):79-83.
    [17]余泳昌,栗文雁,胡丰收等.基于单片机的奶牛精量饲喂系统的设计研究[J].农机化研究,2008(9):108-111.
    [18]柳平增,丁为民等.奶牛个体识别及信息采集系统的设计[J].计算机测量与控制,2006,14(10):1410-1416.
    [19]张颖超,王金成等.超低功耗奶牛发情期监测器的设计[J].微计算机信息,2008,24(2):74-76.
    [20]贾北平,马锦儒,李亚敏.奶牛体温无线收发数据采集系统的设计与实现[J].农机化研究,2008(7):99-101.
    [21]周林,殷侠等编著.数据采集与分析技术[M].西安:西安电子科技大学出版社,2005.1-6.
    [22]何希才.传感器及其应用[M].国家工业出版社,2001.5.
    [23]沈兰荪.高速数据采集系统的原理与应用[M ].北京:人民邮电出版社,1995.20-35.
    [24]杨乐平,李海涛等.LabVIEW程序设计与应用[M].北京:电子工业出版社,2001.11-15.
    [25]杨乐平,李海涛等.LabVIEW高级程序设计[M].北京.清华大学出版社,2003(4):42-50.
    [26]刘君华.基于LabVIEW的虚拟仪器设计[M].北京:电子工业出版社,2003.1-3.
    [27]陆劲昆译.LabVIEW图形编程[M].北京:北京大学出版社,2002.30-40.
    [28]周求湛,钱志鸿等.虚拟仪器与LabVIEWTM7 Express程序设计[M].北京北京航空航天大学出版社,2004.6-12.
    [29]俞铁岳,林建欢,黄宜坚等.虚拟仪器和Labview简介[J].福建电脑,2004(2):2-5.
    [30]Mok Aloysius K,Stuart Douglas.RTL semantics for LabVIEW[J].IEEE Aerospace Applications Conference Proceedings,1998(3:)61-71.
    [31]应怀樵.虚拟仪器与PC机技术的现状与发展[J].计算机自动测量与控制,2000(8):1-5.
    [32]Jamal.Rahman. Oriented programming with LabVIEW Nuclear Instruments and Methodsin Physies Research[J].Graphical object,1994(1):438-441.
    [33]Whitley, K. N. Blackwell, Aan F. A Surrey of LabVIEW Programmers. Journal of Visual Languages&Computing[J]. Visual Programming in the Wild,2001,12(4): 435-472
    [34]LabVIEW Measurements Manual. National Instruments Corp,USA,2003 [35}孙春龙.基于LabVIEW多通道数据采集分析系统开发[D].华中科技大学图书馆,2004.
    [36]马双宝,王攀,曾勇等.基于LabVIEW7.0虚拟信号发生器的实现[J].传感器与仪器仪表,2005,21(1):89-90.
    [37]陈敏.虚拟仪器软件LabVIEW在仪器控制中的应用[J].宇航计测技术,1999,19(1):32-36
    [38]Gary W.Johnson,Richard Jennings.武嘉澎,陆尽昆译.LabVIEW图形编程[M].北京:北京大学出版社,2002.3-15.
    [39]IVI Compliance Package Release Notes.National Instruments Corp,USA,2003
    [40]戴敬,王世立.LabVIEW基础教程[M].北京:国防工业出版社,2002.1-215.
    [41]NI Educational Laboratory Virtual Instrumentation Suite User Manual,National Instruments Corporation,2003
    [42]刘君华.虚拟仪器图形化编程语言[M].西安:西安电子科技大学出版社,2001.35-45
    [43]张羽.虚拟仪器的技术研究[M].南京:南京航空航天大学,2000.12-24.
    [44]National Instruments Corp.LabVIEW User Manual. Austin,Texas USA.January 1998.27-444
    [45]程学庆,房晓溪,韩薪莘等.LabVIEW图形化编程与实例应用[M].北京:中国铁道出版社,2005.3-8.
    [46]杨忠仁,饶程,皱建等.基于LabVIEW数据采集系统[J].重庆大学学报,2004,27(2):P32-35.
    [47]丁易新.PC机与AVR单片机之间串行通信的实现[J].现代电子技术,2005(12):32-34.
    [48]胡平平,王晶杰.AVR单片机与PC机打印口高速双向数据通信接口[J].计算机工程与应用,2005(25):112-115.
    [49]王以伦,王洪涛,邓宝林等.嵌入式C编程与AVR单片机的同步串行通信[J].中国科技信息,2005(20):18-30.
    [50]耿德根,宋建国,马潮等.AVR高速嵌入式单片机原理与应用[M].北京:北京航空航天大学出版社,2001.32-46.
    [51]李朝青.单片机学习指导[M].北京:北京航空航天大学出版社,2005.120-156.
    [52]耿德根,宋建国.AVR高速嵌入式单片机原理与应用[M].北京:北京航空航天大学出版社,2002.239-245.
    [53]沈文.AVR单片机C语言开发入门指导[M].北京:清华大学出版社,2003.273-289.
    [54]Atmel Corpration.ATmega32(L)Preliminary.www.atmel.com/literature,2005.
    [55]Mohan,Sibin,Mueller,Frank etc.Timing analysis for sensor network nodes of the Atmega processor family[A].Proceedings of the IEEE Real-Time and Embedded Tech-nology and Applications Symposium[C],2005.405-414.
    [56]http://www.atmel.com
    [57]http://www.sl.com.cn
    [58]王浩鸣.常用无线数据通讯技术比较[J].计算机与现代化,2002(9):35-38.
    [59] Nordic VLSI ASA.nRF24E1 2.4GHz Radio Transceiver with Microcontroller[P].Prel-iminary Product Specification, Datasheet order code:300403-nRF24E1.2003.
    [60]Microchip Technology Inc32K bit SPITM Bus Serial EEPROM [P].Product Datasheet. 2004.
    [61]Nordic white paper.nRF24E1 product apecification [EB/OL],http://www.nvlsi.no/file/Product/date_sheet/nRF24E1_prod_spec_vl_0.pdf.2003—07
    [62]Nordic white paper.One quarter wavelength printed monopole antenna for 2.45GHz[EB/OL].http://www.nvlsi.no/files/Product/data_sheet.nRF24E1_prod_spec_vl_0.pdf,2003—02
    [63]http://www.nordic.com
    [64]Nordic VLSIASA-nRF24E1 2.4 GHz Radio Transceiver with Microcontroller [P].Preliminary Product Specification,2003.
    [65]林嵘.数据转换与接口技术[M].南京:东南大学出版社,2004.2-57.
    [66]李群芳等.单片微型计算机与接口技术[M].北京:电子工业出版社,2001.132-145.
    [67]赵海兰,朱剑,赵祥伟.DS1302实时显示时间的原理与应用[J].电子技术,2004(1):43-46.
    [68]吴道梯.非电量电测技术(第一版)[M].西安:西安交通大学出版社.2001.13-46.
    [69]土文雪,张志勇.传感器原理及应用[M].北京:北京航空航天大学出版社,2004.156-210.
    [70]http://www.178b2b.com/Sells/791970.html
    [71]杨振江,孙占彪等著.能仪器与数据采集系统中的新器件及应用[M],西安:西安电子科技大学出版社,2001.36-38.
    [72]Laubisrutistr.SHT1x_SHT7x Humidity&Temperature Sensor[ED/OL].http://www.sensirion.com,2005-05-04.
    [73]樊建明,陈渊睿.基于数字温度湿度传感器的温室多点测量系统设计[J],传感器与微系统,2007,2(7):89-92.
    [74]熊诗波,黄长艺.机械工程测试技术基础(第三版)[M].北京:机械工业出版社,2006.63-66.
    [75]肖伟.单片机测控系统中的抗干扰技术[J].山东理工大学学报,2006,20(6):106-108.

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

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

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