声 明本人郑重声明:所呈交的毕业设计(论文)是本人在指导老师指导下进行的讨论工作及取得的讨论成果。其中除加以标注和致谢的地方,以及法律规定允许的之外,不包含其他人已经发表或撰写完成并以某种方式公开过的讨论成果,也不包含为获得其他教育机构的学位或证书而作的材料。其他同志对本讨论所做的任何贡献均已在文中作了明确的说明并表示谢意。本毕业设计(论文)成果是本人在江西师范大学读书期间在指导老师指导下取得的,成果归江西师范大学所有。特此声明。声明人(毕业设计(论文)作者)学号:声明人(毕业设计(论文)作者)签名:签 名 日 期 : 年 月 日 摘 要本文介绍了一种基于 AT89S52 单片机控制的智能型金属探测器的硬件组成、软件设计、工作原理及主要功能。该金属探测器以 AT89S52 单片机为核心,采纳线性霍尔元件 UGN 3503U 作为传感器来感应金属涡流效应引起的通电线圈周围磁场的变化,并将磁场变化转化为电压的变化,单片机将测得的电压值与试验测定的基准电压值相比较,以确定是否探测到金属。该系统软件采纳 C 语言来写,在软件设计中,采纳了算术平均值滤波消除干扰,提高了探测器的抗干扰能力,确保了系统的准确性。关键词:单片机,金属探测器,线性霍尔元件,电磁感应,涡流Abstract This paper describes the composition of hardware and software , working principles and the functions of an intelligent 下载后可任意编辑metal detector which mainly consists of AT89S52 Single Chip Micyoco and linear Hall-Effect Sensor. The equipment adopts UGN3503U linear hall-effect sensor as probe to detect the magnetic field change of the centre of a search coil resulted from eddy current effect and turn this magnetic field change into voltage change. The SCM measures the peak value of voltage and compares it with reference voltage. Then determine whether detect metal or not. In case of detection of a metallic mass, the Metal Detector provides an acoustical and optical alarm. The systems software adopts the C language to be written. Inside the software, the Arithmetic mean filter technology is utilized...