摘要
结合电磁检测、传感器技术、信号处理和单片机技术,研究开发了一种基于STM32的磁检测系统.该系统主要包括上位机控制软件、下位机微控制器、磁传感器模块和机械运动平台等,其中上下位机间进行串口通信,完成运动参数和控制指令的设置及扫描位置信息和检测磁场信息的存储和实时显示;通过对扫描运动算法的研究,结合步进电机控制原理,实现了多参数可调节、点阵式、空间大区域的扫描运动;三维霍尔磁传感器实现对空间任意位置磁场矢量的检测,同时反映磁场的大小和方向信息.该系统的检测实验结果表明:磁场检测数据完整,能够展现磁场的空间矢量分布和平面云图分布;三维扫描式检测运行平稳、参数设置灵活多变;整个检测系统性能稳定可靠、效率高,能够实现对目标区域磁场的有效、快速检测.
Combined with technologies of electromagnetic detecting,sensor,signal processing and micro-controller,a magnetic detection system was designed based on MCU STM32,including PC controlsoftware,micro-controller,magnetic sensors and a 3D mechanical movement platform.By using a RS232 communication interface,the system can receive the commands from users by the PC control-software,and transmit the magnetic field/coordinates signals back.A scanning detection algorithm was researched to realize multi-parameters adjustable,efficient and dot-by-dot scanning movement based on the principle of stepper-motor controlling.A 3Dhall magnetometer can detect the size as well as the direction of the magnetic field.It has been demonstrated by the experimental results that the system runs stably,reliably and efficiently,while the detection results can correctly reflect the magnetic information.
出处
《测试技术学报》
2016年第4期313-321,共9页
Journal of Test and Measurement Technology
关键词
STM32
电磁检测
扫描算法
磁矢量分布
磁场云图
STM32
electro-magnetic detection
scanning algorithm
magnetic-vector distribution
magnetic cloud