文档介绍:摘要
本文介绍了一种基于AT89S52单片机控制的智能型金属探测器重点研究了它的硬件组成、软件设计、工作原理及主要功能。该金属探测器以AT89S52单片机为核心,采用线性霍尔元件UGN3503作为传感器,来感应金属涡流效应引起的通电线圈磁场的变化,并将磁场变化转化为电压的变化,单片机测得电压值,并与设定的电压基准值相比较后,决定是否探测到金属。系统软件采用汇编语言编写。在软件设计中,采用了数字滤波技术消除干扰,提高了探测器的抗干扰能力,确保了系统的准确性。
关键词:单片机金属探测器线性霍尔元件电磁感应.
ABSTRACT
This paper describes position 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 field change of the centre of a search coil resulted from eddy current effect and turn this ic field change into voltage change. The SCM measures the peak value of voltage pares 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 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.
KEYWORDS: SCM (Single Chip Micyoco) metal detector .
目录
第一章绪论 1
1
1
2
第二章系统的总体设计 3
3
3
4
4
第三章硬件电路设计 6
6
6
8
. 13
21
21
第四章系统软件设计 22
22
22
22
23
. 25
致谢 26
参考文献 27
第一章绪论
金属探测器作为一种最重要的安全检查设备,己被广泛地应用于社会生活和工业生产的诸多领域。比如在机场、大型运动会(如奥运会)、展览会等都用金属探测器来对过往人员进行安全检测,以排查行李、包裹及人体夹带的刀具、枪支、弹药等伤害性违禁金属物品;工业部门(包括手表、眼镜、金银首饰、电子等生产含有金属产品的工厂)也使用金属探测器对出入人员进行检测,以防止贵重金属材料的丢失;目前,就连考试也开始启用金属探测器来防止考生利用手机等工具进行作弊。
由此可见,金属探测器对工业生产及人身安全起着重要的作用。而为了能够准确判定金属物品藏匿的位置,就需要金属探测器具有较高的灵敏度。目前。国外虽然已有较为完善的系列产品,但价格及其昂贵;国内传统的金属探测器则是利用模拟电路进行检测和控制的,其电路复杂,探测灵敏度低,且整个系统易受外界干扰。
金属探测器因其功能和市场应用领域的不同,分为以下几种:通道式金属探测器(又称:金属探测门;简称:安检门)、手持式金属探测器、便携式金属探测器、台式金属探测器、工业用金属探测器和