计算机应用 ›› 2014, Vol. 34 ›› Issue (1): 292-296.DOI: 10.11772/j.issn.1001-9081.2014.01.0292

• 行业与领域应用 • 上一篇    下一篇

基于Matlab GUI串口通信的实时温度监控系统设计

薛飞1,杨友良1,孟凡伟1,董福涛2   

  1. 1. 河北联合大学 电气工程学院,河北 唐山 063000;
    2. 轧制技术及连轧自动化国家重点实验室(东北大学),沈阳 110819
  • 收稿日期:2013-07-16 修回日期:2013-09-10 出版日期:2014-01-01 发布日期:2014-02-14
  • 通讯作者: 薛飞
  • 作者简介:薛飞(1985-),女,河北唐山人,硕士,主要研究方向:检测技术、自动化装置;杨友良(1961-),男,河北秦皇岛人,教授,主要研究方向:工业系统的建模与控制;孟凡伟(1976-),男,河北唐山人,讲师,博士,主要研究方向:高温金属材料温度检测;董福涛(1985-),男, 河北唐山人,博士研究生,主要研究方向:冷轧低碳钢的组织性能。
  • 基金资助:

    国家自然科学基金资助项目;河北省自然科学基金资助项目;河北联合大学科学研究基金资助项目

Real-time temperature monitoring system design based on Matlab GUI serial communication

XUE Fei1,YANG Youliang1,MENG Fanwei1,DONG Futao2   

  1. 1. College of Electrical Engineering, Hebei United University, Tangshan Hebei 063000, China;
    2. State Key Laboratory of Rolling and Automation (Northeastern University), Shenyang Liaoning 110819, China
  • Received:2013-07-16 Revised:2013-09-10 Online:2014-01-01 Published:2014-02-14
  • Contact: XUE Fei

摘要: 为提高温度监控系统中数据处理速度和软件开发效率,设计了基于Matlab图形用户界面(GUI)的温度实时监控系统。系统利用Matlab串口工具箱,以Modbus协议为通信协议,通过计算机控制岛电SRS13A型温控器,实现了在金属加热过程中对其表面温度值的实时监控。系统软件界面简洁,操作方便,内存占用小,通过参数配置可实现多种工作方式。实验测试结果表明,系统运行稳定,以1s的采样间隔和0.1℃的测量精度,快速准确地绘制了系统在不同参数配置下的温度响应曲线。

关键词: Matlab图形用户界面, Modbus协议, 串口通信, 温度测量, 实时监控

Abstract: In order to improve the speed of data processing and the efficiency of software development, a temperature real-time monitoring system was devised based on Matlab Graphical User Interface (GUI). Serial port tool box in Matlab and Modbus communication protocol were used to link up SHIMADEN SRS13A thermostat to PC, and the real-time monitoring of the metal surface temperature in heating process was implemented. The interface of the system software was simple and the software had convenient operation with smaller memory footprint. Variety operating modes could be achieved by setting different parameters. The test results show that, the system runs rapidly and stably, and the temperature response curves with different parameter configuration settings were plotted promptly and accurately. The system's sampling interval was 1s and the temperature measurement accuracy was 0.1℃.

Key words: Matlab Graphical User Interface (GUI), Modbus protocol, serial communication, temperature measurement, real-time monitoring

中图分类号: