摘 要:为准确测控轧件温度,开发了基于VB的在线红外测温系统。利用VB的微机串口通信功能,实现计算机和红外测温仪的通讯连接,通过Windows下的数据采集和工业控制应用软件,实现了数据的显示、判断、报警、保存和数据库的自动更新功能。测温系统投用后www.MMSonline.com.cn,运行稳定,轧件温度的测量误差小于10℃。
关键词:轧件;红外测温系统;在线测温;红外测温仪;通讯
Infrared Temperature Measurement System Online Based on VB6.0
DENG Yang-yu, HUANG Fu-min, DIAO Hong-min
(Jinan Iron and Steel Group Corporation, Jinan 250101, China)
Abstract:In order to measure and control the temperature of the rolled piece, the infrared temperature measurement system is developed. The communication connection between the computer and the infrared radiation thermometers is established by VB software and the display, judgment, alarm and save of collected data and automatic update of the database are realized by data collection and industrial control's software on Windows. Application shows that the system runs stably and the measuring error of rolled piece's temperature is less than 10℃.
Keywords:rolled piece;infrared temperature measurement system;measuring temperature online;infrared radiation thermometer;communication
济南钢铁集团总公司第一小型轧钢厂(简称济钢第一小型轧钢厂)是螺纹钢和圆钢的专业生产厂,轧件的加热温度对成品质量和设备稳定运行的影响越来越突出。通常通过对加热炉炉膛温度的检测来间接反映轧件加热后的温度,没有对轧件加热温度的直接测量,造成轧件温度过高或过低,影响成品质量和设备寿命。另外,为了保证切分工艺的稳定,需要在预切分机架之前控制轧件温度,也需要对轧件进行在线测温。因此金属加工网,本研究探讨利用单台计算机对各个测温点进行数据采集和处理,利用Visual Basic(简称VB)可视化编程语言开发系统开发Windows下的数据采集和工业控制应用软件,通过友好界面显示轧件温度。
1 系统构成和实现的功能
系统通过RS485总线连接计算机与两台红外测温仪,系统组成见图1。

图1 系统组成
通讯采用全双工模式,RS485的驱动器可带32个接受器。波特率为100kbps时,通讯距离可达到1.2km;通讯距离为15m,波特率可达到10Mbps。每个红外测温仪被赋予各自的地址码用以识别身份。上位机可以通过RS485通讯线,对红外测温仪进行控制操作,操作模式为点对多点的正常操作模式。此外ZAOCHE168.com版权所有,为了实现出炉轧制支数的统计,利用测温仪的开关量输出,通过西门子S7-224PLC程序计数,与计算机通讯传送轧制支数。