多层次模拟电路随机变异生成方法研究
中国测试唐小峰1,2, 许爱强1, 李文海1
摘 要:针对目前复杂电路测试、诊断过程中故障样本获取困难的问题,提出一种随机变异生成策略。首先定义适用于随机方法的8种限定变异算子,可覆盖实际电路中的大多数真实故障;然后应用层次分析法(AHP),分别考虑电路组成元素间的相对故障概率和故障类型,计算出不同变异位置以及对应变异算子的被选权重;考虑连续型故障参数的分布,通过随机采样确定具体的参数值,使故障模型更为真实;最后,以一个串联调整型稳压电路为实例,为其生成500个随机变异体。实验结果表明:该方法能够快速有效地为多层次模拟电路生成大规模、高质量的故障样本。
关键词:自动故障注入;随机变异生成;变异算子;层次分析法
文献标志码:A 文章编号:1674-5124(2016)01-0012-04
A stochastic mutant generation method for multi-level analog circuits
TANG Xiaofeng1,2, XU Aiqiang1, LI Wenhai1
(1. Department of Scientific Research,Naval Aeronautical and Astronautical University,Yantai 264001,China;
2. Unit 92514 of the PLA,Yantai 264007,China)
Abstract: A stochastic mutant generation method has been proposed to acquire automatically multiple fault samples from complex circuits for testing and diagnostic purposes. First, eight restricted mutation operators are defined to cover the majority of actual circuit faults. Analytical hierarchy process (AHP) is used to analyze the relative fault probabilities and fault types of circuit elements and evaluate the weights of different mutation locations and operators selected. Then, the probability distributions of continuous fault parameters are considered and the fault model is made more realistic by random sampling of fault parameter values. In the end, 500 stochastic mutants are generated for a regulator circuit. The experimental results show that the proposed method can rapidly generate massive high-quality fault samples for multi-level analog circuits fast and well.
Keywords: automatic fault injection; stochastic mutant generation; mutation operator; AHP