本科生毕业设计智能金属探测仪的设计与实现Design and implementation of intelligentmetal detector学 生 姓 名专 业学 号指 导 教 师学 院摘 要本文着重介绍了一种基于 AT89S52 单片机控制的智能金属探测仪的硬件组成、软件设计、工作原理与主要功能。该金属探测仪以 AT89S52 单片机为核心,采纳线性霍尔元件 UGN3503 作为传感器,来感应金属涡流效应引起的通电线圈磁场的变化,并将磁场变化转化为电压的变化,单片机测得电压值,并与设定的电压基准值相比较后,决定是否探测到金属。系统软件采纳汇编语言编写。在软件设计中,采纳了数字滤波技术消除干扰,提高了探测器的抗干扰能力,确保了系统的准确性。此外,文中还对影响金属探测仪的灵敏度与稳定性的因素进行了探讨,认为仪器的工作频率、检测线圈的尺寸与匝数等是影响灵敏度的主要因素;而应用现场的环境温度、湿度与线圈的制作工艺和供电电源的稳定程度是仪器稳定性的影响因素。关键词:单片机金属探测仪 线性霍尔元件电磁感应灵敏度AbstractThis paper describes the compositions 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 drops the assembler language to be written. Inside the software, the digital filter technology is utilized to eliminate the jamming. So the stability of system and the measuring veracity are improved. The effect of all factors on sensitivity and stability of Metal Detector are discussed in t...