电涡流式金属板材测厚仪的设计院系自动化学院专业测控技术与仪器班级4407101学号200403071022姓名钱晓伟指导教师刘利秋负责教师刘利秋沈阳航空工业学院2008年6月沈阳航空工业学院毕业设计(论文)-I-摘要本论文阐述的是电涡流式金属板材测厚仪的设计。本课题利用电涡流传感器、单片机系统设计出一种金属板材测厚仪,它能实现不同金属板材的厚度测量、厚度合格检验及其超标报警,通过键盘进行待测金属板材种类输入、厚度合格检验时的设定厚度和误差等级设置,并用LED显示,给出合格检验时超标与否的指示灯提示及蜂鸣超标报警提示。本系统由两部分组成:硬件系统和软件系统。硬件系统利用电涡流传感器及其测量电路测量不同材质和厚度的金属板,得到不同电压,经放大后进行模数转换输入单片机。单片机通过软件编程对被测数据进行相关处理,结果送往LED显示器进行显示,并外接蜂鸣器和指示灯实现超标报警。软件系统用汇编语言进行编程,采用模块化设计思想。该系统通过联调后,实现了预期各种功能,符合设计要求。关键词:电涡流传感器;金属板材测厚仪;合格检验;单片机;LED显示沈阳航空工业学院毕业设计(论文)-II-AbstractThispaperintroducesthedesignofmetallicmaterialthicknessbasedoneddycurrentsensor.Thetaskuseseddycurrentsensor,SingleChipMicyocosystemtodesignmetallicmaterialthicknessmeter.Thesystemcanrealizethefunctionsofthicknessmeasurement,passexaminationanditsoverrunalarm.Theinputofthequalityofmetallicplankingtobemeasuredthepresetingofobjectthicknessanderrorgradewhenpassexaminatingallcanbedonethroughkeyboard.TherelativeinformationisdisplayedonLEDreadtine.Whenpassexaminating,buzzerandlightpromptingofoverrunornotaregiven.Thesystemdesigncontainstwoparts:hardwaredesignandsoftwaredesign.Thehardwaresystemuseseddycurrentsensoranditsmeasuringcircuittomeasuredifferentkindofmetallicplankingstogetdifferentvoltagevalue.Afteramplified,thevoltageistramcformedtodigitalsignalandthenissenttoSCM.Throughsoftwereprogramming,themeasureddataisprocessedandtheresultisdisplayedonLEDinSCMsystem.Theoverrunalarmisrealizedbybuzzerandlightindicator.Assemblelanguageisusedinthesoftwaresystemandmodularizationdesignideaisadopted.Thissystemrealizesalldesiredfunctionsandcoincideswithdemandaftersystemdebugging.Keywords:eddycurrentsensor;plankingthicknessmeter;passexamination;SingleChipMicyoco;LEDdisplay沈阳航空工业学院毕业设计(论文)-III-目录第1章绪论.........................................................................................................................11.1课题产生的背景........................................................................................................11.2本课题的主要任务及内容........................................................................................21.3本课题的任务分析与实现........................................................................................31.4本论文的主要内容安排............................................................................................3第2章电涡流式金属板材测厚仪的基本原理.................................................................52.1概述..............................................................................................................................52.2电涡流传感器测厚原理.............................................................................................52.2.1电涡流传感器测量原理....................................................................................52.2.2电涡流传感器测厚原理..................................................................................10第3章金属板材测厚仪的硬件系统设计.......................................................................123.1金属板材测厚仪的硬件设计方案..........................................................................123.2传感器及其测量电路的设计..................................................................................133.3放大电路的设计......................................................................................................133.4单片机系统电路的设计..........................................................................................143.4.1单片机的选择..................................................................................................143.4.2单片机外围电路的设计..................................................................................173.4.3键盘电路的设计..............................................................................................213.4.4数据采集电路的设计......................................................................................223.4.5显示电路的设计..............................................................................................233.4.6报警电路的设计..............................................................................................25第4章电涡流式金属板材测厚仪的软件系统设计......................................................274.1测厚仪的软件设计方案..........................................................................................274.2键处理子程序的设计..............................................................................................294.3数据采集子程序的设计..........................................................................................304.4数据处理子程序的设计..........................................................................................314.5检验标准设定子程序的设计..................................................................................35沈阳航空工业学院毕业设计(论文)-IV-4.6显示子程序的设计..................................................................................................374.6报警子程序的设计..................................................................................................37第5章系统调试与分析...................................................................................................405.1硬件调试..................................................................................................................405.2软件调试..........