TESTING A SOFTWARE-BASED PID CONTROLLER USING METAMORPHIC TESTING

被引:0
作者
Chen, T. Y. [1 ]
Kuo, F. -C [1 ]
Tam, W. K. [1 ]
Merkel, R. [2 ]
机构
[1] Swinburne Univ Technol, Ctr Software Anal & Testing, Melbourne, Vic, Australia
[2] Monash Univ, Fac Informat Technol, Melbourne, Vic, Australia
来源
PECCS 2011: PROCEEDINGS OF THE 1ST INTERNATIONAL CONFERENCE ON PERVASIVE AND EMBEDDED COMPUTING AND COMMUNICATION SYSTEMS | 2011年
关键词
Software testing; Metamorphic testing; PID controller; Control engineering; Embedded system; Embedded software;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The Proportional-Integral-Derivative (PID) controller is ubiquitous in industrial and military systems. Almost all PID controllers are now implemented as software in a microcontroller. Control systems are required to have very high reliability, particularly as they are regularly used in safety-critical systems. An effective testing technique is essential to achieve reliable PID controller software. Unlike simple control algorithms, PID controllers are capable of manipulating the process inputs based on the history and rate of change of the signal. It is very difficult to know whether the computation of the software is correct from the computed outputs. Previous research in other areas has shown that metamorphic testing is an effective technique for this kind of problem. In this paper, we examine metamorphic testing in the context of testing an embedded software PID controller based on the free sample code from ATMEL Corporation. We show that metamorphic testing killed all mutants inserted into the controller software, demonstrating the utility of the technique in testing control systems.
引用
收藏
页码:387 / 396
页数:10
相关论文
共 9 条
  • [1] [Anonymous], 2006, AVR221 ATM CORP
  • [2] [Anonymous], 1998, HKUSTCS9801
  • [3] [Anonymous], 1928, Transactions of the American Institute of Electrical Engineers, DOI DOI 10.1109/T-AIEE.1928.5055024
  • [4] [Anonymous], P 8 INT S FUT SOFTW
  • [5] Integration testing of context-sensitive middleware-based applications: A metamorphic approach
    Chan, W. K.
    Chen, T. Y.
    Lu, Heng
    Tse, T. H.
    Yau, Stephen S.
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2006, 16 (05) : 677 - 703
  • [6] Chen T. Y., 2002, Software Engineering Notes, V27, P191, DOI 10.1145/566171.566202
  • [7] Daran M., 1996, Proceedings of the 1996 International Symposium on Software Testing and Analysis (ISSTA), P158, DOI 10.1145/226295.226313
  • [8] Kuo B. C., 1982, AUTOMATIC CONTROL SY, P471
  • [9] Nise N.S., 2008, Control Systems Engineering, V5th