摘要
为解决弹载嵌入式软件中数学模型测试存在输入不可控、通用性低等问题,文中基于弹载嵌入式软件中数学模型的独立性提出了一种新的测试方法。首先,提取数学模型代码,开发驱动程序和桩程序来实现数据的输入;其次,依据数学模型相关文档,利用Matlab进行模型搭建;最后,将提取出的数学模型代码的输出与Matlab搭建的模型输出进行对比,得到测试结果。在实际测试中,测试结果准确,表明该方法具有有效性和通用性。
In order to solve several problems in mathematical model test of missile-bome embedded software, such as uncontrollable input and poor versatility, a new test method is proposed to solve the problems above in this paper. This method is based on the mathematical model * s independence of missile-borae embedded software, Firstly, extract the mathematical model code, and develop drive program and pile program to achieve the data input. Secondly, on the basis of the mathematical model related documents, Matlab is used to build model. Finally, by comparing the output of the extracted mathematical model with the model output of Matlab code, test results are got. In actual test, the results are accurate, which demonstrate that the method is efective and versatile.
出处
《弹箭与制导学报》
CSCD
北大核心
2016年第3期25-27,39,共4页
Journal of Projectiles,Rockets,Missiles and Guidance
关键词
弹载嵌入式软件
数学模型
软件测试
missile-bome embedded software
mathematical model
software testing