全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
2013 International Conference on Mechatronic Sciences Electric Engineering and Computer MEC Dec 20 22 2013 Shenyang China Research of Temperature Measurement For Pigs Base on Infrared Temperature Measurement System WUYi zheng College of Mechanical Engineering HANGZHOU DIANZI University Hangzhou China 5935l6962 Abstract As we all know the temperature in the process of pig breeding is an important factor in determining the pigs health In recent years with the live pig breeding scaled and automationed artificial pigs body temperature measurement has become impractical and along with the rapid development of the non contact infrared temperature measurement technology the continuous improvement of equipment performance it s practical scope expands unceasingly the market share of which has risen steadily For pig breeding the noncontact temperature measurement system has the advantages of safe employment low cost having no influences on pigs growth etc This design adopts the 51 series single chip microcomputer as the main controller which is simple easy to use and has low cost and good stability This system is realized by Atmel company s AT89S52 SCM system USES Key words Infrared Temperature Measurement Single Chip Microcomputer Non contact I INTRODUCTION Temperature is the essential feature of the creatures living activities is also an important sign to observe whether the creature s physiological functions are normal or not Currently in the process of pig breeding technicians mainly contact the back of pigs ears to perceive their temperatures aimed at judging if the pIg IS healthy which has many disadvantages including that is is not healthful 978 l 4799 2565 0 13 3l 00 2013 IEEE 23 SHEN Guo qiang College of Mechanical Engineering HANGZHOU DIANZI University Hangzhou China 190640l9 for human beings to touch pigs it is not easy and accurate to measure pigs s temperatures by hands and in modem mass breeding process it cannot find the pig s deceases and cure it at the beginning which increases pigs fatality Infrared thermometer to measure the SIze of the pig breeding in the process of temperature provides a fast safe non contact measurement means l which can be widely and effectively used in large scale breeding process as well as being showed in the form of digital measurement results making the measurement process more direct and shorter often within a few seconds Its service life is long and it is an ideal temperature measuring instrument II DESIGN THINKING AND PROCESS According to the design of function the whole system can be divided into six modules including single chip microcomputer module alarm module temperature acquisition module display module host desktop module communication module 2 the processis shown in figure 1 A Temperature Acquisition Module aJ Infrared temperature measurement module parameter Temperature acquisition module uses the Sun plus TN infrared Wen Mo group the advantages of which contain the infrared automatic temperature measurement 30 meter far measurmg range 0 5 second reaction time SPI interface and convenient connection with the SCM etc And it solves the problem that the traditional temperature measurement need to contact Infrared temperature measurement module parameters are as shown in table 1 TABLE I INFRARED TEMPERATURE MEASUREMENT MODULE PARAMETER Measurin operating g range 33 220 C temperatu lO SO C re accuracy O 6 C resolution O OS C ratio The Distance response O Ssec coefficien 1 1 time t Emission The rate O o1 l wavelengt S 11 m 14 h 11m power 3V SV SIze 3Sx14x12 mm b Pins of Infrared Temperature Measurement Module Infrared temperature measurement module have five pins The diagram is show their function Among them V stands for pin VCC power supply voltage VCC is generally between 3 v and S v voltage generally considered 3 3 D receives pins for the data when there IS no data reception D is high level C stands for 2 KHZ Clock output pin G is on behalf of the grounding pin When A starts signal pins for measunng temperature low level is effective c Sequence Diagram in the Infrared Temperature Measurement Module As shown in above on infrared measuring temperature sequence diagram is SPI data format receiving data in the falling edge of the CLOCK and a temperature measuring needs to receive S 24 bytes of data in which Ox4c in Item stands for target temperature measurement Ox66 stands for measuring ambient temperature MSB stands for high eight data used to receive temperature LSB stands for the 8 bit data used to receive temperature SUM stands for the verification code when it receives correctly then SUM item LSB MSB CR is seen as end mark it finishes receiving a temperature data when CR is OxODh A frame of data including five bytes what each byte means is as follows Item L ch 4 represents the data for the target temperature F 66 h represents the frame data environmental temperature MSB 8 bit Data the MSB LSB 8 bit Data LSB Sum item the MSB LSB Sum CR Odh the end of the code B Display Module and Alarm Module In this design display module adopts LCD1602 module to display temperature while alarm module uses a buzzer alarm device when the measured temperature value is more than the limited set the buzzer alarms 3 The circuit principle diagram of display module and alarm module is shown in fig3 C Communicational Module The system adopts serial communicational method When we design the communicational circuit of the system if the communication distance IS comparatively short we can use RS232C interface to extend the communicational distance conversely RS 48S interface standard should be used to realize the long distance communication Taking the fact that the system s communicational distance is in the range of 10 meters into consideration we will choose the cheaper RS 232 c interface standard communication circuit design 4 Because the output of the micro controller series chip is TTL level while the PC configuration is RS 232 c interface there exists the inconsistencies in the electrical specifications of the two consequently in the process of PC and single chip microcomputer to communicate with each other there must be a level conversion otherwise it is unable to communicate 5 Therefore in the communication circuit of this system is used MAX232 chip level conversion produced by MAXIM company System principle diagram of the serial communication circuit design is as shown in figure 4 III THE MAIN Loop OF THE SYSTEM SOFTWARE PROGRAMMING standby FigureS The Main Loop of the System Software Programming Above figure is the designed main program flow chart After initialization program the next bit machine software enters the main loop the external interruption of radio frequency identification is in a wait state then the radio frequency identification recognizes an electronic ear tag which is on behalf of the fact that pigs are receiving the temperature measurement within the measuring range module Once the temperature measurement procedures start whether the pig s body temperature is normal or 25 not we should save temperatures After the pigs temperatures shown a judgment will be made if it surpasses the range the buzzer will ring for 5 seconds and end then return to the initial state if not it won t return to the same initial state In this process the pig s temperature is transmitted to PC system and saved IV CONCLUSION This design mainly includes two parts namely hardware design part and software design part and the former includes single chip module the infrared temperature measurement module display module and RS232 level conversion module while the latter mainly includes the main program module the infrared temperature measurement module and the display module Through controlling infrared temperature measuring single chip microcomputer transmits the temperature data to the LCD screen after processing and stores the received temperature to the upper machine Through this practice let me more clearly master the related knowledge of single chip microcomputer and understand its powerful functions Some of its structural characteristics and the related development platform for the design of this system provide a convenient conditions 32 programmable I O ports for the extension in the design of the infrared sensor Wen Mo group and keyboard display module are very flexible and it has a rich source of interruption which makes the system strong and expansible in the data display alarm and so on REFERENCES 1 Nanni Lan The Principle of Infrared Radiation Thermometer and Product Application 1 Guangxi energy saving 1999 0 I 2 Zhiwei Li Chi Feng System Design and Implementation of Infrared Temperature Measurement System J Journal of applied science and technology 2010 5 3 Liming He Intelligent Microcomputer Application Essays Beijing Beijing university of aeronautics and astronautics press 1993 4 Dinghua Zhu Ruping Dai Single Chip 5 Realistic Technology Single chip microcomputer communication technology and engineering practice Beijing people s posts and telecommunications press
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年高考政治二轮复习经济生活主体7个人训练含解析
- 2024-2025学年高中数学单元素养评价第四章复数含解析北师大版选修2-2
- 2025届高考地理一轮复习第三章地球上的大气第4讲全球气候变化与气候类型训练含解析新人教版
- 2024-2025学年高中物理第五章交变电流3电感和电容对交变电流的影响学案新人教版选修3-2
- 玉溪师范学院《行政法学》2022-2023学年期末试卷
- 2024专卖店装修合同示例
- 盐城师范学院《营养与食品卫生学》2021-2022学年第一学期期末试卷
- 盐城师范学院《武术高级》2021-2022学年第一学期期末试卷
- 盐城师范学院《统计分析与应用》2021-2022学年第一学期期末试卷
- 盐城师范学院《算法实现训练》2022-2023学年期末试卷
- 降低患者外出检查漏检率-品管圈课件
- 五年级上册生命安全教育全册教案
- DB11T 1794-2020 医疗机构临床用血技术规范
- 2024年中国烟花鞭炮市场调查研究报告
- 第二单元 成长的时空(知识清单)-【上好课】2024-2025学年六年级道德与法治全一册同步课堂(统编版五四制2024)
- -流体力学-流体力学基本方程名师公开课获奖课件百校联赛一等奖课件
- 一线员工技能评定管理办法
- 湖北华师大一附中2024-2025学年度10月月考高三英语试题
- 单元主题-生物体的结构层次教学设计
- 三年级数学(上)计算题专项练习附答案集锦
- 2024公安机关人民警察高级执法资格考试题(解析版)
评论
0/150
提交评论