以小型燃气热水炉炉温控制系统为研究对象,采用VB进行人机界面设计,Matlab完成系统PID控制算法的计算。以VB与Matlab接口混合编程技术为基础,在VB中调用Matlab的Active X部件实现VB与Matlab之间的链接,并将计算结果返回至VB,由VB完成系统关键曲线的显示。利用Matlab的强大数值计算的能力,又结合VB的可视化友好界面,实现了小型燃气热水炉炉温控制的PID仿真分析,也可进一步实现相关软件的开发和设计。
In this dissertation, the furnace temperature control system of a minitype gas-fired hot water boiler as the study object is mainly focused on. VB is used to build man-machine interface (MMI) of the given system. And the PID control algorithm is carried out by Matlab. Combining pro- gramming technology of VB and Matlab, the link of VB and Matlab can be realized by the callback function of ActiveX components of Matlab. And you can have execution results or drowned curve. In this way, integration of the friendly human-machine interfaces of VB and the strong analysis ability of Matlab can be achieved. And the PID simulation and analysis of the furnace temperature control system of a boiler thus can be done. And highly effective application and development of this method help to further develop related softwares.