APP下载

游标磁尺的设计与实现

2010-05-13张俊杰,林游,曹大平

现代电子技术 2009年12期

张俊杰,林 游,曹大平

摘 要:位置测量在现代传感与控制领域有着越来越重要的作用。在此采用永磁体阵列和开关型霍尔元件定位位置信息,创新性地提出位置匹配算法思想,利用该思想并借助于PIC单片机,将其位置信息处理为实际测量位置值,并送PC机上显示。测试结果表明,磁尺读数与参考直尺测量值误差小。游标磁尺采用非接触测量,运用位置匹配序列得到测量结果,因此它具有可靠性高、寿命长、响应速度快、抗恶劣环境等优点,这对在现代传感与控制领域的位置测量有着很重要的参考价值。

关键词:永磁体阵列;霍尔元件;PIC单片机;Visual Basic;MSComm控件

中图分类号:TP212.13文献标识码:B

文章编号:1004-373X(2009)12-165-04

Realization and Design ofVernier Magnetism Ruler

ZHANG Junjie,LIN You,CAO Daping

(School of Physics Science and Technology,Wuhan University,Wuhan,430072,China)

Abstract:The position survey has more and more vital role in the modern sensing domain and control domain.Using the permanent magnet array and switch Hall device to locate the positional information and innovatively proposing position matching algorithm,under the support of PIC microcontroller,it is used to deliver its positional information processing for the actual survey position value on PC machine to demonstrate.The test result indicates that magnetism ruler reading and the reference straightedge observed value tolerance is small.The vernier magnetism ruler uses the non-contact survey and obtains the measurement result using the position match sequence.Therefore,it has many merits characterized by high reliability,long service life,quick response speed and its anti-adverse circumstance ability,which has important reference value for the position survey in modern sensing domain and control domain.

Keywords:permanent magnet steel array;Hall device;PIC single chip computer;Visual Basic;MSComm control elemect

0 引 言

目前,广泛用于位置测量的传感器主要有旋转编码器、光栅光电编码器、磁栅尺、磁致伸缩位置传感器、静磁栅绝对编码器等。以物体的直线运动带动旋转编码器的马盘做旋转运动,并转换为连续的有方向的脉冲信号,以表示物体的位置,这种形式的编码器称为增量型旋转编码器。还有一种绝对位置旋转编码器能将物体的位置直接用数字表达,即使掉电编码也不丢失。其量程和精度由旋转机构的速度比和加工精度决定。旋转编码器的最大缺点是需要一套将直线运动转换成旋转运动的结构,安装成本颇高,机械传动带来间隙误差相当程度地削减了旋转编码器固有的分辨度,同时,长期使用还容易造成码盘破损之类的机械损伤[1]。另外,还需要接触测量。……

登录APP查看全文