多層次模擬電路隨機(jī)變異生成方法研究
中國測試唐小峰1,2, 許愛強(qiáng)1, 李文海1
摘 要:針對目前復(fù)雜電路測試、診斷過程中故障樣本獲取困難的問題,提出一種隨機(jī)變異生成策略。首先定義適用于隨機(jī)方法的8種限定變異算子,可覆蓋實(shí)際電路中的大多數(shù)真實(shí)故障;然后應(yīng)用層次分析法(AHP),分別考慮電路組成元素間的相對故障概率和故障類型,計算出不同變異位置以及對應(yīng)變異算子的被選權(quán)重;考慮連續(xù)型故障參數(shù)的分布,通過隨機(jī)采樣確定具體的參數(shù)值,使故障模型更為真實(shí);最后,以一個串聯(lián)調(diào)整型穩(wěn)壓電路為實(shí)例,為其生成500個隨機(jī)變異體。實(shí)驗(yàn)結(jié)果表明:該方法能夠快速有效地為多層次模擬電路生成大規(guī)模、高質(zhì)量的故障樣本。
關(guān)鍵詞:自動故障注入;隨機(jī)變異生成;變異算子;層次分析法
文獻(xiàn)標(biāo)志碼: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