节点文献
多联机软件监测平台的设计与实现
Design and Implementation of the Software Monitoring Platform for the Multi-connected Air-conditioning Units
【作者】 马运潮;
【作者基本信息】 山东大学 , 电子与通信工程, 2011, 硕士
【摘要】 当代社会的变化日新月异,人们生产生活的质量与水平也不断提高。不论是生活中人们的降温或取暖,还是生产中特殊材料、药品等的冷冻保鲜都离不开制冷行业。作为制冷行业的主力军,空调业的变化突飞猛进。近年来,多联式空调已逐渐占据空调业的市场主导地位。传统的房间分体空调由一台室外机连接一台室内机,而多联式空调机组(简称多联机)由一台或多台室外机连接多台室内机,组合灵活,控制方便,设计、安装、运行及维护管理更为简单、方便、节能[1]。由于多联机的控制变量多,控制精细,控制内容复杂,连接的室内室外机数量多,所以对于多联机的软件质量要求就更高。同时如果使用实际空调室内外机进行软件验证,不但需要多台室内外空调机,还要花大量人力物力和时间进行冷媒管道连接、冷媒充注等工作。为了确保软件的质量过硬,做出用户满意的产品,在业界树立良好的口碑,空调企业必须快速高效地对软件进行验证。针对目前多联机空调软件验证的需求,本论文研究和设计了一种全新的变频多联空调软件监测平台,来实现对多联机新机型软件快速高效地验证。在平台搭建及软件验证过程中,主要进行了以下分析和研究:首先,本文创造性地设计并制作了多联机模拟平台来模拟实际多联机。该模拟平台使用变阻器模拟各输入量,用LED灯模拟各输出量,用简易开关模拟各保护装置的动作。这样,不但节约物料、人力成本,节省时间、空间,而且不需充注冷媒、保护环境。其次,待测试多联机的室内外空调之间使用了系统独有的J-Link通讯协议。本论文的最终目的是使用计算机作为测试终端来监测空调的运行状态及各参数,而串行通信是广泛应用于计算机与外部设备之间的一种通信方式,所以本文选用了比较常用的串行通信方式RS232-C。为了在计算机端用串口直接接收RS232-C的数据,就要将多联机的J-Link数据转换为计算机可以直接接收的RS232-C格式的数据。本文创造性地设计了一个数据转换模块,专门进行J-Link数据与RS232-C数据的转换。另外,为了在计算机上实时显示上述数据,本文设计了本平台独有的测试参数监测软件。计算机通过串口接收到数据转换模块的数据后,使用该软件能够对数据进行解析并实时显示各个参数,能对任一时刻的参数进行查询、保存等操作。最后,随着多联机新机型的不断推出,对多联机软件的验证也越来越受到重视。本测试平台首次使用模拟平台模拟十几台多联机,通过数据转换模块将J-Link数据转换为RS-232数据,用计算机串口接收数据并实时监测多联机运行状态及各重要参数。某多联机的软件已经使用本监测平台进行了验证,希望本论文也能为其他多联机新机型的软件验证提供参考。
【Abstract】 Society and science has made rapid progress with each passing day, and people’s living standard and production capacity has had a perceptible improvement.Those are all inseparable from the refrigeration industry,whether cooling or heating in living,or making frozen or fresh-keeping of special materials or pharmaceuticals in manufacture.As the main force of the refrigeration industry,the air-conditioning industry has had a rapid improvement.In recent years,multi-connected air-conditioning units has been gradually dominated the Chinese market.The traditional room split air conditioner is made up of one outdoor unit and one indoor unit,otherwise,the multi-connected air-conditioning units can connect one or more outdoor units to many indoor units.It can be combined flexibly and be controlled easily.It’s designing,installation,operation and maintenance management are more simple,convenient,and energy-saving.There are many variables to be controlled for the multi-connected air-conditioning units,and the controlling opertion should be performed fine,the multi-connected air-conditioning units connect a large number of outdoor and indoor units,have many complex controlling contents, so the quality requirements to the software is even higher for the the multi-connected air-conditioning units.Meanwhile, if we use the actual air-conditioning indoor and outdoor units for software testing, we will not only need many indoor and outdoor air-conditioners, but also have to spend a lot of manpower and time to connect refrigerant pipes and charge the refrigerant.In order to ensure software quality,make satisfied products for the customer, and establish a good reputation in the industry, the air-conditioner enterprise must finish the software test quickly and efficiently.In order to meet the demands of software testing, this thesis research and design a new software monitoring platform for the the multi-connected air-conditioning units, and use this platform to test the software of a newly developed multi-connected air-conditioning units. The following issues were encountered and solved in the process of the test platform establishing and the software testing.At first, this thesis design a multi-connected air-conditioning units testing platform which simulate the actual unites to do software testing.And the testing platform use anolog input with rheostat, and anolog output with LED lights, simple switches to simulate the action of the protection devices, which can not only saves materials and labor costs, save time and space, but also can protect the environment without charging refrigerant.Secondly, J-LINK is the communication protocol between the indoor and outdoor units of the multi-connected air-conditioning units to be tested. The ultimate aim is to use the computer as a test terminal to monitor the air-conditioner’s running status and parameters.And the serial communication is widely used between the computer and external devices. So, we chose the computer’s existing serial ports to receive the data, which is a relatively simple solution. In this article, the commonly-used serial communication RS232-C is adopted. In order to use the computer’s serial port to receive RS232-C format data directly, the multi-connected air-conditioning units’ J-LINK protocol data should be converted to RS232-C format which can be directly received by the computer. This thesis design a data convert module to perform the convertion between the J-LINK and RS232-C format data.In addition, a data monitoring software should be developed in order to show the parameters realtime on the computer. After received the converted data from the data convert module through computer’s serial port, the software can real-time display all parameters, can do query and save parameters any time, and do some other operations.Finally, with continuous launching of new multi-connected air-conditioning units, more attentions are paid to the software verification. It’s the first time to use this testing platform to simulate the actual multi-connected air-conditioning units for software testing, to receive data through the serial port, to real time monitor the multi-connected air-conditioning units’running status and important parameters. A multi-connected air-conditioning units’software had been verified by using this testing platform. Maybe other software testing of new developed multi-connected air-conditioning units can get reference from this subject.
【Key words】 Multi-connected air-conditioning units; Software testing; Simulate;