文档介绍:钢球表面缺陷检测的DSP控制系统
摘要
轴承作为机械设备的关节,在现代工业中扮演着重要角色。它的精度、运动性能以及使用寿命很大程度上取决于其中钢球的质量。目前,国内钢球生产厂家大多采用人工目视检查的方法对钢球的表面缺陷进行检验。这种方法劳动强度大,工作效率低,且易受检查人员技术素质、经验、肉眼分辨能力和疲劳等因素影响,所以迫切需要一种钢球表面缺陷自动检测装置。
本文主要提出了一种基于DSP的钢球表面缺陷检测控制系统的具体实现方案,并对系统的多方面问题进行了具体的研究和探讨。本文首先简单的讨论了关于钢球检测的工作原理,接着对DSP芯片,步进电机以及直流电机的结构和原理进行了说明,并开发了基于L297/L298芯片的混合式步进电机驱动模块,然后设计出了钢球检测平台的控制系统,画出其电路图,主要包括电源电路、复位电路、与上位接口电路、电机驱动电路、液晶显示电路、按键电路等,并对电路图作了简要的说明,最后编制了C语言控制程序,该程序很好的完成了控制整个系统的任务。
关键词 DSP;表面缺陷检测;步进电机;L297/L298
Control System of Steel Ball Surface Blemish Detection Instrument Based on DSP
Abstract
Bearing is the key part of mechanical equipments and it playes a very important part in modern industry. Its accuracy, sport function and life longth is decided principally by the quantity of steel ball in bearing. At present, domestic factories for steel balls mostly detect surface blemish of steel ball with manual visual method. This kind of method has heavy labor intensity as well as low work efficiency, and it is usually affected by detect worker’s technical diathesis, experience, eye’s resolving ability, tiredness and so forth, so automation detect device for steel balls is urgently required.
This thesis mainly put forward a kind of practical solution about the control system of steel ball surface blemish detection instrument based on DSP, and studied the relative problems of multi aspects in practice. Firstly, this thesis discussed simply the operation principle concerning the steel ball detection, and accounts for fundamentaly about DSP, the structure and operation principle of the stepper motor and direct current motor. We also designed the drive circuit of the hybrid stepper motor used the chips of L297/L298, and then designed the control system of steel ball surface blemish detection instrument. Secondly, we drew its electric circuit diagram, which included mainly the power supply electric circuit, the reset electric circuit, the interface electric circuit with PC, the motor drive electric circuit, the LCD