煤炭工程 ›› 2023, Vol. 55 ›› Issue (5): 141-146.doi: 10.11799/ce202305024

• 研究探讨 • 上一篇    下一篇

电液控制系统应用软件的自动化测试系统研究

吴桐,魏文艳,杜新远,王春喜   

  1. 北京天玛智控科技股份有限公司
  • 收稿日期:2023-02-17 修回日期:2023-04-09 出版日期:2023-05-19 发布日期:2023-05-19
  • 通讯作者: 吴桐 E-mail:18911059606@163.com

Research on Automatic Test System for Application software of electro-hydraulic control System

  • Received:2023-02-17 Revised:2023-04-09 Online:2023-05-19 Published:2023-05-19

摘要: 为了提高SAC型电液控制系统控制器应用软件运行的稳定性和可靠性,提出在软件开发单元测试中存在的问题:软件测试方法单一,测试环境简易,软件开发测试覆盖率低,不能有效的复现现场出现的问题。针对上述问题,基于SAC型电液控制系统,围绕提升软件质量展开研究。建立自动化测试平台,阐述该测试平台的硬件设计、软件设计,通过数据采集装置采集控制器状态,利用IMX6自动化测试装置进行软件功能自动化测试,实现应用软件的阀口输出、传感器信号模拟、数据实时采集及显示测试。提出基于功能驱动、数据驱动、边界信息、现场问题四种有效的自动化测试方法,能够实现应用软件的基础功能、高级功能、安全功能测试,并结合测试用例及现场反馈问题,复现问题,查找原因,从而保障软件的鲁棒性,为进一步实现应用软件自动化测试提供理论基础。

关键词: 电液控制系统, 自动化测试, 测试平台, 测试方法, 鲁棒性

Abstract: In order to improve the stability and reliability of SAC electro-hydraulic control system controller application software, the problems existing in software development unit testing are put forward, such as single software testing method, simple testing environment, low coverage rate of software development test, and can not effectively reproduce the field problems. To solve these problems, the SAC type electro-hydraulic control system is used to improve the software quality. Establish an automated test platform, describe the hardware design and software design of the test platform, collect the controller status through the data acquisition device, use the IMX6 automatic test device to carry out automatic software function test, realize the application software valve output, sensor signal simulation, real-time data acquisition and display test. Four effective automated testing methods based on function driven, data driven, boundary information and field problems are proposed, which can realize the basic function, advanced function and safety function testing of the application software, and combine the test cases and field feedback problems, reproduce the problems and find out the reasons, so as to ensure the robustness of the software and provide a theoretical basis for further realizing the automatic testing of the application software.

中图分类号: